Introduce "Boolean literal arguments" inspection #KT-2029 Fixed
This commit is contained in:
committed by
Mikhail Glukhikh
parent
aa9e48b9b6
commit
0d7116aa5d
@@ -0,0 +1,7 @@
|
||||
// PROBLEM: none
|
||||
// DISABLE-ERRORS
|
||||
fun foo(vararg a: Int, b: Boolean) {}
|
||||
|
||||
fun test() {
|
||||
foo(1, 2, 3, true<caret>)
|
||||
}
|
||||
Reference in New Issue
Block a user