We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 069c50c commit 2c68a8eCopy full SHA for 2c68a8e
LanguageFeatures/Enhanced-Enum/grammar_A01_t04.dart
@@ -17,7 +17,7 @@
17
/// identifier list may have a trailing comma (like now).
18
///
19
/// @description Check that if there is a ; after the identifier list and there
20
-/// is no any class member then it is a compile time error
+/// is no any class member then it is not an error
21
/// @author [email protected]
22
23
// SharedOptions=--enable-experiment=enhanced-enums
@@ -27,18 +27,12 @@ enum Time1<T> {
27
day<String>(),
28
week<bool>();
29
}
30
-//^
31
-// [analyzer] unspecified
32
-// [cfe] unspecified
33
34
enum Time2<T> {
35
hour<int>(),
36
37
week<bool>(),;
38
39
40
41
42
43
main() {
44
Time1.week;
0 commit comments