You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
import Foundation
letmyString="FOO"
switch myString {case"foo".uppercased(): // ← this triggers
print("shouty")default:
break
}
bash-3.2$ swiftlint version
0.19.0
bash-3.2$ swiftlint lint --path empty_enum_arguments.swift
Linting Swift files at path empty_enum_arguments.swift
Linting 'empty_enum_arguments.swift' (1/1)
/Users/zev/Desktop/empty_enum_arguments.swift:6:22: warning: Empty Enum Arguments Violation: Arguments can be omitted when matching enums with associated types if they are not used. (empty_enum_arguments)
Done linting! Found 1 violation, 0 serious in 1 file.
The text was updated successfully, but these errors were encountered:
Unrelated to #1549.
file:
The text was updated successfully, but these errors were encountered: