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

Side by Side Diff: pkg/kernel/testcases/reify/super3_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
« no previous file with comments | « pkg/kernel/testcases/reify/super3_test.dart ('k') | pkg/kernel/testcases/reify/test_base.dart » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
1 library super3_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 A extends core::Object implements int::HasRuntimeTypeGetter {
9 final field typ::ReifiedType $type;
10 constructor •(typ::ReifiedType $type) → void
11 : self::A::$type = $type, super core::Object::•()
12 ;
13 get foo() → dynamic {
14 return dynamic;
15 }
16 get $A$T() → typ::ReifiedType
17 return typ::getTypeArguments(typ::asInstanceOf(this.$type, self::$declaratio ns.[](0))).[](0);
18 get runtimeType() → core::Type
19 return this.{=self::A::$type};
20 }
21 class B extends self::A implements int::HasRuntimeTypeGetter {
22 constructor •() → void
23 : super self::A::•(null)
24 ;
25 constructor redirect() → void
26 : this self::B::•()
27 ;
28 get $type() → typ::ReifiedType
29 return new typ::Interface::•(self::$declarations.[](1));
30 }
31 static final field core::List<dec::Class> $declarations = (core::List<dec::Class > d) → core::List<dec::Class> {
32 dec::init(d, 0, new typ::Interface::•(d.[](15)));
33 dec::init(d, 1, new typ::Interface::•(d.[](0), <dynamic>[new typ::Interface::• (d.[](0), <dynamic>[const typ::Dynamic::•()])]));
34 dec::init(d, 2, new typ::Interface::•(d.[](15)));
35 dec::init(d, 3, new typ::Interface::•(d.[](15)));
36 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))]);
37 dec::init(d, 5, new typ::Interface::•(d.[](19)));
38 dec::init(d, 6, new typ::Interface::•(d.[](19)));
39 dec::init(d, 7, new typ::Interface::•(d.[](15)));
40 dec::init(d, 8, new typ::Interface::•(d.[](20)));
41 dec::init(d, 9, new typ::Interface::•(d.[](20)));
42 dec::init(d, 10, new typ::Interface::•(d.[](20)));
43 dec::init(d, 11, new typ::Interface::•(d.[](20)));
44 dec::init(d, 12, new typ::Interface::•(d.[](15)), <dynamic>[new typ::Interface ::•(d.[](21))]);
45 dec::init(d, 13, new typ::Interface::•(d.[](14)));
46 dec::init(d, 14, new typ::Interface::•(d.[](20)));
47 dec::init(d, 15, null);
48 dec::init(d, 17, new typ::Interface::•(d.[](15)));
49 dec::init(d, 18, new typ::Interface::•(d.[](15)));
50 dec::init(d, 19, new typ::Interface::•(d.[](15)), <dynamic>[new typ::Interface ::•(d.[](17), <dynamic>[new typ::Interface::•(d.[](19))])]);
51 dec::init(d, 20, new typ::Interface::•(d.[](15)));
52 dec::init(d, 21, new typ::Interface::•(d.[](15)));
53 return d;
54 }.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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0]));
55 static method main() → dynamic {
56 new self::B::•().foo;
57 new self::B::redirect();
58 }
OLDNEW
« no previous file with comments | « pkg/kernel/testcases/reify/super3_test.dart ('k') | pkg/kernel/testcases/reify/test_base.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698