Add tests for obsolete issues
#KT-12126 #KT-12189 #KT-23628 #KT-24209 #KT-34338 #KT-47279 #KT-48498
This commit is contained in:
@@ -0,0 +1,18 @@
|
||||
// FILE: 1.kt
|
||||
|
||||
package x
|
||||
|
||||
operator fun String.provideDelegate(thisRef: Any?, prop: Any?) = this
|
||||
|
||||
operator fun String.getValue(thisRef: Any?, prop: Any?) = this
|
||||
|
||||
inline fun foo(): String {
|
||||
val x by "OK"
|
||||
return x
|
||||
}
|
||||
|
||||
// FILE: 2.kt
|
||||
|
||||
import x.*
|
||||
|
||||
fun box(): String = foo()
|
||||
Reference in New Issue
Block a user