Index: tests/language_strong/constructor_named_arguments_test.dart |
diff --git a/tests/language_strong/constructor_named_arguments_test.dart b/tests/language_strong/constructor_named_arguments_test.dart |
index e04a52a9ca5add99443dc35b4ac2cea41a923eeb..4bd51f704c5b9e886e8e5405ecff3c1a962618d1 100644 |
--- a/tests/language_strong/constructor_named_arguments_test.dart |
+++ b/tests/language_strong/constructor_named_arguments_test.dart |
@@ -20,11 +20,14 @@ bar() { |
class X { |
var i; |
var j; |
- X({a: 'defa', b: 'defb'}) : this.i = a, this.j = b; |
+ X({a: 'defa', b: 'defb'}) |
+ : this.i = a, |
+ this.j = b; |
X.foo() : this(b: 1, a: 2); |
- X.bar() : this( |
+ X.bar() |
+ : this( |
1, // //# 01: static type warning, runtime error |
- a: 2); |
+ a: 2); |
X.baz() : this(a: 1, b: 2); |
X.qux() : this(b: 2); |
X.hest() : this(); |