Index: tests/language_strong/assign_static_type_test.dart |
diff --git a/tests/language_strong/assign_static_type_test.dart b/tests/language_strong/assign_static_type_test.dart |
index 4f14c1ae87ad5fb287e5dadd1cc62af77fe25832..90b653d0a878c55676a89cb6156fb8e86c335c10 100644 |
--- a/tests/language_strong/assign_static_type_test.dart |
+++ b/tests/language_strong/assign_static_type_test.dart |
@@ -11,12 +11,13 @@ class A { |
static const int c = "String"; //# 02: static type warning, checked mode compile-time error |
final int d = "String"; //# 03: static type warning, dynamic type error |
int e = "String"; //# 04: static type warning, dynamic type error |
- A() { |
+ A() { |
int f = "String"; //# 05: static type warning, dynamic type error |
- } |
- method([ |
+ } |
+ method( |
+ [ |
int // //# 06: static type warning |
- g = "String"]) { |
+ g = "String"]) { |
return g; |
} |
} |