Test for not reproduced KT-2700
#KT-2700 Can't Reproduce
This commit is contained in:
@@ -0,0 +1,17 @@
|
||||
package a.b
|
||||
|
||||
trait Test {
|
||||
fun invoke(): String {
|
||||
return "OK"
|
||||
}
|
||||
}
|
||||
|
||||
private val a : Test = {
|
||||
object : Test {
|
||||
|
||||
}
|
||||
}()
|
||||
|
||||
fun box(): String {
|
||||
return a.invoke();
|
||||
}
|
||||
Reference in New Issue
Block a user