Detection of semicolon between enum entries together with the correct delimiter quick fix for this case.
Error message reported directly on semicolon.
This commit is contained in:
@@ -0,0 +1,10 @@
|
||||
enum class MyEnum {
|
||||
// Should be comma instead of semicolon
|
||||
<!ENUM_ENTRY_USES_DEPRECATED_OR_NO_DELIMITER!>A<!><!SYNTAX!>;<!>
|
||||
B,
|
||||
<!ENUM_ENTRY_USES_DEPRECATED_OR_NO_DELIMITER!>C<!><!SYNTAX!>;<!>
|
||||
// Semicolon missed, comma is optional
|
||||
<!ENUM_ENTRY_USES_DEPRECATED_OR_NO_DELIMITER!>D<!>,
|
||||
|
||||
fun foo() = 0
|
||||
}
|
||||
Reference in New Issue
Block a user