Built-ins in IDE: update tests

KT-33233
This commit is contained in:
Pavel Kirpichenkov
2020-12-11 12:53:02 +03:00
parent d6c27608ac
commit 2df4d26b37
10 changed files with 83 additions and 5 deletions
@@ -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() {
}