Index: pkg/front_end/testcases/inference/infer_assign_to_implicit_this.dart.strong.expect |
diff --git a/pkg/front_end/testcases/inference/infer_assign_to_implicit_this.dart.strong.expect b/pkg/front_end/testcases/inference/infer_assign_to_implicit_this.dart.strong.expect |
new file mode 100644 |
index 0000000000000000000000000000000000000000..a95b282716087512f663b133db09cffe2cc0a8a1 |
--- /dev/null |
+++ b/pkg/front_end/testcases/inference/infer_assign_to_implicit_this.dart.strong.expect |
@@ -0,0 +1,52 @@ |
+library test; |
+import self as self; |
+import "dart:core" as core; |
+ |
+class A extends core::Object { |
+ constructor •() → void |
+ : super core::Object::•() |
+ ; |
+} |
+class B extends self::A { |
+ constructor •() → void |
+ : super self::A::•() |
+ ; |
+ operator +(self::C v) → self::A |
+ return null; |
+ operator -(core::int i) → self::B |
+ return null; |
+ operator *(self::B v) → self::B |
+ return null; |
+ operator &(self::A v) → self::C |
+ return null; |
+} |
+class C extends self::B { |
+ constructor •() → void |
+ : super self::B::•() |
+ ; |
+} |
+class Test extends core::Object { |
+ field self::B member = null; |
+ constructor •() → void |
+ : super core::Object::•() |
+ ; |
+ method test() → void { |
+ this.{self::Test::member} = self::f<self::B>(); |
+ this.{self::Test::member}.{core::Object::==}(null) ? this.{self::Test::member} = self::f<self::B>() : null; |
+ this.{self::Test::member} = this.{self::Test::member}.{self::B::+}(self::f<dynamic>()); |
+ this.{self::Test::member} = this.{self::Test::member}.{self::B::*}(self::f<dynamic>()); |
+ this.{self::Test::member} = this.{self::Test::member}.{self::B::&}(self::f<dynamic>()); |
+ this.{self::Test::member} = this.{self::Test::member}.{self::B::-}(1); |
+ this.{self::Test::member} = this.{self::Test::member}.{self::B::-}(1); |
+ self::B v1 = this.{self::Test::member} = self::f<self::B>(); |
+ self::B v2 = let final dynamic #t1 = this.{self::Test::member} in #t1.{core::Object::==}(null) ? this.{self::Test::member} = self::f<self::B>() : #t1; |
+ self::A v3 = this.{self::Test::member} = this.{self::Test::member}.{self::B::+}(self::f<dynamic>()); |
+ self::B v4 = this.{self::Test::member} = this.{self::Test::member}.{self::B::*}(self::f<dynamic>()); |
+ self::C v5 = this.{self::Test::member} = this.{self::Test::member}.{self::B::&}(self::f<dynamic>()); |
+ self::B v6 = this.{self::Test::member} = this.{self::Test::member}.{self::B::-}(1); |
+ self::B v7 = let final dynamic #t2 = this.{self::Test::member} in let final dynamic #t3 = this.{self::Test::member} = #t2.{self::B::-}(1) in #t2; |
+ } |
+} |
+static method f<T extends core::Object>() → self::f::T |
+ return null; |
+static method main() → dynamic {} |