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

Unified Diff: tests/language/compile_time_constant_checked3_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_checked3_test.dart
diff --git a/tests/language/compile_time_constant_checked3_test.dart b/tests/language/compile_time_constant_checked3_test.dart
index 6aeecd1d6691dd9d53cc3e61d717f062f70a6ab4..336da4606e3de0fd1db8bd102a58cebd0f30dd2a 100644
--- a/tests/language/compile_time_constant_checked3_test.dart
+++ b/tests/language/compile_time_constant_checked3_test.dart
@@ -12,12 +12,12 @@ class A {
const A.a6(int x) : this.x = x;
}
-var a1 = const A.a1(); /// 01: static type warning, compile-time error
-var a2 = const A.a2('foo'); /// 02: static type warning, compile-time error
-var a3 = const A.a3(); /// 03: static type warning, compile-time error
-var a4 = const A.a4('foo'); /// 04: static type warning, compile-time error
-var a5 = const A.a5('foo'); /// 05: static type warning, compile-time error
-var a6 = const A.a6('foo'); /// 06: static type warning, compile-time error
+var a1 = const A.a1(); /// 01: static type warning, checked mode compile-time error
+var a2 = const A.a2('foo'); /// 02: static type warning, checked mode compile-time error
+var a3 = const A.a3(); /// 03: static type warning, checked mode compile-time error
+var a4 = const A.a4('foo'); /// 04: static type warning, checked mode compile-time error
+var a5 = const A.a5('foo'); /// 05: static type warning, checked mode compile-time error
+var a6 = const A.a6('foo'); /// 06: static type warning, checked mode compile-time error
main() {
print(a1); /// 01: continued
« no previous file with comments | « tests/language/compile_time_constant_checked2_test.dart ('k') | tests/language/compile_time_constant_checked_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698