01a26f9022
This adds error recovery for mixin and extension declarations with primary constructors. This avoids cascading errors when primary constructors are used with these declarations which do not support primary constructors. Closes #63157 Change-Id: I17bfab4a7eabac1c75e7cfb580295dcf619c991d Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/499180 Reviewed-by: Brian Wilkerson <brianwilkerson@google.com> Reviewed-by: Konstantin Shcheglov <scheglov@google.com> Commit-Queue: Johnni Winther <johnniwinther@google.com>