Intentions: Forbid conversion of vararg parameter to receiver
This commit is contained in:
@@ -0,0 +1,8 @@
|
||||
// IS_APPLICABLE: false
|
||||
fun foo(<caret>vararg s: String): Boolean = true
|
||||
|
||||
fun test() {
|
||||
foo()
|
||||
foo("1")
|
||||
foo("1", "2")
|
||||
}
|
||||
Reference in New Issue
Block a user