Index: tests/language/final_variable_assignment_test.dart |
diff --git a/tests/language/final_variable_assignment_test.dart b/tests/language/final_variable_assignment_test.dart |
index f173747ef8f511b8c53e82e9be95266bc4c9253b..f195c7566ad88dfc2ad8219917e213b1ea06db5d 100644 |
--- a/tests/language/final_variable_assignment_test.dart |
+++ b/tests/language/final_variable_assignment_test.dart |
@@ -6,8 +6,8 @@ |
main() { |
final x = 30; |
- x = 0; /// 01: compile-time error |
- x += 1; /// 02: compile-time error |
- ++x; /// 03: compile-time error |
- x++; /// 04: compile-time error |
+ x = 0; /// 01: static type warning, runtime error |
+ x += 1; /// 02: static type warning, runtime error |
+ ++x; /// 03: static type warning, runtime error |
+ x++; /// 04: static type warning, runtime error |
} |