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

Unified Diff: pkg/front_end/testcases/inference/inferred_type_extract_method_tear_off_via_interface.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/inferred_type_extract_method_tear_off_via_interface.dart
diff --git a/pkg/front_end/testcases/inference/inferred_type_extract_method_tear_off_via_interface.dart b/pkg/front_end/testcases/inference/inferred_type_extract_method_tear_off_via_interface.dart
index 3cdd117502de7c6e3fcb7179bc3111763050defa..28313ff4644665271f6ed784349b8c82d46e0831 100644
--- a/pkg/front_end/testcases/inference/inferred_type_extract_method_tear_off_via_interface.dart
+++ b/pkg/front_end/testcases/inference/inferred_type_extract_method_tear_off_via_interface.dart
@@ -12,4 +12,6 @@ class I {
abstract class C implements I {}
C f() => null;
-var /*@topType=() -> bool*/ x = f().g;
+var /*@topType=() -> bool*/ x = f(). /*@target=I::g*/ g;
+
+main() {}

Powered by Google App Engine
This is Rietveld 408576698