149af9d3ae
This CL simplifies the grammar rule for a primary constructor and the place where it's used (`classNamePart`) - the proposal no longer uses a version that cannot have the modifier `const`. Also, it de-inlines `typeWithParameters` for consistency and brevity. Change-Id: Idbd2182a6a29256d61c617c9eb2f631213cb3234 Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/455400 Reviewed-by: Chloe Stefantsova <cstefantsova@google.com> Commit-Queue: Erik Ernst <eernst@google.com>