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

Unified Diff: pkg/kernel/testcases/reify/super1_test.dart.expect

Issue 2713163002: Pass type arguments as a list in generic methods invocations (Closed)
Patch Set: Simplify 'isGenericMethod' procedure 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 side-by-side diff with in-line comments
Download patch
Index: pkg/kernel/testcases/reify/super1_test.dart.expect
diff --git a/pkg/kernel/testcases/reify/super1_test.dart.expect b/pkg/kernel/testcases/reify/super1_test.dart.expect
index 8b3d20dc4c53a47c5c495b14ecf481ecd2857a77..3879cd415fce08203e88a714055a6d91bba6b996 100644
--- a/pkg/kernel/testcases/reify/super1_test.dart.expect
+++ b/pkg/kernel/testcases/reify/super1_test.dart.expect
@@ -3,6 +3,7 @@ import self as self;
import "dart:core" as core;
import "../../runtime/reify/interceptors.dart" as int;
import "../../runtime/reify/types.dart" as typ;
+import "dart:mock" as mock;
import "../../runtime/reify/declarations.dart" as dec;
class A extends core::Object implements int::HasRuntimeTypeGetter {
@@ -18,7 +19,7 @@ class A extends core::Object implements int::HasRuntimeTypeGetter {
class B extends self::A implements int::HasRuntimeTypeGetter {
field core::int i;
constructor •(typ::ReifiedType $type, core::int i) → void
- : self::B::i = i, super self::A::•($type)
+ : self::B::i = let final mock::Context #context = int::attachType(new mock::Context::•(1), new typ::Interface::•(self::$declarations.[](2))) in let dynamic #t1 = #context.[]=(0, i) in #context.[](0), super self::A::•($type)
;
constructor redirect(typ::ReifiedType $type) → void
: this self::B::•($type, 42)
@@ -27,27 +28,28 @@ class B extends self::A implements int::HasRuntimeTypeGetter {
return typ::getTypeArguments(typ::asInstanceOf(this.$type, self::$declarations.[](1))).[](0);
}
static final field core::List<dec::Class> $declarations = (core::List<dec::Class> d) → core::List<dec::Class> {
- dec::init(d, 0, new typ::Interface::•(d.[](15)));
+ dec::init(d, 0, new typ::Interface::•(d.[](16)));
dec::init(d, 1, new typ::Interface::•(d.[](0), <dynamic>[d.[](1).variables.[](0)]));
- dec::init(d, 2, new typ::Interface::•(d.[](15)));
- dec::init(d, 3, new typ::Interface::•(d.[](15)));
- dec::init(d, 4, new typ::Interface::•(d.[](15)), <dynamic>[new typ::Interface::•(d.[](17), <dynamic>[new typ::Interface::•(d.[](4))]), new typ::Interface::•(d.[](18))]);
- dec::init(d, 5, new typ::Interface::•(d.[](19)));
- dec::init(d, 6, new typ::Interface::•(d.[](19)));
- dec::init(d, 7, new typ::Interface::•(d.[](15)));
- dec::init(d, 8, new typ::Interface::•(d.[](20)));
- dec::init(d, 9, new typ::Interface::•(d.[](20)));
- dec::init(d, 10, new typ::Interface::•(d.[](20)));
- dec::init(d, 11, new typ::Interface::•(d.[](20)));
- dec::init(d, 12, new typ::Interface::•(d.[](15)), <dynamic>[new typ::Interface::•(d.[](21))]);
- dec::init(d, 13, new typ::Interface::•(d.[](14)));
- dec::init(d, 14, new typ::Interface::•(d.[](20)));
- dec::init(d, 15, null);
- dec::init(d, 17, new typ::Interface::•(d.[](15)));
- dec::init(d, 18, new typ::Interface::•(d.[](15)));
- dec::init(d, 19, new typ::Interface::•(d.[](15)), <dynamic>[new typ::Interface::•(d.[](17), <dynamic>[new typ::Interface::•(d.[](19))])]);
- dec::init(d, 20, new typ::Interface::•(d.[](15)));
- dec::init(d, 21, new typ::Interface::•(d.[](15)));
+ dec::init(d, 2, new typ::Interface::•(d.[](16)));
+ dec::init(d, 3, new typ::Interface::•(d.[](16)));
+ dec::init(d, 4, new typ::Interface::•(d.[](16)));
+ dec::init(d, 5, new typ::Interface::•(d.[](16)), <dynamic>[new typ::Interface::•(d.[](18), <dynamic>[new typ::Interface::•(d.[](5))]), new typ::Interface::•(d.[](19))]);
+ dec::init(d, 6, new typ::Interface::•(d.[](20)));
+ dec::init(d, 7, new typ::Interface::•(d.[](20)));
+ dec::init(d, 8, new typ::Interface::•(d.[](16)));
+ dec::init(d, 9, new typ::Interface::•(d.[](21)));
+ dec::init(d, 10, new typ::Interface::•(d.[](21)));
+ dec::init(d, 11, new typ::Interface::•(d.[](21)));
+ dec::init(d, 12, new typ::Interface::•(d.[](21)));
+ dec::init(d, 13, new typ::Interface::•(d.[](16)), <dynamic>[new typ::Interface::•(d.[](22))]);
+ dec::init(d, 14, new typ::Interface::•(d.[](15)));
+ dec::init(d, 15, new typ::Interface::•(d.[](21)));
+ dec::init(d, 16, null);
+ dec::init(d, 18, new typ::Interface::•(d.[](16)));
+ dec::init(d, 19, new typ::Interface::•(d.[](16)));
+ dec::init(d, 20, new typ::Interface::•(d.[](16)), <dynamic>[new typ::Interface::•(d.[](18), <dynamic>[new typ::Interface::•(d.[](20))])]);
+ dec::init(d, 21, new typ::Interface::•(d.[](16)));
+ dec::init(d, 22, new typ::Interface::•(d.[](16)));
return d;
-}.call(dec::allocateDeclarations(<dynamic>["A", "B", "Null", "bool", "String", "int", "double", "Type", "AbstractClassInstantiationError", "NoSuchMethodError", "CyclicInitializationError", "UnsupportedError", "IntegerDivisionByZeroException", "RangeError", "ArgumentError", "Object", "HasRuntimeTypeGetter", "Comparable", "Pattern", "num", "Error", "Exception"], <dynamic>[1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0]));
+}.call(dec::allocateDeclarations(<dynamic>["A", "B", "Context", "Null", "bool", "String", "int", "double", "Type", "AbstractClassInstantiationError", "NoSuchMethodError", "CyclicInitializationError", "UnsupportedError", "IntegerDivisionByZeroException", "RangeError", "ArgumentError", "Object", "HasRuntimeTypeGetter", "Comparable", "Pattern", "num", "Error", "Exception"], <dynamic>[1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0]));
static method main() → dynamic {}
« no previous file with comments | « pkg/kernel/testcases/reify/subclass_test.dart.expect ('k') | pkg/kernel/testcases/reify/super3_test.dart.expect » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698