7c7417e170
This updates the parser to recover when * 'extend' or 'extends' is used rather than 'on' in a mixin declaration * 'extend' or 'on' is used rather then 'extends' in a class declaration This also introduces a new ExpectedInstead error message to better communicate to the developer the keyword that should be used. Fix https://github.com/dart-lang/sdk/issues/34563 Change-Id: Iafcb3d18db8ca3898c1e4dae74e5124c108ead48 Reviewed-on: https://dart-review.googlesource.com/77140 Reviewed-by: Brian Wilkerson <brianwilkerson@google.com> Commit-Queue: Dan Rubel <danrubel@google.com>