Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(155)

Unified Diff: pkg/front_end/testcases/inference/do_not_infer_overridden_fields_that_explicitly_say_dynamic_infer.dart

Issue 2921443002: Implement type inference for PropertyGet. (Closed)
Patch Set: Created 3 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: pkg/front_end/testcases/inference/do_not_infer_overridden_fields_that_explicitly_say_dynamic_infer.dart
diff --git a/pkg/front_end/testcases/inference/do_not_infer_overridden_fields_that_explicitly_say_dynamic_infer.dart b/pkg/front_end/testcases/inference/do_not_infer_overridden_fields_that_explicitly_say_dynamic_infer.dart
index eb0534a881f9fcb952fd141f88dd0b31ceb5c34b..6e05a8335022e9d8c1aae8ba66a1e42311784775 100644
--- a/pkg/front_end/testcases/inference/do_not_infer_overridden_fields_that_explicitly_say_dynamic_infer.dart
+++ b/pkg/front_end/testcases/inference/do_not_infer_overridden_fields_that_explicitly_say_dynamic_infer.dart
@@ -14,8 +14,8 @@ class B implements A {
}
foo() {
- String y = /*info:DYNAMIC_CAST*/ new B().x;
- int z = /*info:DYNAMIC_CAST*/ new B().x;
+ String y = /*info:DYNAMIC_CAST*/ new B(). /*@target=B::x*/ x;
+ int z = /*info:DYNAMIC_CAST*/ new B(). /*@target=B::x*/ x;
}
main() {

Powered by Google App Engine
This is Rietveld 408576698