4bef74a60e
The @dart marker should only be used for released language versions, rather than the upcoming release, since the upcoming language features has not been finally assigned to a language version yet. The appropriate experiments should be used instead to opt into upcoming features. This change is part of the effort to make it possible to easily bump tools/VERSION without unexpected issues whenever tests have to have their pinned language versions updated as well. Bug: b/304745266 Change-Id: If9c7f07bb8bf0482257d0476b4e7d64077e53b8d Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/330106 Commit-Queue: Jonas Termansen <sortie@google.com> Reviewed-by: Sigmund Cherem <sigmund@google.com> Reviewed-by: Alexander Thomas <athom@google.com>