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