Skip to content

Commit a3953f1

Browse files
johnniwintherCommit Queue
authored andcommitted
[cfe] Include Procedure.isSynthetic in ast-to-text
In preparation for fixing #60490 TEST=existing Change-Id: Iad3448a30de91e62f0d60bbaa9c425bc4706c799 Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/421100 Reviewed-by: Chloe Stefantsova <[email protected]> Reviewed-by: Alexander Markov <[email protected]> Commit-Queue: Johnni Winther <[email protected]>
1 parent b817b1b commit a3953f1

File tree

1,988 files changed

+10386
-10385
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

1,988 files changed

+10386
-10385
lines changed

pkg/front_end/testcases/class_modifiers/issue52316/main.dart.strong.expect

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -73,11 +73,11 @@ abstract class _LegacyWithFinal&Object&LegacyImplementFinalCore = core::Object w
7373
const synthetic constructor •() → self::_LegacyWithFinal&Object&LegacyImplementFinalCore
7474
: super core::Object::•()
7575
;
76-
mixin-super-stub get key() → core::int
76+
synthetic mixin-super-stub get key() → core::int
7777
return super.{mai::LegacyImplementFinalCore::key};
78-
mixin-super-stub get value() → core::int
78+
synthetic mixin-super-stub get value() → core::int
7979
return super.{mai::LegacyImplementFinalCore::value};
80-
mixin-super-stub method toString() → core::String
80+
synthetic mixin-super-stub method toString() → core::String
8181
return super.{mai::LegacyImplementFinalCore::toString}();
8282
}
8383

pkg/front_end/testcases/class_modifiers/issue52316/main.dart.strong.modular.expect

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -73,11 +73,11 @@ abstract class _LegacyWithFinal&Object&LegacyImplementFinalCore = core::Object w
7373
const synthetic constructor •() → self::_LegacyWithFinal&Object&LegacyImplementFinalCore
7474
: super core::Object::•()
7575
;
76-
mixin-super-stub get key() → core::int
76+
synthetic mixin-super-stub get key() → core::int
7777
return super.{mai::LegacyImplementFinalCore::key};
78-
mixin-super-stub get value() → core::int
78+
synthetic mixin-super-stub get value() → core::int
7979
return super.{mai::LegacyImplementFinalCore::value};
80-
mixin-super-stub method toString() → core::String
80+
synthetic mixin-super-stub method toString() → core::String
8181
return super.{mai::LegacyImplementFinalCore::toString}();
8282
}
8383

pkg/front_end/testcases/class_modifiers/issue52316/main.dart.strong.outline.expect

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -69,11 +69,11 @@ abstract class _LegacyWithFinal&Object&LegacyImplementFinalCore = core::Object w
6969
const synthetic constructor •() → self::_LegacyWithFinal&Object&LegacyImplementFinalCore
7070
: super core::Object::•()
7171
;
72-
mixin-super-stub get key() → core::int
72+
synthetic mixin-super-stub get key() → core::int
7373
return super.{mai::LegacyImplementFinalCore::key};
74-
mixin-super-stub get value() → core::int
74+
synthetic mixin-super-stub get value() → core::int
7575
return super.{mai::LegacyImplementFinalCore::value};
76-
mixin-super-stub method toString() → core::String
76+
synthetic mixin-super-stub method toString() → core::String
7777
return super.{mai::LegacyImplementFinalCore::toString}();
7878
}
7979

pkg/front_end/testcases/class_modifiers/mixin/mixin_class_core_libraries.dart.strong.expect

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -36,16 +36,16 @@ abstract class _A&Object&Comparable = core::Object with core::Comparable<core::i
3636
const synthetic constructor •() → self::_A&Object&Comparable
3737
: super core::Object::•()
3838
;
39-
abstract mixin-stub method compareTo(covariant-by-class core::int other) → core::int; -> core::Comparable::compareTo
39+
abstract synthetic mixin-stub method compareTo(covariant-by-class core::int other) → core::int; -> core::Comparable::compareTo
4040
}
4141
abstract class _B&Object&Error = core::Object with core::Error /*isAnonymousMixin*/ {
4242
synthetic constructor •() → self::_B&Object&Error
4343
: super core::Object::•()
4444
;
45-
mixin-super-stub get stackTrace() → core::StackTrace?
45+
synthetic mixin-super-stub get stackTrace() → core::StackTrace?
4646
return super.{core::Error::stackTrace};
47-
mixin-super-stub get _stackTrace() → core::StackTrace?
47+
synthetic mixin-super-stub get _stackTrace() → core::StackTrace?
4848
return super.{core::Error::_stackTrace};
49-
mixin-super-stub set _stackTrace(core::StackTrace? value) → void
49+
synthetic mixin-super-stub set _stackTrace(core::StackTrace? value) → void
5050
return super.{core::Error::_stackTrace} = value;
5151
}

