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
+14
View File
@@ -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<!>()
}