Fix for KT-15447: Compiler backend error: "Don't know how to generate outer expression for class"
#KT-15447 Fixed
This commit is contained in:
@@ -0,0 +1,12 @@
|
||||
//WITH_RUNTIME
|
||||
|
||||
fun box(): String {
|
||||
var methodVar = "OK"
|
||||
|
||||
fun localMethod() : String
|
||||
{
|
||||
return lazy { methodVar }::value.get()
|
||||
}
|
||||
|
||||
return localMethod()
|
||||
}
|
||||
Reference in New Issue
Block a user