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

Unified Diff: tests/language/const_error_multiply_initialized_test.dart

Issue 2944223002: Revert "Updated parser to produce error when trying to reinitialize final variables in class constr… (Closed)
Patch Set: Created 3 years, 6 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/co19/co19-runtime.status ('k') | tests/language/final_attempt_reinitialization_test.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tests/language/const_error_multiply_initialized_test.dart
diff --git a/tests/language/const_error_multiply_initialized_test.dart b/tests/language/const_error_multiply_initialized_test.dart
index b1631d1f6e55efdcce808bb9d2c8463eab024245..44ea44d9ca72cfd5c0122ae8ec195e94a7af00a6 100644
--- a/tests/language/const_error_multiply_initialized_test.dart
+++ b/tests/language/const_error_multiply_initialized_test.dart
@@ -13,7 +13,7 @@ class C {
const C(
this. //# 01: compile-time error
- this. //# 02: compile-time error
+ this. //# 02: static type warning
x
)
: x = 2 //# 03: compile-time error
« no previous file with comments | « tests/co19/co19-runtime.status ('k') | tests/language/final_attempt_reinitialization_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698