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

Unified Diff: tests/language/compile_time_constant_checked_test.dart

Issue 150223002: Add 'static type error' tags to multitests. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Rename 'static type error' to 'checked mode compile-time error'. Created 6 years, 9 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/compile_time_constant_checked_test.dart
diff --git a/tests/language/compile_time_constant_checked_test.dart b/tests/language/compile_time_constant_checked_test.dart
index f99577456fb171c98b0f639f54055ae129e59457..26c0ecc61632955c1ddc670abed1348777f4b8e5 100644
--- a/tests/language/compile_time_constant_checked_test.dart
+++ b/tests/language/compile_time_constant_checked_test.dart
@@ -3,7 +3,7 @@
// BSD-style license that can be found in the LICENSE file.
final int x = 'foo'; /// 01: static type warning, dynamic type error
-const int y = 'foo'; /// 02: static type warning, compile-time error
+const int y = 'foo'; /// 02: static type warning, checked mode compile-time error
int z = 'foo'; /// 03: static type warning, dynamic type error
main() {
« no previous file with comments | « tests/language/compile_time_constant_checked3_test.dart ('k') | tests/language/const_constructor2_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698