DescriptionFix method call type inference with explicit type parameters.
This was broken for three reasons:
- We weren't recording the fact that the type parameters were
explicitly provided, so the inference code path to handle this case
wasn't being exercised.
- The inference code path to handle this case was accidentally
referring to the `inferredTypes` variable, which is `null` in this
case.
- We were not checking for the case where the user provided the wrong
number of type parameters.
R=scheglov@google.com
Committed: https://github.com/dart-lang/sdk/commit/e68668f88d22eb188d4746da0577bd97f62595f4
Patch Set 1 #Messages
Total messages: 5 (2 generated)
|