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

Side by Side Diff: pkg/front_end/testcases/inference/null_aware_property_get.dart.strong.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 test; 1 library test;
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 C extends core::Object { 5 class C extends core::Object {
6 field core::int x = null; 6 field core::int x = null;
7 constructor •() → void 7 default constructor •() → void
8 : super core::Object::•() 8 : super core::Object::•()
9 ; 9 ;
10 } 10 }
11 static method f(self::C c) → void { 11 static method f(self::C c) → void {
12 core::int x = let final self::C #t1 = c in #t1.==(null) ?{core::int} null : #t 1.{self::C::x}; 12 core::int x = let final self::C #t1 = c in #t1.==(null) ?{core::int} null : #t 1.{self::C::x};
13 let final self::C #t2 = c in #t2.==(null) ?{core::int} null : #t2.{self::C::x} ; 13 let final self::C #t2 = c in #t2.==(null) ?{core::int} null : #t2.{self::C::x} ;
14 } 14 }
15 static method main() → dynamic {} 15 static method main() → dynamic {}
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698