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>
FE/analyzer shared code
This package contains logic that is shared between the front_end and analyzer packages. It is intended solely to facilitate development of the Dart SDK, and is not intended for use by end users. In particular, this package has no public API, so no guarantee is made of compatibility between one version of the package and the next.
End users should consider using the analyzer package to analyze Dart source code.