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

Side by Side Diff: pkg/front_end/testcases/inference_new/infer_assign_to_property_custom.dart.strong.expect

Issue 2942153002: Enable top level inference of instance property gets/sets. (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
OLDNEW
(Empty)
1 library test;
2 import self as self;
3 import "dart:core" as core;
4
5 class A extends core::Object {
6 constructor •() → void
7 : super core::Object::•()
8 ;
9 operator +(dynamic other) → core::int
10 return 1;
11 operator -(dynamic other) → core::double
12 return 2.0;
13 }
14 class B extends core::Object {
15 field self::A a = null;
16 constructor •() → void
17 : super core::Object::•()
18 ;
19 }
20 static field core::int v_prefix_pp = let final dynamic #t1 = new self::B::•() in #t1.{self::B::a} = #t1.{self::B::a}.{self::A::+}(1);
21 static field core::double v_prefix_mm = let final dynamic #t2 = new self::B::•() in #t2.{self::B::a} = #t2.{self::B::a}.{self::A::-}(1);
22 static field self::A v_postfix_pp = let final dynamic #t3 = new self::B::•() in let final dynamic #t4 = #t3.{self::B::a} in let final dynamic #t5 = #t3.{self::B ::a} = #t4.{self::A::+}(1) in #t4;
23 static field self::A v_postfix_mm = let final dynamic #t6 = new self::B::•() in let final dynamic #t7 = #t6.{self::B::a} in let final dynamic #t8 = #t6.{self::B ::a} = #t7.{self::A::-}(1) in #t7;
24 static method main() → dynamic {}
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698