pkg/front_end/testcases/class_modifiers/mixin/mixin_class_core_libraries.dart.strong.modular.expect

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -36,16 +36,16 @@ abstract class _A&Object&Comparable = core::Object with core::Comparable<core::i
3636
const synthetic constructor •() → self::_A&Object&Comparable
3737
: super core::Object::•()
3838
;
39-
abstract mixin-stub method compareTo(covariant-by-class core::int other) → core::int; -> core::Comparable::compareTo
39+
abstract synthetic mixin-stub method compareTo(covariant-by-class core::int other) → core::int; -> core::Comparable::compareTo
4040
}
4141
abstract class _B&Object&Error = core::Object with core::Error /*isAnonymousMixin*/ {
4242
synthetic constructor •() → self::_B&Object&Error
4343
: super core::Object::•()
4444
;
45-
mixin-super-stub get stackTrace() → core::StackTrace?
45+
synthetic mixin-super-stub get stackTrace() → core::StackTrace?
4646
return super.{core::Error::stackTrace};
47-
mixin-super-stub get _stackTrace() → core::StackTrace?
47+
synthetic mixin-super-stub get _stackTrace() → core::StackTrace?
4848
return super.{core::Error::_stackTrace};
49-
mixin-super-stub set _stackTrace(core::StackTrace? value) → void
49+
synthetic mixin-super-stub set _stackTrace(core::StackTrace? value) → void
5050
return super.{core::Error::_stackTrace} = value;
5151
}

pkg/front_end/testcases/class_modifiers/mixin/mixin_class_core_libraries.dart.strong.outline.expect

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -34,16 +34,16 @@ abstract class _A&Object&Comparable = core::Object with core::Comparable<core::i
3434
const synthetic constructor •() → self::_A&Object&Comparable
3535
: super core::Object::•()
3636
;
37-
abstract mixin-stub method compareTo(covariant-by-class core::int other) → core::int; -> core::Comparable::compareTo
37+
abstract synthetic mixin-stub method compareTo(covariant-by-class core::int other) → core::int; -> core::Comparable::compareTo
3838
}
3939
abstract class _B&Object&Error = core::Object with core::Error /*isAnonymousMixin*/ {
4040
synthetic constructor •() → self::_B&Object&Error
4141
: super core::Object::•()
4242
;
43-
mixin-super-stub get stackTrace() → core::StackTrace?
43+
synthetic mixin-super-stub get stackTrace() → core::StackTrace?
4444
return super.{core::Error::stackTrace};
45-
mixin-super-stub get _stackTrace() → core::StackTrace?
45+
synthetic mixin-super-stub get _stackTrace() → core::StackTrace?
4646
return super.{core::Error::_stackTrace};
47-
mixin-super-stub set _stackTrace(core::StackTrace? value) → void
47+
synthetic mixin-super-stub set _stackTrace(core::StackTrace? value) → void
4848
return super.{core::Error::_stackTrace} = value;
4949
}

pkg/front_end/testcases/class_modifiers/mixin/mixin_class_core_libraries_legacy.dart.strong.expect

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -28,16 +28,16 @@ abstract class _A&Object&Comparable = core::Object with core::Comparable<core::i
2828
const synthetic constructor •() → self::_A&Object&Comparable
2929
: super core::Object::•()
3030
;
31-
abstract mixin-stub method compareTo(covariant-by-class core::int other) → core::int; -> core::Comparable::compareTo
31+
abstract synthetic mixin-stub method compareTo(covariant-by-class core::int other) → core::int; -> core::Comparable::compareTo
3232
}
3333
abstract class _B&Object&Error = core::Object with core::Error /*isAnonymousMixin*/ {
3434
synthetic constructor •() → self::_B&Object&Error
3535
: super core::Object::•()
3636
;
37-
mixin-super-stub get _stackTrace() → core::StackTrace?
37+
synthetic mixin-super-stub get _stackTrace() → core::StackTrace?
3838
return super.{core::Error::_stackTrace};
39-
mixin-super-stub set _stackTrace(core::StackTrace? value) → void
39+
synthetic mixin-super-stub set _stackTrace(core::StackTrace? value) → void
4040
return super.{core::Error::_stackTrace} = value;
41-
mixin-super-stub get stackTrace() → core::StackTrace?
41+
synthetic mixin-super-stub get stackTrace() → core::StackTrace?
4242
return super.{core::Error::stackTrace};
4343
}

pkg/front_end/testcases/class_modifiers/mixin/mixin_class_core_libraries_legacy.dart.strong.modular.expect

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -28,16 +28,16 @@ abstract class _A&Object&Comparable = core::Object with core::Comparable<core::i
2828
const synthetic constructor •() → self::_A&Object&Comparable
2929
: super core::Object::•()
3030
;
31-
abstract mixin-stub method compareTo(covariant-by-class core::int other) → core::int; -> core::Comparable::compareTo
31+
abstract synthetic mixin-stub method compareTo(covariant-by-class core::int other) → core::int; -> core::Comparable::compareTo
3232
}
3333
abstract class _B&Object&Error = core::Object with core::Error /*isAnonymousMixin*/ {
3434
synthetic constructor •() → self::_B&Object&Error
3535
: super core::Object::•()
3636
;
37-
mixin-super-stub get _stackTrace() → core::StackTrace?
37+
synthetic mixin-super-stub get _stackTrace() → core::StackTrace?
3838
return super.{core::Error::_stackTrace};
39-
mixin-super-stub set _stackTrace(core::StackTrace? value) → void
39+
synthetic mixin-super-stub set _stackTrace(core::StackTrace? value) → void
4040
return super.{core::Error::_stackTrace} = value;
41-
mixin-super-stub get stackTrace() → core::StackTrace?
41+
synthetic mixin-super-stub get stackTrace() → core::StackTrace?
4242
return super.{core::Error::stackTrace};
4343
}

pkg/front_end/testcases/class_modifiers/mixin/mixin_class_core_libraries_legacy.dart.strong.outline.expect

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -26,16 +26,16 @@ abstract class _A&Object&Comparable = core::Object with core::Comparable<core::i
2626
const synthetic constructor •() → self::_A&Object&Comparable
2727
: super core::Object::•()
2828
;
29-
abstract mixin-stub method compareTo(covariant-by-class core::int other) → core::int; -> core::Comparable::compareTo
29+
abstract synthetic mixin-stub method compareTo(covariant-by-class core::int other) → core::int; -> core::Comparable::compareTo
3030
}
3131
abstract class _B&Object&Error = core::Object with core::Error /*isAnonymousMixin*/ {
3232
synthetic constructor •() → self::_B&Object&Error
3333
: super core::Object::•()
3434
;
35-
mixin-super-stub get _stackTrace() → core::StackTrace?
35+
synthetic mixin-super-stub get _stackTrace() → core::StackTrace?
3636
return super.{core::Error::_stackTrace};
37-
mixin-super-stub set _stackTrace(core::StackTrace? value) → void
37+
synthetic mixin-super-stub set _stackTrace(core::StackTrace? value) → void
3838
return super.{core::Error::_stackTrace} = value;
39-
mixin-super-stub get stackTrace() → core::StackTrace?
39+
synthetic mixin-super-stub get stackTrace() → core::StackTrace?
4040
return super.{core::Error::stackTrace};
4141
}

pkg/front_end/testcases/constructor_tearoffs/explicit_instantiation.dart.strong.expect

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -47,9 +47,9 @@ abstract class _D&C&M = self::C with self::M /*isAnonymousMixin*/ {
4747
synthetic constructor •() → self::_D&C&M
4848
: super self::C::•()
4949
;
50-
mixin-super-stub method minst<T extends core::Object? = dynamic>(self::_D&C&M::minst::T% value) → self::_D&C&M::minst::T%
50+
synthetic mixin-super-stub method minst<T extends core::Object? = dynamic>(self::_D&C&M::minst::T% value) → self::_D&C&M::minst::T%
5151
return super.{self::M::minst}<self::_D&C&M::minst::T%>(value);
52-
mixin-super-stub method mmethod() → void
52+
synthetic mixin-super-stub method mmethod() → void
5353
return super.{self::M::mmethod}();
5454
}
5555
extension Ext on self::C {

0 commit comments

Comments
 (0)