Skip to content

Commit fd9960f

Browse files
johnniwintherCommit Queue
authored andcommitted
[cfe] Create declarations directly in _PropertyPreBuilder
This is done in preparation for including synthetic declarations in the same SourcePropertyBuilder is the corresponding user defined aspect. Change-Id: I26928301d710682dd2301122df159a3a941c0e6a Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/431502 Reviewed-by: Chloe Stefantsova <[email protected]> Commit-Queue: Johnni Winther <[email protected]>
1 parent 1117dce commit fd9960f

File tree

3 files changed

+171
-110
lines changed

3 files changed

+171
-110
lines changed

pkg/front_end/lib/src/fragment/getter/declaration.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ import 'encoding.dart';
3434
abstract class GetterDeclaration {
3535
Uri get fileUri;
3636

37-
UriOffsetLength? get uriOffset;
37+
UriOffsetLength get uriOffset;
3838

3939
GetterQuality get getterQuality;
4040

pkg/front_end/lib/src/fragment/setter/declaration.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ import 'encoding.dart';
3434
abstract class SetterDeclaration {
3535
Uri get fileUri;
3636

37-
UriOffsetLength? get uriOffset;
37+
UriOffsetLength get uriOffset;
3838

3939
List<MetadataBuilder>? get metadata;
4040

0 commit comments

Comments
 (0)