Skip to content

Commit 81ba893

Browse files
pqCommit Queue
authored andcommitted
[element model] fix macro_test expectations
To fix failures: https://ci.chromium.org/ui/p/dart/builders/ci.sandbox/analyzer-mac-release/29081/overview Change-Id: I1444b927f80c52d9730ed4d1fd8982e3727f7a15 Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/389401 Commit-Queue: Samuel Rawlins <[email protected]> Auto-Submit: Phil Quitslund <[email protected]> Reviewed-by: Samuel Rawlins <[email protected]>
1 parent 2bd91e8 commit 81ba893

File tree

1 file changed

+115
-0
lines changed

1 file changed

+115
-0
lines changed

pkg/analyzer/test/src/summary/macro_test.dart

Lines changed: 115 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4390,10 +4390,56 @@ library
43904390
topLevelVariables
43914391
const x
43924392
firstFragment: <testLibrary>::@fragment::package:test/test.macro.dart::@topLevelVariable::x
4393+
metadata
4394+
Annotation
4395+
atSign: @ @77
4396+
name: PrefixedIdentifier
4397+
prefix: SimpleIdentifier
4398+
token: prefix0 @78
4399+
staticElement: <testLibrary>::@fragment::package:test/test.macro.dart::@prefix::prefix0
4400+
element: <testLibrary>::@fragment::package:test/test.macro.dart::@prefix2::prefix0
4401+
staticType: null
4402+
period: . @85
4403+
identifier: SimpleIdentifier
4404+
token: A @86
4405+
staticElement: package:test/a.dart::<fragment>::@class::A
4406+
element: package:test/a.dart::<fragment>::@class::A#element
4407+
staticType: null
4408+
staticElement: package:test/a.dart::<fragment>::@class::A
4409+
element: package:test/a.dart::<fragment>::@class::A#element
4410+
staticType: null
4411+
arguments: ArgumentList
4412+
leftParenthesis: ( @87
4413+
rightParenthesis: ) @88
4414+
element: package:test/a.dart::<fragment>::@class::A::@constructor::new
4415+
element2: package:test/a.dart::<fragment>::@class::A::@constructor::new#element
43934416
type: int
43944417
getter: <testLibrary>::@fragment::package:test/test.macro.dart::@accessor::x#element
43954418
const y
43964419
firstFragment: <testLibrary>::@fragment::package:test/test.macro.dart::@topLevelVariable::y
4420+
metadata
4421+
Annotation
4422+
atSign: @ @77
4423+
name: PrefixedIdentifier
4424+
prefix: SimpleIdentifier
4425+
token: prefix0 @78
4426+
staticElement: <testLibrary>::@fragment::package:test/test.macro.dart::@prefix::prefix0
4427+
element: <testLibrary>::@fragment::package:test/test.macro.dart::@prefix2::prefix0
4428+
staticType: null
4429+
period: . @85
4430+
identifier: SimpleIdentifier
4431+
token: A @86
4432+
staticElement: package:test/a.dart::<fragment>::@class::A
4433+
element: package:test/a.dart::<fragment>::@class::A#element
4434+
staticType: null
4435+
staticElement: package:test/a.dart::<fragment>::@class::A
4436+
element: package:test/a.dart::<fragment>::@class::A#element
4437+
staticType: null
4438+
arguments: ArgumentList
4439+
leftParenthesis: ( @87
4440+
rightParenthesis: ) @88
4441+
element: package:test/a.dart::<fragment>::@class::A::@constructor::new
4442+
element2: package:test/a.dart::<fragment>::@class::A::@constructor::new#element
43974443
type: int
43984444
getter: <testLibrary>::@fragment::package:test/test.macro.dart::@accessor::y#element
43994445
getters
@@ -5191,6 +5237,29 @@ library
51915237
topLevelVariables
51925238
final foo
51935239
firstFragment: <testLibrary>::@fragment::package:test/test.macro.dart::@topLevelVariable::foo
5240+
metadata
5241+
Annotation
5242+
atSign: @ @77
5243+
name: PrefixedIdentifier
5244+
prefix: SimpleIdentifier
5245+
token: prefix0 @78
5246+
staticElement: <testLibrary>::@fragment::package:test/test.macro.dart::@prefix::prefix0
5247+
element: <testLibrary>::@fragment::package:test/test.macro.dart::@prefix2::prefix0
5248+
staticType: null
5249+
period: . @85
5250+
identifier: SimpleIdentifier
5251+
token: A @86
5252+
staticElement: package:test/a.dart::<fragment>::@class::A
5253+
element: package:test/a.dart::<fragment>::@class::A#element
5254+
staticType: null
5255+
staticElement: package:test/a.dart::<fragment>::@class::A
5256+
element: package:test/a.dart::<fragment>::@class::A#element
5257+
staticType: null
5258+
arguments: ArgumentList
5259+
leftParenthesis: ( @87
5260+
rightParenthesis: ) @88
5261+
element: package:test/a.dart::<fragment>::@class::A::@constructor::new
5262+
element2: package:test/a.dart::<fragment>::@class::A::@constructor::new#element
51945263
type: int
51955264
getter: <testLibrary>::@fragment::package:test/test.macro.dart::@accessor::foo#element
51965265
getters
@@ -5236,10 +5305,56 @@ library
52365305
topLevelVariables
52375306
final foo
52385307
firstFragment: <testLibrary>::@fragment::package:test/test.macro.dart::@topLevelVariable::foo
5308+
metadata
5309+
Annotation
5310+
atSign: @ @77
5311+
name: PrefixedIdentifier
5312+
prefix: SimpleIdentifier
5313+
token: prefix0 @78
5314+
staticElement: <testLibrary>::@fragment::package:test/test.macro.dart::@prefix::prefix0
5315+
element: <testLibrary>::@fragment::package:test/test.macro.dart::@prefix2::prefix0
5316+
staticType: null
5317+
period: . @85
5318+
identifier: SimpleIdentifier
5319+
token: A @86
5320+
staticElement: package:test/a.dart::<fragment>::@class::A
5321+
element: package:test/a.dart::<fragment>::@class::A#element
5322+
staticType: null
5323+
staticElement: package:test/a.dart::<fragment>::@class::A
5324+
element: package:test/a.dart::<fragment>::@class::A#element
5325+
staticType: null
5326+
arguments: ArgumentList
5327+
leftParenthesis: ( @87
5328+
rightParenthesis: ) @88
5329+
element: package:test/a.dart::<fragment>::@class::A::@constructor::new
5330+
element2: package:test/a.dart::<fragment>::@class::A::@constructor::new#element
52395331
type: int
52405332
getter: <testLibrary>::@fragment::package:test/test.macro.dart::@accessor::foo#element
52415333
final bar
52425334
firstFragment: <testLibrary>::@fragment::package:test/test.macro.dart::@topLevelVariable::bar
5335+
metadata
5336+
Annotation
5337+
atSign: @ @77
5338+
name: PrefixedIdentifier
5339+
prefix: SimpleIdentifier
5340+
token: prefix0 @78
5341+
staticElement: <testLibrary>::@fragment::package:test/test.macro.dart::@prefix::prefix0
5342+
element: <testLibrary>::@fragment::package:test/test.macro.dart::@prefix2::prefix0
5343+
staticType: null
5344+
period: . @85
5345+
identifier: SimpleIdentifier
5346+
token: A @86
5347+
staticElement: package:test/a.dart::<fragment>::@class::A
5348+
element: package:test/a.dart::<fragment>::@class::A#element
5349+
staticType: null
5350+
staticElement: package:test/a.dart::<fragment>::@class::A
5351+
element: package:test/a.dart::<fragment>::@class::A#element
5352+
staticType: null
5353+
arguments: ArgumentList
5354+
leftParenthesis: ( @87
5355+
rightParenthesis: ) @88
5356+
element: package:test/a.dart::<fragment>::@class::A::@constructor::new
5357+
element2: package:test/a.dart::<fragment>::@class::A::@constructor::new#element
52435358
type: int
52445359
getter: <testLibrary>::@fragment::package:test/test.macro.dart::@accessor::bar#element
52455360
getters

0 commit comments

Comments
 (0)