daee781179
This is the first CL in a series aimed at removing the need to reparse type variables in https://github.com/dart-lang/sdk/blob/master/pkg/front_end/lib/src/fasta/kernel/body_builder.dart#L3669 and ultimately improving recovery by removing parseType. * Move calls to listener.beginTypeVariable after parsing metadata and identifier * Pass variable name via beginTypeVariable rather than via handleIdentifier * Add additional check in test for issue 31846 Change-Id: I983b9d17675fc899c83df69fa1777059903e3f52 Reviewed-on: https://dart-review.googlesource.com/58300 Reviewed-by: Brian Wilkerson <brianwilkerson@google.com> Commit-Queue: Dan Rubel <danrubel@google.com>