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

Unified Diff: tests/language_2/identical_const_test.dart

Issue 3003933002: Migrate block 116. (Closed)
Patch Set: Created 3 years, 4 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: tests/language_2/identical_const_test.dart
diff --git a/tests/language_strong/identical_const_test.dart b/tests/language_2/identical_const_test.dart
similarity index 81%
rename from tests/language_strong/identical_const_test.dart
rename to tests/language_2/identical_const_test.dart
index c0d5fa5d5ad07ec5f8818a6d9e5b4ecc910dd2d4..9c62b060478d5df454e34abc4a2e3610eefee3e7 100644
--- a/tests/language_strong/identical_const_test.dart
+++ b/tests/language_2/identical_const_test.dart
@@ -14,14 +14,14 @@ const identical_gg = identical(g, g);
// Verify proper compile time computation of identical()
const a = const {
- identical_ff: 0, //# 01: static type warning
- identical_gg: 0, //# 02: static type warning
+ identical_ff: 0, //# 01: compile-time error
+ identical_gg: 0, //# 02: compile-time error
true: 0
};
const b = const {
- identical_fg: 0, //# 03: static type warning
- identical_gf: 0, //# 04: static type warning
+ identical_fg: 0, //# 03: compile-time error
+ identical_gf: 0, //# 04: compile-time error
false: 0
};

Powered by Google App Engine
This is Rietveld 408576698