Built-ins in IDE: update tests
KT-33233
This commit is contained in:
@@ -0,0 +1,17 @@
|
||||
// !DIAGNOSTICS: -UNUSED_VARIABLE
|
||||
|
||||
package mpp
|
||||
|
||||
import kotlin.reflect.KCallable
|
||||
|
||||
fun some() {
|
||||
val string: String = ""
|
||||
val any: Any = ""
|
||||
val callableRef: KCallable<*> = ::commonFun
|
||||
callableRef.name
|
||||
// should be unresolved
|
||||
callableRef.<!UNRESOLVED_REFERENCE!>call<!>()
|
||||
}
|
||||
|
||||
fun commonFun() {
|
||||
}
|
||||
Reference in New Issue
Block a user