1eda15854d
Experiments that have not be enabled by default should only be allowed in the current version of the sdk. Closes #45460 Change-Id: I159f390ac85fe37943920717ce11a4c817d5b4a9 Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/193480 Commit-Queue: Johnni Winther <johnniwinther@google.com> Reviewed-by: Dmitry Stefantsov <dmitryas@google.com>
34 lines
589 B
Dart
34 lines
589 B
Dart
// Copyright (c) 2020, the Dart project authors. Please see the AUTHORS file
|
|
// for details. All rights reserved. Use of this source code is governed by a
|
|
// BSD-style license that can be found in the LICENSE file.
|
|
|
|
class Operators1 {
|
|
operator >>>() => true;
|
|
}
|
|
|
|
class Operators2 {
|
|
operator >>>(a, b) => true;
|
|
}
|
|
|
|
class Operators3 {
|
|
operator >>>([a]) => true;
|
|
}
|
|
|
|
class Operators4 {
|
|
operator >>>({a}) => true;
|
|
}
|
|
|
|
class Operators5 {
|
|
operator >>>(a, [b]) => true;
|
|
}
|
|
|
|
class Operators6 {
|
|
operator >>>(a, {b}) => true;
|
|
}
|
|
|
|
class Operators7 {
|
|
operator >>><T>(a) => true;
|
|
}
|
|
|
|
main() {}
|