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

Side by Side Diff: pkg/front_end/testcases/inference/property_set.dart.strong.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 core::List<core::int> x_int = a_int.{self::A::x} = <core::int>[0]; 16 core::List<core::int> x_int = a_int.{self::A::x} = <core::int>[0];
17 core::List<core::int> y_int = a_int.{self::A::y} = <core::int>[0]; 17 core::List<core::int> y_int = a_int.{self::A::y} = <core::int>[0];
18 core::List<core::Object> x_object = a_object.{self::A::x} = <core::Object>[0]; 18 core::List<core::Object> x_object = a_object.{self::A::x} = <core::Object>[0];
19 core::List<core::Object> y_object = a_object.{self::A::y} = <core::Object>[0]; 19 core::List<core::Object> y_object = a_object.{self::A::y} = <core::Object>[0];
20 core::List<dynamic> x_dynamic = a_dynamic.{self::A::x} = <dynamic>[0]; 20 core::List<dynamic> x_dynamic = a_dynamic.{self::A::x} = <dynamic>[0];
21 core::List<dynamic> y_dynamic = a_dynamic.{self::A::y} = <dynamic>[0]; 21 core::List<dynamic> y_dynamic = a_dynamic.{self::A::y} = <dynamic>[0];
22 core::List<core::int> x_int_explicit = a_int.{self::A::x} = <core::int>[0]; 22 core::List<core::int> x_int_explicit = a_int.{self::A::x} = <core::int>[0];
23 core::List<core::int> y_int_explicit = a_int.{self::A::y} = <core::int>[0]; 23 core::List<core::int> y_int_explicit = a_int.{self::A::y} = <core::int>[0];
24 core::List<core::int> x_object_explicit = a_object.{self::A::x} = <core::int>[ 0]; 24 core::List<core::int> x_object_explicit = a_object.{self::A::x} = <core::int>[ 0];
25 core::List<core::int> y_object_explicit = a_object.{self::A::y} = <core::int>[ 0]; 25 core::List<core::int> y_object_explicit = a_object.{self::A::y} = <core::int>[ 0];
26 core::List<core::int> x_dynamic_explicit = a_dynamic.{self::A::x} = <core::int >[0]; 26 core::List<core::int> x_dynamic_explicit = a_dynamic.{self::A::x} = <core::int >[0];
27 core::List<core::int> y_dynamic_explicit = a_dynamic.{self::A::y} = <core::int >[0]; 27 core::List<core::int> y_dynamic_explicit = a_dynamic.{self::A::y} = <core::int >[0];
28 core::List<core::int> x_int_downward = a_int.{self::A::x} = <core::int>[0]; 28 core::List<core::int> x_int_downward = a_int.{self::A::x} = <core::int>[0];
29 core::List<core::int> y_int_downward = a_int.{self::A::y} = <core::int>[0]; 29 core::List<core::int> y_int_downward = a_int.{self::A::y} = <core::int>[0];
30 core::List<core::int> x_object_downward = a_object.{self::A::x} = <core::Objec t>[0]; 30 core::List<core::int> x_object_downward = a_object.{self::A::x} = <core::Objec t>[0];
31 core::List<core::int> y_object_downward = a_object.{self::A::y} = <core::Objec t>[0]; 31 core::List<core::int> y_object_downward = a_object.{self::A::y} = <core::Objec t>[0];
32 core::List<core::int> x_dynamic_downward = a_dynamic.{self::A::x} = <dynamic>[ 0]; 32 core::List<core::int> x_dynamic_downward = a_dynamic.{self::A::x} = <dynamic>[ 0];
33 core::List<core::int> y_dynamic_downward = a_dynamic.{self::A::y} = <dynamic>[ 0]; 33 core::List<core::int> y_dynamic_downward = a_dynamic.{self::A::y} = <dynamic>[ 0];
34 } 34 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698