Wrong name for invalid factory constructor #30999
Labels
legacy-area-front-end
Legacy: Use area-dart-model instead.
model-error-recovery
Error recovery in analyzer/CFE.
P3
A lower priority bug or feature request
Looking inside of the generated Kernel Procedure, I see that the name of the factory is set to
B
, which is incorrect, because if it wereA
, then the name would have been empty.What I would expect is that an error is reported, and
factory B()
is parsed asfactory A()
, and correspondinglyfactory B.named()
asfactory A.named()
.The text was updated successfully, but these errors were encountered: