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

Side by Side Diff: pkg/kernel/testcases/reify/is1_test.dart.expect

Issue 2713163002: Pass type arguments as a list in generic methods invocations (Closed)
Patch Set: Adjust reification in accordance to changes in master Created 3 years, 9 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 is1_test; 1 library is1_test;
2 import self as self; 2 import self as self;
3 import "dart:core" as core; 3 import "dart:core" as core;
4 import "../../runtime/reify/interceptors.dart" as int; 4 import "../../runtime/reify/interceptors.dart" as int;
5 import "../../runtime/reify/types.dart" as typ; 5 import "../../runtime/reify/types.dart" as typ;
6 import "./test_base.dart" as tes; 6 import "./test_base.dart" as tes;
7 import "../../runtime/reify/declarations.dart" as dec; 7 import "../../runtime/reify/declarations.dart" as dec;
8 8
9 class N extends core::Object implements int::HasRuntimeTypeGetter { 9 class N extends core::Object implements int::HasRuntimeTypeGetter {
10 constructor •() → void 10 constructor •() → void
(...skipping 54 matching lines...) Expand 10 before | Expand all | Expand 10 after
65 dec::init(d, 16, new typ::Interface::•(d.[](22))); 65 dec::init(d, 16, new typ::Interface::•(d.[](22)));
66 dec::init(d, 17, null); 66 dec::init(d, 17, null);
67 dec::init(d, 19, new typ::Interface::•(d.[](17))); 67 dec::init(d, 19, new typ::Interface::•(d.[](17)));
68 dec::init(d, 20, new typ::Interface::•(d.[](17))); 68 dec::init(d, 20, new typ::Interface::•(d.[](17)));
69 dec::init(d, 21, new typ::Interface::•(d.[](17)), <dynamic>[new typ::Interface ::•(d.[](19), <dynamic>[new typ::Interface::•(d.[](21))])]); 69 dec::init(d, 21, new typ::Interface::•(d.[](17)), <dynamic>[new typ::Interface ::•(d.[](19), <dynamic>[new typ::Interface::•(d.[](21))])]);
70 dec::init(d, 22, new typ::Interface::•(d.[](17))); 70 dec::init(d, 22, new typ::Interface::•(d.[](17)));
71 dec::init(d, 23, new typ::Interface::•(d.[](17))); 71 dec::init(d, 23, new typ::Interface::•(d.[](17)));
72 return d; 72 return d;
73 }.call(dec::allocateDeclarations(<dynamic>["N", "I", "D", "A", "Null", "bool", " String", "int", "double", "Type", "AbstractClassInstantiationError", "NoSuchMeth odError", "CyclicInitializationError", "UnsupportedError", "IntegerDivisionByZer oException", "RangeError", "ArgumentError", "Object", "HasRuntimeTypeGetter", "C omparable", "Pattern", "num", "Error", "Exception"], <dynamic>[0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0])); 73 }.call(dec::allocateDeclarations(<dynamic>["N", "I", "D", "A", "Null", "bool", " String", "int", "double", "Type", "AbstractClassInstantiationError", "NoSuchMeth odError", "CyclicInitializationError", "UnsupportedError", "IntegerDivisionByZer oException", "RangeError", "ArgumentError", "Object", "HasRuntimeTypeGetter", "C omparable", "Pattern", "num", "Error", "Exception"], <dynamic>[0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0]));
74 static method main() → dynamic { 74 static method main() → dynamic {
75 dynamic x = new self::A::•(new typ::Interface::•(self::$declarations.[](3), <d ynamic>[new typ::Interface::•(self::$declarations.[](1))])); 75 self::A x = new self::A::•(new typ::Interface::•(self::$declarations.[](3), <d ynamic>[new typ::Interface::•(self::$declarations.[](1))]));
76 tes::expectTrue(let dynamic #t1 = x in #t1 is int::HasRuntimeTypeGetter && #t1 .$is$A && (let dynamic #t2 = new typ::Interface::•(self::$declarations.[](3), <d ynamic>[new typ::Interface::•(self::$declarations.[](0))]) in typ::isSubtypeOf(# t1.$type, #t2))); 76 tes::expectTrue(let dynamic #t1 = x in #t1 is int::HasRuntimeTypeGetter && #t1 .$is$A && (let dynamic #t2 = new typ::Interface::•(self::$declarations.[](3), <d ynamic>[new typ::Interface::•(self::$declarations.[](0))]) in typ::isSubtypeOf(# t1.$type, #t2)));
77 tes::expectTrue(let dynamic #t3 = x in #t3 is int::HasRuntimeTypeGetter && #t3 .$is$A && (let dynamic #t4 = new typ::Interface::•(self::$declarations.[](3), <d ynamic>[new typ::Interface::•(self::$declarations.[](1))]) in typ::isSubtypeOf(# t3.$type, #t4))); 77 tes::expectTrue(let dynamic #t3 = x in #t3 is int::HasRuntimeTypeGetter && #t3 .$is$A && (let dynamic #t4 = new typ::Interface::•(self::$declarations.[](3), <d ynamic>[new typ::Interface::•(self::$declarations.[](1))]) in typ::isSubtypeOf(# t3.$type, #t4)));
78 tes::expectFalse(let dynamic #t5 = x in #t5 is int::HasRuntimeTypeGetter && #t 5.$is$A && (let dynamic #t6 = new typ::Interface::•(self::$declarations.[](3), < dynamic>[new typ::Interface::•(self::$declarations.[](2))]) in typ::isSubtypeOf( #t5.$type, #t6))); 78 tes::expectFalse(let dynamic #t5 = x in #t5 is int::HasRuntimeTypeGetter && #t 5.$is$A && (let dynamic #t6 = new typ::Interface::•(self::$declarations.[](3), < dynamic>[new typ::Interface::•(self::$declarations.[](2))]) in typ::isSubtypeOf( #t5.$type, #t6)));
79 dynamic y = new self::A::•(new typ::Interface::•(self::$declarations.[](3), <d ynamic>[const typ::Dynamic::•()])); 79 self::A y = new self::A::•(new typ::Interface::•(self::$declarations.[](3), <d ynamic>[const typ::Dynamic::•()]));
80 tes::expectTrue(let dynamic #t7 = y in #t7 is int::HasRuntimeTypeGetter && #t7 .$is$A && (let dynamic #t8 = new typ::Interface::•(self::$declarations.[](3), <d ynamic>[new typ::Interface::•(self::$declarations.[](0))]) in typ::isSubtypeOf(# t7.$type, #t8))); 80 tes::expectTrue(let dynamic #t7 = y in #t7 is int::HasRuntimeTypeGetter && #t7 .$is$A && (let dynamic #t8 = new typ::Interface::•(self::$declarations.[](3), <d ynamic>[new typ::Interface::•(self::$declarations.[](0))]) in typ::isSubtypeOf(# t7.$type, #t8)));
81 tes::expectTrue(let dynamic #t9 = y in #t9 is int::HasRuntimeTypeGetter && #t9 .$is$A && (let dynamic #t10 = new typ::Interface::•(self::$declarations.[](3), < dynamic>[new typ::Interface::•(self::$declarations.[](1))]) in typ::isSubtypeOf( #t9.$type, #t10))); 81 tes::expectTrue(let dynamic #t9 = y in #t9 is int::HasRuntimeTypeGetter && #t9 .$is$A && (let dynamic #t10 = new typ::Interface::•(self::$declarations.[](3), < dynamic>[new typ::Interface::•(self::$declarations.[](1))]) in typ::isSubtypeOf( #t9.$type, #t10)));
82 tes::expectTrue(let dynamic #t11 = y in #t11 is int::HasRuntimeTypeGetter && # t11.$is$A && (let dynamic #t12 = new typ::Interface::•(self::$declarations.[](3) , <dynamic>[new typ::Interface::•(self::$declarations.[](2))]) in typ::isSubtype Of(#t11.$type, #t12))); 82 tes::expectTrue(let dynamic #t11 = y in #t11 is int::HasRuntimeTypeGetter && # t11.$is$A && (let dynamic #t12 = new typ::Interface::•(self::$declarations.[](3) , <dynamic>[new typ::Interface::•(self::$declarations.[](2))]) in typ::isSubtype Of(#t11.$type, #t12)));
83 } 83 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698