Minor, add test for obsolete issue
#KT-4228 Obsolete
This commit is contained in:
@@ -0,0 +1,14 @@
|
||||
class A {
|
||||
class object
|
||||
}
|
||||
|
||||
val foo: Any.() -> Unit = {}
|
||||
|
||||
fun test() {
|
||||
A.(foo)()
|
||||
}
|
||||
|
||||
fun box(): String {
|
||||
test()
|
||||
return "OK"
|
||||
}
|
||||
Reference in New Issue
Block a user