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

Unified Diff: tests/language/constructor_named_arguments_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/const_objects_are_immutable_test.dart ('k') | tests/language/constructor_test.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tests/language/constructor_named_arguments_test.dart
diff --git a/tests/language/constructor_named_arguments_test.dart b/tests/language/constructor_named_arguments_test.dart
index 063a88112514ead54d726d86ed423eb35c61dcc5..63e5e34c89e4744e00eb388a058a219f8d130f3e 100644
--- a/tests/language/constructor_named_arguments_test.dart
+++ b/tests/language/constructor_named_arguments_test.dart
@@ -23,7 +23,7 @@ class X {
X({a: 'defa', b: 'defb'}) : this.i = a, this.j = b;
X.foo() : this(b: 1, a: 2);
X.bar() : this(
- 1, /// 01: static type warning, runtime error
+ 1, /// 01: runtime error
a: 2);
X.baz() : this(a: 1, b: 2);
X.qux() : this(b: 2);
« no previous file with comments | « tests/language/const_objects_are_immutable_test.dart ('k') | tests/language/constructor_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698