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

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

Issue 2697873007: Merge the work on Generic Types Reification from 'dart-lang/reify' repo (Closed)
Patch Set: Get back parameter erroneously removed by previous commit Created 3 years, 10 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 super2_test;
2 import self as self;
3 import "dart:core" as core;
4 import "../../runtime/reify/interceptors.dart" as int;
5 import "../../runtime/reify/types.dart" as typ;
6 import "../../runtime/reify/declarations.dart" as dec;
7
8 class X extends core::Object implements int::HasRuntimeTypeGetter {
9 constructor •() → void
10 : super core::Object::•()
11 ;
12 get $type() → typ::ReifiedType
13 return new typ::Interface::•(self::$declarations.[](0));
14 }
15 class A extends core::Object implements int::HasRuntimeTypeGetter {
16 final field typ::ReifiedType $type;
17 constructor •(typ::ReifiedType $type) → void
18 : self::A::$type = $type, super core::Object::•()
19 ;
20 get $A$T() → typ::ReifiedType
21 return typ::getTypeArguments(typ::asInstanceOf(this.$type, self::$declaratio ns.[](1))).[](0);
22 get runtimeType() → core::Type
23 return this.{=self::A::$type};
24 }
25 class B extends self::A implements int::HasRuntimeTypeGetter {
26 constructor •() → void
27 : super self::A::•(null)
28 ;
29 get $type() → typ::ReifiedType
30 return new typ::Interface::•(self::$declarations.[](2));
31 }
32 static final field core::List<dec::Class> $declarations = (core::List<dec::Class > d) → core::List<dec::Class> {
33 dec::init(d, 0, new typ::Interface::•(d.[](16)));
34 dec::init(d, 1, new typ::Interface::•(d.[](16)));
35 dec::init(d, 2, new typ::Interface::•(d.[](1), <dynamic>[new typ::Interface::• (d.[](0))]));
36 dec::init(d, 3, new typ::Interface::•(d.[](16)));
37 dec::init(d, 4, new typ::Interface::•(d.[](16)));
38 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))]);
39 dec::init(d, 6, new typ::Interface::•(d.[](20)));
40 dec::init(d, 7, new typ::Interface::•(d.[](20)));
41 dec::init(d, 8, new typ::Interface::•(d.[](16)));
42 dec::init(d, 9, new typ::Interface::•(d.[](21)));
43 dec::init(d, 10, new typ::Interface::•(d.[](21)));
44 dec::init(d, 11, new typ::Interface::•(d.[](21)));
45 dec::init(d, 12, new typ::Interface::•(d.[](21)));
46 dec::init(d, 13, new typ::Interface::•(d.[](16)), <dynamic>[new typ::Interface ::•(d.[](22))]);
47 dec::init(d, 14, new typ::Interface::•(d.[](15)));
48 dec::init(d, 15, new typ::Interface::•(d.[](21)));
49 dec::init(d, 16, null);
50 dec::init(d, 18, new typ::Interface::•(d.[](16)));
51 dec::init(d, 19, new typ::Interface::•(d.[](16)));
52 dec::init(d, 20, new typ::Interface::•(d.[](16)), <dynamic>[new typ::Interface ::•(d.[](18), <dynamic>[new typ::Interface::•(d.[](20))])]);
53 dec::init(d, 21, new typ::Interface::•(d.[](16)));
54 dec::init(d, 22, new typ::Interface::•(d.[](16)));
55 return d;
56 }.call(dec::allocateDeclarations(<dynamic>["X", "A", "B", "Null", "bool", "Strin g", "int", "double", "Type", "AbstractClassInstantiationError", "NoSuchMethodErr or", "CyclicInitializationError", "UnsupportedError", "IntegerDivisionByZeroExce ption", "RangeError", "ArgumentError", "Object", "HasRuntimeTypeGetter", "Compar able", "Pattern", "num", "Error", "Exception"], <dynamic>[0, 1, 0, 0, 0, 0, 0, 0 , 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0]));
57 static method main() → dynamic {}
OLDNEW
« no previous file with comments | « pkg/kernel/testcases/reify/super2_test.dart ('k') | pkg/kernel/testcases/reify/super3_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698