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

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

Issue 2938423003: Implement override-based inference of instance fields. (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 dynamic x = null;
7 constructor •() → void
8 : super core::Object::•()
9 ;
10 }
11 class B extends core::Object implements self::A {
12 field dynamic x = 2;
13 constructor •() → void
14 : super core::Object::•()
15 ;
16 }
17 static method foo() → dynamic {
18 core::String y = new self::B::•().{self::B::x};
19 core::int z = new self::B::•().{self::B::x};
20 }
21 static method main() → dynamic {}
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698