Closed denniskaselow closed 4 months ago
EDIT: uh, actually the feature is already there. Yep, I will have to find time to add the support then.
The version at HEAD should now cover the "method returns an extension type" case. We'll do a release soon.
It's probably too early and/or too minor, but would it be possible to already support extension types (like with
-nullsafety
)? The experiment has been enabled by default in the Dart dev version for a while now.For example, if I have a getter returning an extension type, this is what I get:
And I'm just seeing this, but there is a typo in the error message. It should be "neither" not "nether".