Analyzer issue in case of constant constructor and mixin application #59796
Labels
area-analyzer
Use area-analyzer for Dart analyzer issues, including the analysis server and code completion.
type-bug
Incorrect behavior (everything from a crash to more subtle misbehavior)
The code below produces an error in the analyzer but works without any issue in VM.
According to the Dart language specification (12.3 Mixin Application) if
C
has a constant constructor andM
declares no instance variables then default constructor ofMC
is also a constant constructor. So, I believe, that CFE is right here and the analyzer produces a wrong error. Please confirm.Dart SDK version: 3.7.0-264.0.dev (dev) (Wed Dec 18 00:02:57 2024 -0800) on "windows_x64"
The text was updated successfully, but these errors were encountered: