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

Unified Diff: pkg/front_end/testcases/inference/inferred_type_extract_method_tear_off.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.dart
diff --git a/pkg/front_end/testcases/inference/inferred_type_extract_method_tear_off.dart b/pkg/front_end/testcases/inference/inferred_type_extract_method_tear_off.dart
index e0bdfcdf6381ff43dda2afd6b36c9fd3ed8dceed..e9e21a523aa585299ea175c6cb492c5d7a653bf0 100644
--- a/pkg/front_end/testcases/inference/inferred_type_extract_method_tear_off.dart
+++ b/pkg/front_end/testcases/inference/inferred_type_extract_method_tear_off.dart
@@ -10,4 +10,6 @@ class C {
}
C f() => null;
-var /*@topType=() -> bool*/ x = f().g;
+var /*@topType=() -> bool*/ x = f(). /*@target=C::g*/ g;
+
+main() {}

Powered by Google App Engine
This is Rietveld 408576698