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()
|
||||
}
|
||||
+3
@@ -0,0 +1,3 @@
|
||||
public final class Kt15447Kt {
|
||||
public final static @org.jetbrains.annotations.NotNull method box(): java.lang.String
|
||||
}
|
||||
Reference in New Issue
Block a user