No error if a non-constant is used in a constant constructor initializer list #59804
Labels
area-front-end
Use area-front-end for front end / CFE / kernel format related issues.
cfe-dysfunctionalities
Issues for the CFE not behaving as intended
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: