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

Unified Diff: tests/language/compile_time_constant_k_test.dart

Issue 166433002: Revert "Fix language tests wrt. warnings." (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 6 years, 10 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
« no previous file with comments | « tests/language/closure_type_test.dart ('k') | tests/language/compile_time_constant_o_test.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tests/language/compile_time_constant_k_test.dart
diff --git a/tests/language/compile_time_constant_k_test.dart b/tests/language/compile_time_constant_k_test.dart
index 158c14713338be76b9346780f10beef5dc79e270..f4260a3e5b9ffbaeb32b3393c9120280fc4e83c8 100644
--- a/tests/language/compile_time_constant_k_test.dart
+++ b/tests/language/compile_time_constant_k_test.dart
@@ -4,16 +4,11 @@
import "package:expect/expect.dart";
-const x = const {
- 'a': 3, /// 01: static type warning
- 'a': 4 };
-const y = const {
- 'a': 10, 'b': 11, 'a': 12, /// 02: static type warning
- 'b': 13, 'a': 14 };
-const z = const {
- '__proto__': 496, /// 03: static type warning
- '__proto__': 497, /// 03: continued
- '__proto__': 498, /// 03: continued
+const x = const { 'a': 3, 'a': 4 };
+const y = const { 'a': 10, 'b': 11, 'a': 12, 'b': 13, 'a': 14 };
+const z = const { '__proto__': 496,
+ '__proto__': 497,
+ '__proto__': 498,
'__proto__': 499 };
const x2 = const { 'a': 4 };
« no previous file with comments | « tests/language/closure_type_test.dart ('k') | tests/language/compile_time_constant_o_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698