TrailingCommaPostFormatProcessor: improve findInvalidCommas
Add case for line break between argument and comma #KT-34744
This commit is contained in:
@@ -0,0 +1,9 @@
|
||||
// COMPILER_ARGUMENTS: -XXLanguage:+TrailingCommas
|
||||
// FIX: Fix comma position
|
||||
|
||||
val x = {
|
||||
x: Comparable<Comparable<Number>>,
|
||||
y: String
|
||||
<caret>,->
|
||||
val a = 42
|
||||
}
|
||||
Reference in New Issue
Block a user