Description[analyzer] copy generic type args when inferring a new function type for an ExecutableElement
This matches what resolver.dart visitMethodDeclaration does when it creats the FunctionTypeImpl for the method. So we want to preserve these generic type args when we're building the new inferred function type, otherwise we'll fail to substitute them later on.
Context: https://github.com/dart-lang/dev_compiler/issues/342#issuecomment-142748853
R=brianwilkerson@google.com
Committed: https://github.com/dart-lang/sdk/commit/59eb287389641b662b9fbb8d3ee541088aaa98d1
Patch Set 1 #Patch Set 2 : #
Total comments: 3
Messages
Total messages: 4 (1 generated)
|