analyzer: InheritanceManager3.getInheritedConcreteMap2 throws, given an extension type #53638
Labels
analyzer-api
Issues that impact the public API of the analyzer package
area-analyzer
Use area-analyzer for Dart analyzer issues, including the analysis server and code completion.
P2
A bug or feature request we're likely to work on
type-bug
Incorrect behavior (everything from a crash to more subtle misbehavior)
Ran across this while working extension type support into dartdoc. I think it is valid to pass an extension type-derived InterfaceElement to
InheritanceManager3.getInheritedConcreteMap2
, but that method then throws this:because
InheritanceManager3._getInterfaceExtensionType
returnsInterface._(..., superImplemented: const [])
.CC @scheglov
The text was updated successfully, but these errors were encountered: