| OLD | NEW |
| 1 library super1_test; | 1 library super1_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 "dart:mock" as mock; |
| 6 import "../../runtime/reify/declarations.dart" as dec; | 7 import "../../runtime/reify/declarations.dart" as dec; |
| 7 | 8 |
| 8 class A extends core::Object implements int::HasRuntimeTypeGetter { | 9 class A extends core::Object implements int::HasRuntimeTypeGetter { |
| 9 final field typ::ReifiedType $type; | 10 final field typ::ReifiedType $type; |
| 10 constructor •(typ::ReifiedType $type) → void | 11 constructor •(typ::ReifiedType $type) → void |
| 11 : self::A::$type = $type, super core::Object::•() | 12 : self::A::$type = $type, super core::Object::•() |
| 12 ; | 13 ; |
| 13 get $A$T() → typ::ReifiedType | 14 get $A$T() → typ::ReifiedType |
| 14 return typ::getTypeArguments(typ::asInstanceOf(this.$type, self::$declaratio
ns.[](0))).[](0); | 15 return typ::getTypeArguments(typ::asInstanceOf(this.$type, self::$declaratio
ns.[](0))).[](0); |
| 15 get runtimeType() → core::Type | 16 get runtimeType() → core::Type |
| 16 return this.{=self::A::$type}; | 17 return this.{=self::A::$type}; |
| 17 } | 18 } |
| 18 class B extends self::A implements int::HasRuntimeTypeGetter { | 19 class B extends self::A implements int::HasRuntimeTypeGetter { |
| 19 field core::int i; | 20 field core::int i; |
| 20 constructor •(typ::ReifiedType $type, core::int i) → void | 21 constructor •(typ::ReifiedType $type, core::int i) → void |
| 21 : self::B::i = i, super self::A::•($type) | 22 : 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) |
| 22 ; | 23 ; |
| 23 constructor redirect(typ::ReifiedType $type) → void | 24 constructor redirect(typ::ReifiedType $type) → void |
| 24 : this self::B::•($type, 42) | 25 : this self::B::•($type, 42) |
| 25 ; | 26 ; |
| 26 get $B$T() → typ::ReifiedType | 27 get $B$T() → typ::ReifiedType |
| 27 return typ::getTypeArguments(typ::asInstanceOf(this.$type, self::$declaratio
ns.[](1))).[](0); | 28 return typ::getTypeArguments(typ::asInstanceOf(this.$type, self::$declaratio
ns.[](1))).[](0); |
| 28 } | 29 } |
| 29 static final field core::List<dec::Class> $declarations = (core::List<dec::Class
> d) → core::List<dec::Class> { | 30 static final field core::List<dec::Class> $declarations = (core::List<dec::Class
> d) → core::List<dec::Class> { |
| 30 dec::init(d, 0, new typ::Interface::•(d.[](15))); | 31 dec::init(d, 0, new typ::Interface::•(d.[](16))); |
| 31 dec::init(d, 1, new typ::Interface::•(d.[](0), <dynamic>[d.[](1).variables.[](
0)])); | 32 dec::init(d, 1, new typ::Interface::•(d.[](0), <dynamic>[d.[](1).variables.[](
0)])); |
| 32 dec::init(d, 2, new typ::Interface::•(d.[](15))); | 33 dec::init(d, 2, new typ::Interface::•(d.[](16))); |
| 33 dec::init(d, 3, new typ::Interface::•(d.[](15))); | 34 dec::init(d, 3, new typ::Interface::•(d.[](16))); |
| 34 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))]); | 35 dec::init(d, 4, new typ::Interface::•(d.[](16))); |
| 35 dec::init(d, 5, new typ::Interface::•(d.[](19))); | 36 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))]); |
| 36 dec::init(d, 6, new typ::Interface::•(d.[](19))); | 37 dec::init(d, 6, new typ::Interface::•(d.[](20))); |
| 37 dec::init(d, 7, new typ::Interface::•(d.[](15))); | 38 dec::init(d, 7, new typ::Interface::•(d.[](20))); |
| 38 dec::init(d, 8, new typ::Interface::•(d.[](20))); | 39 dec::init(d, 8, new typ::Interface::•(d.[](16))); |
| 39 dec::init(d, 9, new typ::Interface::•(d.[](20))); | 40 dec::init(d, 9, new typ::Interface::•(d.[](21))); |
| 40 dec::init(d, 10, new typ::Interface::•(d.[](20))); | 41 dec::init(d, 10, new typ::Interface::•(d.[](21))); |
| 41 dec::init(d, 11, new typ::Interface::•(d.[](20))); | 42 dec::init(d, 11, new typ::Interface::•(d.[](21))); |
| 42 dec::init(d, 12, new typ::Interface::•(d.[](15)), <dynamic>[new typ::Interface
::•(d.[](21))]); | 43 dec::init(d, 12, new typ::Interface::•(d.[](21))); |
| 43 dec::init(d, 13, new typ::Interface::•(d.[](14))); | 44 dec::init(d, 13, new typ::Interface::•(d.[](16)), <dynamic>[new typ::Interface
::•(d.[](22))]); |
| 44 dec::init(d, 14, new typ::Interface::•(d.[](20))); | 45 dec::init(d, 14, new typ::Interface::•(d.[](15))); |
| 45 dec::init(d, 15, null); | 46 dec::init(d, 15, new typ::Interface::•(d.[](21))); |
| 46 dec::init(d, 17, new typ::Interface::•(d.[](15))); | 47 dec::init(d, 16, null); |
| 47 dec::init(d, 18, new typ::Interface::•(d.[](15))); | 48 dec::init(d, 18, new typ::Interface::•(d.[](16))); |
| 48 dec::init(d, 19, new typ::Interface::•(d.[](15)), <dynamic>[new typ::Interface
::•(d.[](17), <dynamic>[new typ::Interface::•(d.[](19))])]); | 49 dec::init(d, 19, new typ::Interface::•(d.[](16))); |
| 49 dec::init(d, 20, new typ::Interface::•(d.[](15))); | 50 dec::init(d, 20, new typ::Interface::•(d.[](16)), <dynamic>[new typ::Interface
::•(d.[](18), <dynamic>[new typ::Interface::•(d.[](20))])]); |
| 50 dec::init(d, 21, new typ::Interface::•(d.[](15))); | 51 dec::init(d, 21, new typ::Interface::•(d.[](16))); |
| 52 dec::init(d, 22, new typ::Interface::•(d.[](16))); |
| 51 return d; | 53 return d; |
| 52 }.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])); | 54 }.call(dec::allocateDeclarations(<dynamic>["A", "B", "Context", "Null", "bool",
"String", "int", "double", "Type", "AbstractClassInstantiationError", "NoSuchMet
hodError", "CyclicInitializationError", "UnsupportedError", "IntegerDivisionByZe
roException", "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])); |
| 53 static method main() → dynamic {} | 55 static method main() → dynamic {} |
| OLD | NEW |