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

Side by Side Diff: pkg/front_end/testcases/inference/property_set.dart.direct.expect

Issue 2981783002: Set 'isSyntheticDefault' for default constructors. (Closed)
Patch Set: Created 3 years, 5 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
1 library test; 1 library test;
2 import self as self; 2 import self as self;
3 import "dart:core" as core; 3 import "dart:core" as core;
4 4
5 class A<T extends core::Object> extends core::Object { 5 class A<T extends core::Object> extends core::Object {
6 field core::List<self::A::T> x = null; 6 field core::List<self::A::T> x = null;
7 constructor •() → void 7 default constructor •() → void
8 : super core::Object::•() 8 : super core::Object::•()
9 ; 9 ;
10 set y(core::List<self::A::T> value) → void {} 10 set y(core::List<self::A::T> value) → void {}
11 } 11 }
12 static method main() → dynamic { 12 static method main() → dynamic {
13 self::A<core::int> a_int = new self::A::•<core::int>(); 13 self::A<core::int> a_int = new self::A::•<core::int>();
14 self::A<core::Object> a_object = new self::A::•<core::Object>(); 14 self::A<core::Object> a_object = new self::A::•<core::Object>();
15 self::A<dynamic> a_dynamic = new self::A::•<dynamic>(); 15 self::A<dynamic> a_dynamic = new self::A::•<dynamic>();
16 dynamic x_int = a_int.x = <dynamic>[0]; 16 dynamic x_int = a_int.x = <dynamic>[0];
17 dynamic y_int = a_int.y = <dynamic>[0]; 17 dynamic y_int = a_int.y = <dynamic>[0];
18 dynamic x_object = a_object.x = <dynamic>[0]; 18 dynamic x_object = a_object.x = <dynamic>[0];
19 dynamic y_object = a_object.y = <dynamic>[0]; 19 dynamic y_object = a_object.y = <dynamic>[0];
20 dynamic x_dynamic = a_dynamic.x = <dynamic>[0]; 20 dynamic x_dynamic = a_dynamic.x = <dynamic>[0];
21 dynamic y_dynamic = a_dynamic.y = <dynamic>[0]; 21 dynamic y_dynamic = a_dynamic.y = <dynamic>[0];
22 dynamic x_int_explicit = a_int.x = <core::int>[0]; 22 dynamic x_int_explicit = a_int.x = <core::int>[0];
23 dynamic y_int_explicit = a_int.y = <core::int>[0]; 23 dynamic y_int_explicit = a_int.y = <core::int>[0];
24 dynamic x_object_explicit = a_object.x = <core::int>[0]; 24 dynamic x_object_explicit = a_object.x = <core::int>[0];
25 dynamic y_object_explicit = a_object.y = <core::int>[0]; 25 dynamic y_object_explicit = a_object.y = <core::int>[0];
26 dynamic x_dynamic_explicit = a_dynamic.x = <core::int>[0]; 26 dynamic x_dynamic_explicit = a_dynamic.x = <core::int>[0];
27 dynamic y_dynamic_explicit = a_dynamic.y = <core::int>[0]; 27 dynamic y_dynamic_explicit = a_dynamic.y = <core::int>[0];
28 core::List<core::int> x_int_downward = a_int.x = <dynamic>[0]; 28 core::List<core::int> x_int_downward = a_int.x = <dynamic>[0];
29 core::List<core::int> y_int_downward = a_int.y = <dynamic>[0]; 29 core::List<core::int> y_int_downward = a_int.y = <dynamic>[0];
30 core::List<core::int> x_object_downward = a_object.x = <dynamic>[0]; 30 core::List<core::int> x_object_downward = a_object.x = <dynamic>[0];
31 core::List<core::int> y_object_downward = a_object.y = <dynamic>[0]; 31 core::List<core::int> y_object_downward = a_object.y = <dynamic>[0];
32 core::List<core::int> x_dynamic_downward = a_dynamic.x = <dynamic>[0]; 32 core::List<core::int> x_dynamic_downward = a_dynamic.x = <dynamic>[0];
33 core::List<core::int> y_dynamic_downward = a_dynamic.y = <dynamic>[0]; 33 core::List<core::int> y_dynamic_downward = a_dynamic.y = <dynamic>[0];
34 } 34 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698