7ef0841386
A few places in the parser we call `computeTypeParamOrArg` and then either use the result or not depending on whether there's a `(` after it. That doesn't work well when `computeTypeParamOrArg` does recovery by for instance inserting a > though. This CL fixes that - at least in the places we know about. Fixes #45848. Change-Id: Id4b62b965131031f43c8ada0fe05045fc9834db3 Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/197360 Reviewed-by: Brian Wilkerson <brianwilkerson@google.com> Reviewed-by: Johnni Winther <johnniwinther@google.com> Commit-Queue: Jens Johansen <jensj@google.com>