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

Side by Side Diff: pkg/front_end/testcases/inference_new/infer_assign_to_property.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 field core::int f = null;
7 constructor •() → void
8 : super core::Object::•()
9 ;
10 }
11 static field core::int v_assign = new self::A::•().{self::A::f} = 1;
12 static field core::int v_plus = let final dynamic #t1 = new self::A::•() in #t1. {self::A::f} = #t1.{self::A::f}.{core::num::+}(1);
13 static field core::int v_minus = let final dynamic #t2 = new self::A::•() in #t2 .{self::A::f} = #t2.{self::A::f}.{core::num::-}(1);
14 static field core::int v_multiply = let final dynamic #t3 = new self::A::•() in #t3.{self::A::f} = #t3.{self::A::f}.{core::num::*}(1);
15 static field core::int v_prefix_pp = let final dynamic #t4 = new self::A::•() in #t4.{self::A::f} = #t4.{self::A::f}.{core::num::+}(1);
16 static field core::int v_prefix_mm = let final dynamic #t5 = new self::A::•() in #t5.{self::A::f} = #t5.{self::A::f}.{core::num::-}(1);
17 static field core::int v_postfix_pp = let final dynamic #t6 = new self::A::•() i n let final dynamic #t7 = #t6.{self::A::f} in let final dynamic #t8 = #t6.{self: :A::f} = #t7.{core::num::+}(1) in #t7;
18 static field core::int v_postfix_mm = let final dynamic #t9 = new self::A::•() i n let final dynamic #t10 = #t9.{self::A::f} in let final dynamic #t11 = #t9.{sel f::A::f} = #t10.{core::num::-}(1) in #t10;
19 static method main() → dynamic {}
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698