added 'mergeDataWithLocalDeclarations' option
for collecting variable data for pseudocode removed using data from outer context for local declarations for 'variable initializers' analysis
This commit is contained in:
@@ -0,0 +1,22 @@
|
||||
class TestFunctionLiteral {
|
||||
val sum: (Int)->Int = { (x: Int) ->
|
||||
sum(x - 1) + x
|
||||
}
|
||||
}
|
||||
|
||||
open class A(val a: A)
|
||||
|
||||
class TestObjectLiteral {
|
||||
val obj: A = object: A(obj) {
|
||||
{
|
||||
val x = obj
|
||||
}
|
||||
fun foo() {
|
||||
val y = obj
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
class TestOther {
|
||||
val x: Int = x + 1
|
||||
}
|
||||
Reference in New Issue
Block a user