[CFE] No error in CFE if an extension type is not well-bounded #54097
Labels
cfe-feature-extension-types
Implement extension types feature in the CFE
feature-extension-types
Implementation of the extension type feature
front-end-missing-error
legacy-area-front-end
Legacy: Use area-dart-model instead.
The following program produces an expected error in analyzer but not in CFE
After extension type erasure we'll have here
extension type V<T extends T>(T id) {}
which is an error. So, analyzer correctly expectsCOMPILE_TIME_ERROR.TYPE_PARAMETER_SUPERTYPE_OF_ITS_BOUND
hereTested on
Dart SDK version: 3.3.0-edge.5918e012cc875df2b96ec25e3fee0de263feed80 (main) (Mon Nov 20 08:03:39 2023 +0000) on "linux_x64"
The text was updated successfully, but these errors were encountered: