Analyzer doesn't allow !
selector in constants
#59800
Labels
analyzer-spec
Issues with the analyzer's implementation of the language spec
area-analyzer
Use area-analyzer for Dart analyzer issues, including the analysis server and code completion.
P3
A lower priority bug or feature request
type-bug
Incorrect behavior (everything from a crash to more subtle misbehavior)
The below works well in VM but produces an error in the analyzer.
Constant expression allows
!
selector, therefore, I believe, it's an analyzer issue.@lrhn @eernstg please confirm.
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: