7bb0d1f39a
Adds a static error to check that factory constructors in anonymous classes contain no positional parameters. Change-Id: Iae7c5c1d9e2dc91390c85c58eb5e96718e808f9a Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/156145 Reviewed-by: Nate Bosch <nbosch@google.com> Reviewed-by: Sigmund Cherem <sigmund@google.com> Commit-Queue: Srujan Gaddam <srujzs@google.com>