Index: pkg/front_end/testcases/inference/inferred_type_invoke_method_via_interface.dart.direct.expect |
diff --git a/pkg/front_end/testcases/inference/inferred_type_invoke_method_via_interface.dart.direct.expect b/pkg/front_end/testcases/inference/inferred_type_invoke_method_via_interface.dart.direct.expect |
new file mode 100644 |
index 0000000000000000000000000000000000000000..e4b7a4a33652869402d112ee926894635f0957af |
--- /dev/null |
+++ b/pkg/front_end/testcases/inference/inferred_type_invoke_method_via_interface.dart.direct.expect |
@@ -0,0 +1,20 @@ |
+library test; |
+import self as self; |
+import "dart:core" as core; |
+ |
+class I extends core::Object { |
+ default constructor •() → void |
+ : super core::Object::•() |
+ ; |
+ method g() → core::bool |
+ return true; |
+} |
+abstract class C extends core::Object implements self::I { |
+ default constructor •() → void |
+ : super core::Object::•() |
+ ; |
+} |
+static field dynamic x = self::f().g(); |
+static method f() → self::C |
+ return null; |
+static method main() → dynamic {} |