Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(41)

Unified Diff: pkg/front_end/testcases/micro.dart.direct.expect

Issue 2981783002: Set 'isSyntheticDefault' for default constructors. (Closed)
Patch Set: Created 3 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: pkg/front_end/testcases/micro.dart.direct.expect
diff --git a/pkg/front_end/testcases/micro.dart.direct.expect b/pkg/front_end/testcases/micro.dart.direct.expect
index 585ce1994c7a8d6c99f2120b2f412d703d4ccbba..3b5fe3ed02032ba5675d4d5d98409eadd6e82e5e 100644
--- a/pkg/front_end/testcases/micro.dart.direct.expect
+++ b/pkg/front_end/testcases/micro.dart.direct.expect
@@ -3,7 +3,7 @@ import self as self;
import "dart:core" as core;
class Foo extends core::Object {
- constructor •() → void
+ default constructor •() → void
: super core::Object::•()
;
method instanceMethod() → dynamic {
@@ -11,19 +11,19 @@ class Foo extends core::Object {
}
}
abstract class ExternalValue extends core::Object {
- constructor •() → void
+ default constructor •() → void
: super core::Object::•()
;
}
abstract class Bar extends core::Object {
- constructor •() → void
+ default constructor •() → void
: super core::Object::•()
;
abstract method externalInstanceMethod() → self::ExternalValue;
}
class Box extends core::Object {
field dynamic field = null;
- constructor •() → void
+ default constructor •() → void
: super core::Object::•()
;
}
@@ -39,13 +39,13 @@ class SubFinalBox extends self::FinalBox {
;
}
class DynamicReceiver1 extends core::Object {
- constructor •() → void
+ default constructor •() → void
: super core::Object::•()
;
method dynamicallyCalled(dynamic x) → dynamic {}
}
class DynamicReceiver2 extends core::Object {
- constructor •() → void
+ default constructor •() → void
: super core::Object::•()
;
method dynamicallyCalled(dynamic x) → dynamic {}
@@ -53,8 +53,8 @@ class DynamicReceiver2 extends core::Object {
static method staticMethod() → dynamic {
return "sdfg";
}
-external static method externalStatic() → core::bool;
-external static method createBar() → self::Bar;
+external static abstract method externalStatic() → core::bool;
Johnni Winther 2017/07/14 10:13:51 Why have these changed?
+external static abstract method createBar() → self::Bar;
static method stringArgument(dynamic x) → dynamic {}
static method intArgument(dynamic x) → dynamic {}
static method makeDynamicCall(dynamic receiver) → void {

Powered by Google App Engine
This is Rietveld 408576698