No error if a non-constant is used in a constant constructor initializer list #59804
Labels
cfe-dysfunctionalities
Issues for the CFE not behaving as intended
legacy-area-front-end
Legacy: Use area-dart-model instead.
type-bug
Incorrect behavior (everything from a crash to more subtle misbehavior)
The code below produces an error in the analyzer but works in VM.
There should be an error in VM as well.
Dart SDK version: 3.7.0-274.0.dev (dev) (Thu Dec 19 20:06:50 2024 -0800) on "windows_x64"
The text was updated successfully, but these errors were encountered: