TrailingCommaInspection: should suggest fixes for call-site without warnings
#KT-39131 Fixed
This commit is contained in:
@@ -0,0 +1,9 @@
|
||||
// COMPILER_ARGUMENTS: -XXLanguage:+TrailingCommas
|
||||
// FIX: Add line break
|
||||
|
||||
fun a() {
|
||||
when (val b = 5) {
|
||||
1, 2,
|
||||
3, <caret>->
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user