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

Side by Side Diff: pkg/front_end/testcases/inference/null_aware_property_get.dart.strong.expect

Issue 2944933002: Implement type inference for null-aware property gets. (Closed)
Patch Set: Created 3 years, 6 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
« no previous file with comments | « pkg/front_end/testcases/inference/null_aware_property_get.dart.outline.expect ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
1 library test;
2 import self as self;
3 import "dart:core" as core;
4
5 class C extends core::Object {
6 field core::int x = null;
7 constructor •() → void
8 : super core::Object::•()
9 ;
10 }
11 static method f(self::C c) → void {
12 core::int x = let final dynamic #t1 = c in #t1.==(null) ? null : #t1.{self::C: :x};
Siggi Cherem (dart-lang) 2017/06/19 21:47:43 unrelated to this CL, but I noticed the `let dynam
Paul Berry 2017/06/19 22:06:53 Good point. I'll address this in a follow up CL.
13 }
14 static method main() → dynamic {}
OLDNEW
« no previous file with comments | « pkg/front_end/testcases/inference/null_aware_property_get.dart.outline.expect ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698