[cfe] Should not report a compile-time error on final
super parameter
#48714
Labels
legacy-area-front-end
Legacy: Use area-dart-model instead.
type-bug
Incorrect behavior (everything from a crash to more subtle misbehavior)
Cf. #48699. Consider the following program:
This program gives rise to a compile-time error with the current CFE, commit ac19f52:
However, I cannot find any rules against having the modifier
final
on a super parameter. It is final already, but it should be benign to specify it explicitly as well.The behavior seems to have been introduced quite recently, it does not occur with a
dart
from 2.17.0-212.0.dev.The text was updated successfully, but these errors were encountered: