82403371ac
Cf. language issue #1341: The grammar rule in Dart.g for <metadata> is wrong, it does not allow `@x` where `x` is the name of a variable which is not a `<typeIdentifier>` (in particular, a variable can have a name like `required` even though it's a built-in identifier). This CL changes `qualifiedName` such that it only includes the cases with a '.', and then the remaining case is added where `qualifiedName` is used. We add `identifier` in `metadata` such that it allows `@required` and such, and we add `typeIdentifier` in `constructorDesignation`, because that's required to be an import prefix or a class name, which are both `typeIdentifier`s. Change-Id: Ia22d9d9842b995c4ebaa8e18e1c2ccbce1c30e62 Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/174540 Commit-Queue: Erik Ernst <eernst@google.com> Reviewed-by: Lasse R.H. Nielsen <lrn@google.com>