blob: 3ae944dca2a87eec51f516a88173193202a078e6 [file]
// WITH_STDLIB
// FILE: test.kt
val bar2 by <!UNRESOLVED_REFERENCE!>bar2<!>()
// FILE: lt/neworld/compiler/Foo.kt
package lt.neworld.compiler
class Foo {
val bar by <!UNRESOLVED_REFERENCE!>bar<!>()
}
// FILE: lt/neworld/compiler/bar/Bar.kt
package lt.neworld.compiler.bar
import kotlin.properties.ReadOnlyProperty
import kotlin.reflect.KProperty
fun <T, V> bar() = Bar<T, V>()
class Bar<T, V> : ReadOnlyProperty<T, V> {
override fun getValue(thisRef: T, property: KProperty<*>): V {
TODO("Not yet implemented")
}
}