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