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

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

Issue 2936043002: Chase imports in analyzer's front_end_inference_test. (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/infer_from_variables_in_non_cycle_imports_with_flag.dart
diff --git a/pkg/front_end/testcases/inference/infer_from_variables_in_non_cycle_imports_with_flag.dart b/pkg/front_end/testcases/inference/infer_from_variables_in_non_cycle_imports_with_flag.dart
index 999fae89fdcf3b305c6e30c26d851bff8fc39543..a270099b9e54c3e3d0e51d6170480f4aa40c6f1f 100644
--- a/pkg/front_end/testcases/inference/infer_from_variables_in_non_cycle_imports_with_flag.dart
+++ b/pkg/front_end/testcases/inference/infer_from_variables_in_non_cycle_imports_with_flag.dart
@@ -7,9 +7,11 @@ library test;
import 'infer_from_variables_in_non_cycle_imports_with_flag_a.dart';
-var /*@topType=dynamic*/ y = x;
+var /*@topType=int*/ y = x;
test1() {
x = /*error:INVALID_ASSIGNMENT*/ "hi";
y = /*error:INVALID_ASSIGNMENT*/ "hi";
}
+
+main() {}

Powered by Google App Engine
This is Rietveld 408576698