Commit 938d9c0
[cfe] Create synthesized super classes late
This moves the creation of class builders for anonymous mixin application to after the creation of the normal class builders.
A ClassDeclaration interface is added to support class builders from different fragments. This is also a step towards creating class builders fully through fragments.
TEST=existing
Change-Id: Ia6b4a17648bdc89b89fd3cfdfe39d24d347b6341
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/407420
Reviewed-by: Chloe Stefantsova <[email protected]>
Commit-Queue: Johnni Winther <[email protected]>
Reviewed-by: Alexander Markov <[email protected]>1 parent 98e29db commit 938d9c0
File tree
744 files changed
+12920
-12715
lines changed- pkg
- front_end
- lib/src
- base
- fragment
- kernel
- source
- testcases
- class_modifiers
- base
- outside_library_mixedin_legacy
- outside_library
- final
- outside_library_no_base_final_sealed
- outside_library
- interface/outside_library
- issue52316
- mixin
- no_modifier_outside_library_legacy
- no_modifier_outside_library
- outside_library_legacy
- outside_library_modifier
- outside_library
- constructor_tearoffs
- dart2js
- mixin_default_values
- mixin_super
- dart2wasm/inference_update_2
- dartdevc
- inference_update_2
- issue56681
- mixin_super
- enhanced_enums
- general
- crashes
- crash_01
- crash_02
- crash_03
- crash_04
- crash_05
- crash_06
- dynamic_modules
- error_recovery
- hierarchy
- issue41210b
- issue46581
- mixin_from_patch
- mixin_super
- patch_extends_implements
- with_dependencies
- issue43538
- mixin_from_dill
- incremental
- inference_update_2
- inference
- nnbd
- no_such_method_forwarders
- none
- mixin_application_declares
- nonfunction_type_aliases
- patterns
- exhaustiveness
- rasta
- records
- regress
- sealed_class
- extends_implements_with
- mixin_on
- super_parameters
- test
- vm/testcases/transformations
- mixin_deduplication
- to_string_transformer
- type_flow/transformer
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
744 files changed
+12920
-12715
lines changedLines changed: 0 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | | - | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1078 | 1078 | | |
1079 | 1079 | | |
1080 | 1080 | | |
1081 | | - | |
1082 | 1081 | | |
1083 | 1082 | | |
1084 | 1083 | | |
| |||
Lines changed: 2 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
96 | 96 | | |
97 | 97 | | |
98 | 98 | | |
99 | | - | |
| 99 | + | |
| 100 | + | |
100 | 101 | | |
101 | 102 | | |
102 | 103 | | |
| |||
Lines changed: 0 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
43 | 43 | | |
44 | 44 | | |
45 | 45 | | |
46 | | - | |
47 | 46 | | |
48 | 47 | | |
49 | 48 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
173 | 173 | | |
174 | 174 | | |
175 | 175 | | |
| 176 | + | |
176 | 177 | | |
177 | 178 | | |
178 | 179 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
391 | 391 | | |
392 | 392 | | |
393 | 393 | | |
| 394 | + | |
394 | 395 | | |
395 | 396 | | |
396 | 397 | | |
| |||
421 | 422 | | |
422 | 423 | | |
423 | 424 | | |
| 425 | + | |
| 426 | + | |
| 427 | + | |
| 428 | + | |
| 429 | + | |
424 | 430 | | |
425 | 431 | | |
426 | 432 | | |
| |||
1381 | 1387 | | |
1382 | 1388 | | |
1383 | 1389 | | |
1384 | | - | |
| 1390 | + | |
1385 | 1391 | | |
1386 | 1392 | | |
1387 | 1393 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
15 | 15 | | |
16 | 16 | | |
17 | 17 | | |
18 | | - | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
19 | 22 | | |
20 | 23 | | |
21 | 24 | | |
| |||
79 | 82 | | |
80 | 83 | | |
81 | 84 | | |
82 | | - | |
| 85 | + | |
83 | 86 | | |
84 | 87 | | |
85 | 88 | | |
| |||
107 | 110 | | |
108 | 111 | | |
109 | 112 | | |
110 | | - | |
| 113 | + | |
| 114 | + | |
111 | 115 | | |
112 | 116 | | |
113 | 117 | | |
114 | 118 | | |
115 | 119 | | |
116 | | - | |
| 120 | + | |
117 | 121 | | |
118 | 122 | | |
119 | 123 | | |
| |||
171 | 175 | | |
172 | 176 | | |
173 | 177 | | |
174 | | - | |
| 178 | + | |
175 | 179 | | |
176 | 180 | | |
177 | 181 | | |
| |||
224 | 228 | | |
225 | 229 | | |
226 | 230 | | |
227 | | - | |
| 231 | + | |
228 | 232 | | |
229 | 233 | | |
230 | 234 | | |
| |||
283 | 287 | | |
284 | 288 | | |
285 | 289 | | |
286 | | - | |
| 290 | + | |
287 | 291 | | |
288 | 292 | | |
289 | 293 | | |
| |||
0 commit comments