Index: pkg/front_end/testcases/inference/property_set_bad_setter.dart.direct.expect |
diff --git a/pkg/front_end/testcases/inference/propagate_inference_transitively.dart.strong.expect b/pkg/front_end/testcases/inference/property_set_bad_setter.dart.direct.expect |
similarity index 55% |
copy from pkg/front_end/testcases/inference/propagate_inference_transitively.dart.strong.expect |
copy to pkg/front_end/testcases/inference/property_set_bad_setter.dart.direct.expect |
index d07a3c0614d49d39b92974172da0db331ca51aeb..910be1f627faac18eacab4798c6bc3d26838a27f 100644 |
--- a/pkg/front_end/testcases/inference/propagate_inference_transitively.dart.strong.expect |
+++ b/pkg/front_end/testcases/inference/property_set_bad_setter.dart.direct.expect |
@@ -3,15 +3,12 @@ import self as self; |
import "dart:core" as core; |
class A extends core::Object { |
- field core::int x = 2; |
constructor •() → void |
: super core::Object::•() |
; |
+ set x() → void {} |
} |
-static method test5() → dynamic { |
- self::A a1 = new self::A::•(); |
- a1.x = "hi"; |
- self::A a2 = new self::A::•(); |
- a2.x = "hi"; |
+static method f(self::A a) → void { |
+ dynamic x = a.x = 0; |
} |
static method main() → dynamic {} |