Skip to content

Commit f4be98a

Browse files
scheglovCommit Queue
authored andcommitted
Elements. Remove withPropertyLinking and withAugmentedWithoutAugmentation flags.
We don't use them anymore. Change-Id: I4795474c9a862b7a60a1445eb87a95fd7c4b5355 Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/442341 Reviewed-by: Samuel Rawlins <[email protected]> Commit-Queue: Konstantin Shcheglov <[email protected]>
1 parent 6082256 commit f4be98a

File tree

9 files changed

+43
-213
lines changed

9 files changed

+43
-213
lines changed

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

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,6 @@ class ElementTextConfiguration {
5050
ElementPrinterConfiguration();
5151
bool Function(Object) filter;
5252
bool withAllSupertypes = false;
53-
bool withAugmentedWithoutAugmentation = false;
5453
bool withCodeRanges = false;
5554
bool withConstantInitializers = true;
5655
bool withConstructors = true;
@@ -62,7 +61,6 @@ class ElementTextConfiguration {
6261
bool withLibraryFragments = true;
6362
bool withMetadata = true;
6463
bool withNonSynthetic = false;
65-
bool withPropertyLinking = false;
6664
bool withRedirectedConstructors = false;
6765
bool withReferences = true;
6866
bool withReturnType = true;

pkg/analyzer/test/src/summary/elements/class_test.dart

Lines changed: 2 additions & 42 deletions
Original file line numberDiff line numberDiff line change
@@ -7269,9 +7269,6 @@ class C {
72697269
int get foo => 0;
72707270
}
72717271
''');
7272-
configuration
7273-
..withAugmentedWithoutAugmentation = true
7274-
..withPropertyLinking = true;
72757272
checkElementText(library, r'''
72767273
library
72777274
reference: <testLibrary>
@@ -7351,9 +7348,6 @@ class C {
73517348
set foo(int _) {}
73527349
}
73537350
''');
7354-
configuration
7355-
..withAugmentedWithoutAugmentation = true
7356-
..withPropertyLinking = true;
73577351
checkElementText(library, r'''
73587352
library
73597353
reference: <testLibrary>
@@ -7731,7 +7725,6 @@ class A {
77317725
set foo(int newValue) {}
77327726
}
77337727
''');
7734-
configuration.withPropertyLinking = true;
77357728
checkElementText(library, r'''
77367729
library
77377730
reference: <testLibrary>
@@ -23332,7 +23325,6 @@ class A {
2333223325
}
2333323326
''');
2333423327

23335-
configuration.withPropertyLinking = true;
2333623328
checkElementText(library, r'''
2333723329
library
2333823330
reference: <testLibrary>
@@ -23438,7 +23430,6 @@ class A {
2343823430
}
2343923431
''');
2344023432

23441-
configuration.withPropertyLinking = true;
2344223433
checkElementText(library, r'''
2344323434
library
2344423435
reference: <testLibrary>
@@ -23607,7 +23598,6 @@ class A {
2360723598
}
2360823599
''');
2360923600

23610-
configuration.withPropertyLinking = true;
2361123601
checkElementText(library, r'''
2361223602
library
2361323603
reference: <testLibrary>
@@ -23814,7 +23804,6 @@ class A {
2381423804
}
2381523805
''');
2381623806

23817-
configuration.withPropertyLinking = true;
2381823807
checkElementText(library, r'''
2381923808
library
2382023809
reference: <testLibrary>
@@ -24021,7 +24010,6 @@ class A {
2402124010
}
2402224011
''');
2402324012

24024-
configuration.withPropertyLinking = true;
2402524013
checkElementText(library, r'''
2402624014
library
2402724015
reference: <testLibrary>
@@ -24385,7 +24373,6 @@ class A {
2438524373
}
2438624374
''');
2438724375

24388-
configuration.withPropertyLinking = true;
2438924376
checkElementText(library, r'''
2439024377
library
2439124378
reference: <testLibrary>
@@ -24720,7 +24707,6 @@ class A {
2472024707
}
2472124708
''');
2472224709

24723-
configuration.withPropertyLinking = true;
2472424710
checkElementText(library, r'''
2472524711
library
2472624712
reference: <testLibrary>
@@ -24854,7 +24840,6 @@ class A {
2485424840
}
2485524841
''');
2485624842

24857-
configuration.withPropertyLinking = true;
2485824843
checkElementText(library, r'''
2485924844
library
2486024845
reference: <testLibrary>
@@ -24973,7 +24958,6 @@ class A {
2497324958
}
2497424959
''');
2497524960

24976-
configuration.withPropertyLinking = true;
2497724961
checkElementText(library, r'''
2497824962
library
2497924963
reference: <testLibrary>
@@ -25116,7 +25100,6 @@ class A {
2511625100
}
2511725101
''');
2511825102

25119-
configuration.withPropertyLinking = true;
2512025103
checkElementText(library, r'''
2512125104
library
2512225105
reference: <testLibrary>
@@ -25319,7 +25302,6 @@ class A<T1> {
2531925302
}
2532025303
''');
2532125304

25322-
configuration.withPropertyLinking = true;
2532325305
checkElementText(library, r'''
2532425306
library
2532525307
reference: <testLibrary>
@@ -25802,7 +25784,6 @@ class A {
2580225784
}
2580325785
''');
2580425786

25805-
configuration.withPropertyLinking = true;
2580625787
checkElementText(library, r'''
2580725788
library
2580825789
reference: <testLibrary>
@@ -25907,7 +25888,6 @@ class A {
2590725888
}
2590825889
''');
2590925890

25910-
configuration.withPropertyLinking = true;
2591125891
checkElementText(library, r'''
2591225892
library
2591325893
reference: <testLibrary>
@@ -26023,7 +26003,6 @@ class A {
2602326003
}
2602426004
''');
2602526005

26026-
configuration.withPropertyLinking = true;
2602726006
checkElementText(library, r'''
2602826007
library
2602926008
reference: <testLibrary>
@@ -26167,7 +26146,6 @@ class A {
2616726146
}
2616826147
''');
2616926148

26170-
configuration.withPropertyLinking = true;
2617126149
checkElementText(library, r'''
2617226150
library
2617326151
reference: <testLibrary>
@@ -26317,7 +26295,6 @@ class A<T1> {
2631726295
}
2631826296
''');
2631926297

26320-
configuration.withPropertyLinking = true;
2632126298
checkElementText(library, r'''
2632226299
library
2632326300
reference: <testLibrary>
@@ -26485,7 +26462,6 @@ class A {
2648526462
}
2648626463
''');
2648726464

26488-
configuration.withPropertyLinking = true;
2648926465
checkElementText(library, r'''
2649026466
library
2649126467
reference: <testLibrary>
@@ -26654,7 +26630,6 @@ class A {
2665426630
}
2665526631
''');
2665626632

26657-
configuration.withPropertyLinking = true;
2665826633
checkElementText(library, r'''
2665926634
library
2666026635
reference: <testLibrary>
@@ -26854,7 +26829,6 @@ class A {
2685426829
}
2685526830
''');
2685626831

26857-
configuration.withPropertyLinking = true;
2685826832
checkElementText(library, r'''
2685926833
library
2686026834
reference: <testLibrary>
@@ -27016,7 +26990,6 @@ class A {
2701626990
}
2701726991
''');
2701826992

27019-
configuration.withPropertyLinking = true;
2702026993
checkElementText(library, r'''
2702126994
library
2702226995
reference: <testLibrary>
@@ -27171,7 +27144,6 @@ class A {
2717127144
}
2717227145
''');
2717327146

27174-
configuration.withPropertyLinking = true;
2717527147
checkElementText(library, r'''
2717627148
library
2717727149
reference: <testLibrary>
@@ -27341,9 +27313,7 @@ part 'a.dart';
2734127313
class A {}
2734227314
''');
2734327315

27344-
configuration
27345-
..withConstructors = false
27346-
..withPropertyLinking = true;
27316+
configuration.withConstructors = false;
2734727317
checkElementText(library, r'''
2734827318
library
2734927319
reference: <testLibrary>
@@ -29929,7 +29899,6 @@ class A {
2992929899
}
2993029900
''');
2993129901

29932-
configuration.withPropertyLinking = true;
2993329902
checkElementText(library, r'''
2993429903
library
2993529904
reference: <testLibrary>
@@ -30043,7 +30012,6 @@ class A {
3004330012
}
3004430013
''');
3004530014

30046-
configuration.withPropertyLinking = true;
3004730015
checkElementText(library, r'''
3004830016
library
3004930017
reference: <testLibrary>
@@ -30187,7 +30155,6 @@ class A {
3018730155
}
3018830156
''');
3018930157

30190-
configuration.withPropertyLinking = true;
3019130158
checkElementText(library, r'''
3019230159
library
3019330160
reference: <testLibrary>
@@ -30312,7 +30279,6 @@ class A {
3031230279
}
3031330280
''');
3031430281

30315-
configuration.withPropertyLinking = true;
3031630282
checkElementText(library, r'''
3031730283
library
3031830284
reference: <testLibrary>
@@ -30480,7 +30446,6 @@ class A {
3048030446
}
3048130447
''');
3048230448

30483-
configuration.withPropertyLinking = true;
3048430449
checkElementText(library, r'''
3048530450
library
3048630451
reference: <testLibrary>
@@ -30645,9 +30610,7 @@ part 'a.dart';
3064530610
class A {}
3064630611
''');
3064730612

30648-
configuration
30649-
..withConstructors = false
30650-
..withPropertyLinking = true;
30613+
configuration.withConstructors = false;
3065130614
checkElementText(library, r'''
3065230615
library
3065330616
reference: <testLibrary>
@@ -30743,7 +30706,6 @@ class A {
3074330706
}
3074430707
''');
3074530708

30746-
configuration.withPropertyLinking = true;
3074730709
checkElementText(library, r'''
3074830710
library
3074930711
reference: <testLibrary>
@@ -32624,7 +32586,6 @@ class A implements I {}
3262432586
class I {}
3262532587
''');
3262632588

32627-
configuration.withAugmentedWithoutAugmentation = true;
3262832589
checkElementText(library, r'''
3262932590
library
3263032591
reference: <testLibrary>
@@ -32705,7 +32666,6 @@ class A implements M {}
3270532666
mixin M {}
3270632667
''');
3270732668

32708-
configuration.withAugmentedWithoutAugmentation = true;
3270932669
checkElementText(library, r'''
3271032670
library
3271132671
reference: <testLibrary>

pkg/analyzer/test/src/summary/elements/duplicate_declaration_test.dart

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -274,7 +274,6 @@ class A {
274274
double foo;
275275
}
276276
''');
277-
configuration.withPropertyLinking = true;
278277
checkElementText(library, r'''
279278
library
280279
reference: <testLibrary>
@@ -1225,7 +1224,6 @@ var x;
12251224
final x = 1;
12261225
var x = 2.3;
12271226
''');
1228-
configuration.withPropertyLinking = true;
12291227
checkElementText(library, r'''
12301228
library
12311229
reference: <testLibrary>
@@ -1344,7 +1342,6 @@ library
13441342
int get foo {}
13451343
double get foo {}
13461344
''');
1347-
configuration.withPropertyLinking = true;
13481345
checkElementText(library, r'''
13491346
library
13501347
reference: <testLibrary>
@@ -1391,7 +1388,6 @@ library
13911388
set foo(int _) {}
13921389
set foo(double _) {}
13931390
''');
1394-
configuration.withPropertyLinking = true;
13951391
checkElementText(library, r'''
13961392
library
13971393
reference: <testLibrary>

0 commit comments

Comments
 (0)