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

Unified Diff: pkg/front_end/testcases/inference/infer_consts_transitively_2.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_consts_transitively_2.dart
diff --git a/pkg/front_end/testcases/inference/infer_consts_transitively_2.dart b/pkg/front_end/testcases/inference/infer_consts_transitively_2.dart
index 707bf840a6990909adba2e334a8c34c4365d3d29..1159b229a8795f9e91a81701b34274dd792f4e32 100644
--- a/pkg/front_end/testcases/inference/infer_consts_transitively_2.dart
+++ b/pkg/front_end/testcases/inference/infer_consts_transitively_2.dart
@@ -7,10 +7,12 @@ library test;
import 'infer_consts_transitively_2_a.dart';
-const /*@topType=dynamic*/ m1 = a1;
-const /*@topType=dynamic*/ m2 = a2;
+const /*@topType=int*/ m1 = a1;
+const /*@topType=int*/ m2 = a2;
foo() {
int i;
i = m1;
}
+
+main() {}

Powered by Google App Engine
This is Rietveld 408576698