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

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

Issue 2933663002: Annotate targets of implicit this property gets/sets in inference tests. (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 x = 0;
7 field core::int y = null;
8 final field core::int z = 42;
9 constructor •() → void
10 : super core::Object::•()
11 ;
12 method test1() → dynamic {
13 core::int a = this.{self::A::x};
14 a = "hi";
15 a = 3;
16 core::int b = this.{self::A::y};
17 b = "hi";
18 b = 4;
19 core::int c = this.{self::A::z};
20 c = "hi";
21 c = 4;
22 }
23 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698