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

Side by Side Diff: pkg/front_end/testcases/rasta/static.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 unified diff | Download patch
OLDNEW
1 library; 1 library;
2 import self as self; 2 import self as self;
3 import "dart:core" as core; 3 import "dart:core" as core;
4 4
5 class Foo extends core::Object { 5 class Foo extends core::Object {
6 static const field dynamic staticConstant = 42; 6 static const field dynamic staticConstant = 42;
7 static field dynamic staticField = 42; 7 static field dynamic staticField = 42;
8 constructor •() → void 8 default constructor •() → void
9 : super core::Object::•() 9 : super core::Object::•()
10 ; 10 ;
11 static method staticFunction() → dynamic {} 11 static method staticFunction() → dynamic {}
12 static get staticGetter() → dynamic 12 static get staticGetter() → dynamic
13 return null; 13 return null;
14 static set staticSetter(dynamic _) → dynamic {} 14 static set staticSetter(dynamic _) → dynamic {}
15 } 15 }
16 static method use(dynamic x) → dynamic { 16 static method use(dynamic x) → dynamic {
17 if(x.==(new core::DateTime::now().millisecondsSinceEpoch)) 17 if(x.==(new core::DateTime::now().millisecondsSinceEpoch))
18 throw "Shouldn't happen"; 18 throw "Shouldn't happen";
(...skipping 57 matching lines...) Expand 10 before | Expand all | Expand 10 after
76 self::Foo::staticFunction.==(null) ? throw new core::NoSuchMethodError::_wit hType(null, #staticFunction, 34, <dynamic>[87].toList(growable: false), <dynamic , dynamic>{}, null) : null; 76 self::Foo::staticFunction.==(null) ? throw new core::NoSuchMethodError::_wit hType(null, #staticFunction, 34, <dynamic>[87].toList(growable: false), <dynamic , dynamic>{}, null) : null;
77 self::use(let final dynamic #t13 = self::Foo::staticFunction in #t13.==(null ) ? throw new core::NoSuchMethodError::_withType(null, #staticFunction, 34, <dyn amic>[87].toList(growable: false), <dynamic, dynamic>{}, null) : #t13); 77 self::use(let final dynamic #t13 = self::Foo::staticFunction in #t13.==(null ) ? throw new core::NoSuchMethodError::_withType(null, #staticFunction, 34, <dyn amic>[87].toList(growable: false), <dynamic, dynamic>{}, null) : #t13);
78 self::Foo::staticGetter.==(null) ? throw new core::NoSuchMethodError::_withT ype(null, #staticGetter, 34, <dynamic>[87].toList(growable: false), <dynamic, dy namic>{}, null) : null; 78 self::Foo::staticGetter.==(null) ? throw new core::NoSuchMethodError::_withT ype(null, #staticGetter, 34, <dynamic>[87].toList(growable: false), <dynamic, dy namic>{}, null) : null;
79 self::use(let final dynamic #t14 = self::Foo::staticGetter in #t14.==(null) ? throw new core::NoSuchMethodError::_withType(null, #staticGetter, 34, <dynamic >[87].toList(growable: false), <dynamic, dynamic>{}, null) : #t14); 79 self::use(let final dynamic #t14 = self::Foo::staticGetter in #t14.==(null) ? throw new core::NoSuchMethodError::_withType(null, #staticGetter, 34, <dynamic >[87].toList(growable: false), <dynamic, dynamic>{}, null) : #t14);
80 (throw new core::NoSuchMethodError::_withType(null, #staticSetter, 33, <dyna mic>[].toList(growable: false), <dynamic, dynamic>{}, null)).==(null) ? self::Fo o::staticSetter = 87 : null; 80 (throw new core::NoSuchMethodError::_withType(null, #staticSetter, 33, <dyna mic>[].toList(growable: false), <dynamic, dynamic>{}, null)).==(null) ? self::Fo o::staticSetter = 87 : null;
81 self::use(let final dynamic #t15 = throw new core::NoSuchMethodError::_withT ype(null, #staticSetter, 33, <dynamic>[].toList(growable: false), <dynamic, dyna mic>{}, null) in #t15.==(null) ? self::Foo::staticSetter = 87 : #t15); 81 self::use(let final dynamic #t15 = throw new core::NoSuchMethodError::_withT ype(null, #staticSetter, 33, <dynamic>[].toList(growable: false), <dynamic, dyna mic>{}, null) in #t15.==(null) ? self::Foo::staticSetter = 87 : #t15);
82 } 82 }
83 on core::NoSuchMethodError catch(no-exception-var) { 83 on core::NoSuchMethodError catch(no-exception-var) {
84 } 84 }
85 } 85 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698