TrailingCommaInspection: report Missing trailing comma on argument
#KT-34744
This commit is contained in:
@@ -2,4 +2,4 @@
|
||||
// FIX: Add trailing comma
|
||||
|
||||
fun a(i: Int,
|
||||
b: Boolean)<caret> = Unit
|
||||
b: Boolea<caret>n) = Unit
|
||||
@@ -2,4 +2,4 @@
|
||||
// PROBLEM: none
|
||||
|
||||
fun a(i: Int,
|
||||
b: Boolea<caret>n) = Unit
|
||||
b: Boole<caret>an) = Unit
|
||||
@@ -2,4 +2,5 @@
|
||||
// PROBLEM: none
|
||||
|
||||
fun a(i: Int,
|
||||
b: Boolean) <caret>= Unit
|
||||
b: Boolean <caret>
|
||||
) = Unit
|
||||
Reference in New Issue
Block a user