dep-generic-methods
dep-generic-methods copied to clipboard
Missing corresponding changes to dart:mirrors
The proposal omits the corresponding changes to dart:mirrors. Presumably this would be something like adding MethodMirror.typeVariables.
Interesting point. The spec mentions reflection and mirrors in passing, but doesn't actually include it in the specification of the language as far as I can tell, so I'm actually not clear whether DEPs are supposed to cover the corresponding dart:mirrors API changes as well. I don't see any mirrors discussion in any of the other DEPs, but the two accepted ones so far don't really touch on anything that gets reflected in mirrors (assuming that tear-offs don't require any special treatment). In any case, I'll be happy to take a whack at sorting out what the mirrors API for this should look like if this is something we want to nail down as part of the DEP docs.