73d6821a81
This is a bug fix of the current implementation of dot shorthands type argument resolution. We want to make sure we're doing inference with the proper context type given at that point (with the element based on the dot shorthand context type we've saved). Then I made sure there was proper argument checking, not just for `FunctionExpressionInvocation`s, but with `DotShorthandInvocation`s as well. Tested with unit tests and language tests. Bug: https://github.com/dart-lang/sdk/issues/59835 Change-Id: I795046502214628389c6471e9424aca7152657e2 Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/425780 Reviewed-by: Chloe Stefantsova <cstefantsova@google.com> Commit-Queue: Kallen Tu <kallentu@google.com>
This directory contains tests of the language and core library implementations. For more information, see https://github.com/dart-lang/sdk/tree/main/docs/Testing.md.