f274c79333
Today, the parser reads `a<...>.b()` as a constructor call with explicit type arguments for the class. This could be a method call on a function tearoff (however unlikely). Fixes https://github.com/dart-lang/sdk/issues/46721 Bug: https://github.com/dart-lang/sdk/issues/46020 Change-Id: I16681171a7d99adf3fd080a235fcedc46c5fb1ef Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/210780 Commit-Queue: Samuel Rawlins <srawlins@google.com> Reviewed-by: Konstantin Shcheglov <scheglov@google.com> Reviewed-by: Brian Wilkerson <brianwilkerson@google.com>