dart-sdk/tests/language/final
Kallen Tu 988c301109 [analyzer] Issue 53927: Disallow final fields to be used in a const context.
Context: Added a field check in https://dart-review.googlesource.com/c/sdk/+/312347 which the goal back then was to cut down on more unnecessary errors, but this seemed to have caused a regression elsewhere.

Reverting this part of the change and other related tests.

Bug: https://github.com/dart-lang/sdk/issues/53927
Change-Id: I0774e050c73e677347caad836dd59c9cba71d044
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/333240
Reviewed-by: Brian Wilkerson <brianwilkerson@google.com>
Commit-Queue: Kallen Tu <kallentu@google.com>
2023-11-02 20:46:20 +00:00
..
attempt_reinitialization_runtime_test.dart
attempt_reinitialization_test.dart [CFE] Better error messages for class initialization errors 2020-09-09 11:37:47 +00:00
field_initialization_order_test.dart
field_override_test.dart
for_in_variable_test.dart Migrate "e" and "f" directory language tests off @compile-error. 2023-04-20 20:49:17 +00:00
initialize_inside_closure_test.dart Flow analysis: ensure that not-yet-declared variables aren't marked as captured. 2022-01-11 15:42:04 +00:00
initializer_instance_reference_test.dart [analyzer] Issue 53927: Disallow final fields to be used in a const context. 2023-11-02 20:46:20 +00:00
is_not_const_test.dart Migrate "e" and "f" directory language tests off @compile-error. 2023-04-20 20:49:17 +00:00
param_test.dart Migrate "e" and "f" directory language tests off @compile-error. 2023-04-20 20:49:17 +00:00
super_field_set_test.dart Migrate "e" and "f" directory language tests off @compile-error. 2023-04-20 20:49:17 +00:00
syntax_test.dart Issue 43100. Verify local variable reads for null safety. 2020-08-20 15:50:50 +00:00
used_in_try_test.dart
variable_assignment_runtime_test.dart
variable_assignment_test.dart