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

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

Issue 2874033003: Set MethodInvocation.interfaceTarget during type inference. (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/map_literals_can_infer_null.dart
diff --git a/pkg/front_end/testcases/inference/map_literals_can_infer_null.dart b/pkg/front_end/testcases/inference/map_literals_can_infer_null.dart
index 864cd8151476fee59e346dc83c2762117821bb84..5d453b67a85ffab39b1d6af1e778430dfed7d399 100644
--- a/pkg/front_end/testcases/inference/map_literals_can_infer_null.dart
+++ b/pkg/front_end/testcases/inference/map_literals_can_infer_null.dart
@@ -7,6 +7,6 @@ library test;
test1() {
var /*@type=Map<Null, Null>*/ x = /*@typeArgs=Null, Null*/ {null: null};
- /*@promotedType=none*/ x[
+ /*@promotedType=none*/ x /*@target=Map::[]=*/ [
/*error:INVALID_CAST_LITERAL*/ 3] = /*error:INVALID_CAST_LITERAL*/ 'z';
}
« no previous file with comments | « pkg/front_end/testcases/inference/map_literals.dart ('k') | pkg/front_end/testcases/inference/map_literals_top_level.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698