Files
kotlin-fork/compiler/testData/diagnostics/tests/delegatedProperty/kt4640.kt
T

12 lines
278 B
Kotlin
Vendored

//KT-4640 "Trace is erased after resolution completion" exception
class ValueWrapper()
{
var backingValue: Int = 0
fun getValue() = backingValue
fun setValue(v: Int) { backingValue = v }
}
val foo by <!DELEGATE_SPECIAL_FUNCTION_NONE_APPLICABLE!>ValueWrapper()<!>