2954986a7e
Otherwise, in its current state, there's no clear error for any modifiers when used before an enum declaration. This follows the same format to FINAL_MIXIN_CLASS and those groups of errors. Bug: https://github.com/dart-lang/sdk/issues/51935 Change-Id: I8174b6894c95fef5c0f4704927b161942c19d3ff Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/294122 Reviewed-by: Paul Berry <paulberry@google.com> Commit-Queue: Kallen Tu <kallentu@google.com> Reviewed-by: Jens Johansen <jensj@google.com>
9 lines
317 B
Dart
9 lines
317 B
Dart
// Copyright (c) 2023, 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.
|
|
|
|
base enum Base { v }
|
|
final enum Final { v }
|
|
interface enum Interface { v }
|
|
sealed enum Sealed { v }
|