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..8e8b39bfa22d11c924f0a6987ee9bdd1d24fe766 |
--- /dev/null |
+++ b/pkg/front_end/testcases/inference/type_cast.dart.strong.expect |
@@ -0,0 +1,20 @@ |
+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::b.foo(); |
+} |