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

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

Issue 2943273002: Implement type inference of getters/setters based on inheritance. (Closed)
Patch Set: Created 3 years, 6 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/conflicts_can_happen2.dart
diff --git a/pkg/front_end/testcases/inference/conflicts_can_happen2.dart b/pkg/front_end/testcases/inference/conflicts_can_happen2.dart
index 1f98b23b76afea20528c931e20f0bd2108762831..61b622ac51df5552669919b71548437035f0d4ff 100644
--- a/pkg/front_end/testcases/inference/conflicts_can_happen2.dart
+++ b/pkg/front_end/testcases/inference/conflicts_can_happen2.dart
@@ -31,7 +31,7 @@ class C1 implements A, B {
}
class C2 implements A, B {
- /*error:INVALID_METHOD_OVERRIDE*/ get a => null;
+ /*error:INVALID_METHOD_OVERRIDE*/ get /*@topType=dynamic*/ a => null;
}
main() {}

Powered by Google App Engine
This is Rietveld 408576698