Index: pkg/front_end/testcases/inference/type_cast.dart.strong.expect |
diff --git a/pkg/front_end/testcases/inference/type_cast.dart.strong.expect b/pkg/front_end/testcases/inference/type_cast.dart.strong.expect |
new file mode 100644 |
index 0000000000000000000000000000000000000000..f48f34d9e73f8f982f18a64638f8cc68b5d9d3b5 |
--- /dev/null |
+++ b/pkg/front_end/testcases/inference/type_cast.dart.strong.expect |
@@ -0,0 +1,21 @@ |
+library test; |
+import self as self; |
+import "dart:core" as core; |
+ |
+class A<T extends core::Object> extends core::Object { |
+ constructor •() → void |
+ : super core::Object::•() |
+ ; |
+} |
+class B<T extends core::Object> extends self::A<self::B::T> { |
+ constructor •() → void |
+ : super self::A::•() |
+ ; |
+ method foo() → dynamic {} |
+} |
+static field self::A<core::num> a = new self::B::•<core::int>(); |
+static field self::B<core::int> b = self::a as self::B<core::int>; |
+static method main() → dynamic { |
+ self::A<core::num> a = new self::B::•<core::int>(); |
+ self::B<core::int> b = a as self::B<core::int>; |
+} |