Properly capture local functions
Local functions in local classed wasn't captured properly
This commit is contained in:
@@ -0,0 +1,14 @@
|
||||
//adopted snippet from kdoc
|
||||
open class KModel {
|
||||
val sourcesInfo: String
|
||||
;{
|
||||
fun relativePath(psiFile: String): String {
|
||||
return psiFile;
|
||||
}
|
||||
sourcesInfo = relativePath("OK")
|
||||
}
|
||||
}
|
||||
|
||||
fun box():String {
|
||||
return KModel().sourcesInfo;
|
||||
}
|
||||
Reference in New Issue
Block a user