dart-archive / dev_compiler

DEPRECATED - Moved to main SDK
https://github.com/dart-lang/sdk/tree/master/pkg/dev_compiler
Other
133 stars 27 forks source link

noSuchMethod Invocation does not include generic type arguments #604

Closed jmesserly closed 8 years ago

jmesserly commented 8 years ago

Dart's Invocation object doesn't have type arguments, so they get dropped when we call nSM. There's no way to access them from nSM.

@leafpetersen - thoughts on this? Should we add them to Invocation?

jmesserly commented 8 years ago

Reason I marked as p2, if folks want to mock generic methods, they might hit this issue.

leafpetersen commented 8 years ago

Yeah, this should be supported.

jmesserly commented 8 years ago

This issue was moved to dart-lang/sdk#27323