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

Unified Diff: tests/language/const_constructor2_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
« no previous file with comments | « tests/language/compile_time_constant_checked_test.dart ('k') | tests/language/language.status » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tests/language/const_constructor2_test.dart
diff --git a/tests/language/const_constructor2_test.dart b/tests/language/const_constructor2_test.dart
index e084c2d9e94cf3ba3ec9fc4cdcdd9d177f104296..a558fbfea7f0b860d210c77e5d8bf67ecd6ad77b 100644
--- a/tests/language/const_constructor2_test.dart
+++ b/tests/language/const_constructor2_test.dart
@@ -62,17 +62,17 @@ main() {
const C c10 = const C<int>.subtyped(a); /// 11: ok
const C c10m = const C<int>.redirecting(a); /// 12: ok
- const C c11 = const C<double>(a); /// 13: static type warning, compile-time error
- const C c12 = const C<double>.optional(a); /// 14: static type warning, compile-time error
- const C c13 = const C<double>.named(a: a); /// 15: static type warning, compile-time error
- const C c14 = const C<double>.untyped(a); /// 16: static type warning, compile-time error
- const C c15 = const C<double>.subtyped(a); /// 17: static type warning, compile-time error
+ const C c11 = const C<double>(a); /// 13: static type warning, checked mode compile-time error
+ const C c12 = const C<double>.optional(a); /// 14: static type warning, checked mode compile-time error
+ const C c13 = const C<double>.named(a: a); /// 15: static type warning, checked mode compile-time error
+ const C c14 = const C<double>.untyped(a); /// 16: static type warning, checked mode compile-time error
+ const C c15 = const C<double>.subtyped(a); /// 17: static type warning, checked mode compile-time error
const C c15m = const C<double>.redirecting(a); /// 18: static type warning
const E e1 = const E.redirecting1(0); /// 19: ok
- const E e2 = const E.redirecting1(''); /// 20: static type warning, compile-time error
+ const E e2 = const E.redirecting1(''); /// 20: static type warning, checked mode compile-time error
const E e3 = const E.redirecting2(0); /// 21: ok
- const E e4 = const E.redirecting2(''); /// 22: static type warning, compile-time error
+ const E e4 = const E.redirecting2(''); /// 22: static type warning, checked mode compile-time error
const E e5 = const E.redirecting3(0); /// 23: ok
- const E e6 = const E.redirecting3(''); /// 24: static type warning, compile-time error
+ const E e6 = const E.redirecting3(''); /// 24: static type warning, checked mode compile-time error
}
« no previous file with comments | « tests/language/compile_time_constant_checked_test.dart ('k') | tests/language/language.status » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698