Index: tests/language/constructor9_test.dart |
diff --git a/tests/language/constructor9_test.dart b/tests/language/constructor9_test.dart |
index 2e2da6ea2e67712d4b64f2d6e9b84c66a905ee3a..fc13e5b74f5cb7d18840952b0665d7bc36c086ed 100644 |
--- a/tests/language/constructor9_test.dart |
+++ b/tests/language/constructor9_test.dart |
@@ -5,14 +5,12 @@ |
// Check that all final instance fields of a class are initialized by |
// constructors. |
- |
class Klass { |
- Klass(var v): field_ = v { } |
+ Klass(var v) : field_ = v {} |
final uninitializedFinalField_; // //# 01: static type warning |
var field_; |
} |
- |
main() { |
new Klass(5); |
} |