dep-generic-methods icon indicating copy to clipboard operation
dep-generic-methods copied to clipboard

Missing corresponding changes to dart:mirrors

Open rmacnak-google opened this issue 10 years ago • 1 comments

The proposal omits the corresponding changes to dart:mirrors. Presumably this would be something like adding MethodMirror.typeVariables.

rmacnak-google avatar Apr 04 '15 00:04 rmacnak-google

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.

leafpetersen avatar Apr 06 '15 23:04 leafpetersen