Add regression test for SPREAD_OF_NULLABLE diagnostic
#KT-30808 Fixed
This commit is contained in:
@@ -62,4 +62,5 @@ fun k() {
|
|||||||
fun invokeTest(goodArgs: Array<String>) {
|
fun invokeTest(goodArgs: Array<String>) {
|
||||||
J.staticFun(*goodArgs)
|
J.staticFun(*goodArgs)
|
||||||
J.staticFun(<!SPREAD_OF_NULLABLE!>*<!>args)
|
J.staticFun(<!SPREAD_OF_NULLABLE!>*<!>args)
|
||||||
|
J.staticFun(<!SPREAD_OF_NULLABLE!>*<!>args <!USELESS_ELVIS_RIGHT_IS_NULL!>?: null<!>)
|
||||||
}
|
}
|
||||||
Reference in New Issue
Block a user