[FIR] CFG: drop redundant edges
Edges from class to its functions and nested classes are redundant and lead to extra resolution work in lazy resolve mode ^KT-59600 Fixed
This commit is contained in:
committed by
Space Team
parent
df28bd1d79
commit
09ca335b7e
Vendored
+7
@@ -10,6 +10,7 @@ FILE: fromLocalMembers.kt
|
||||
public final fun test2(): R|kotlin/Unit| {
|
||||
lval x: R|kotlin/Int|
|
||||
lval y: R|kotlin/Int|
|
||||
lval z: R|kotlin/Int|
|
||||
object : R|kotlin/Any| {
|
||||
private constructor(): R|<anonymous>| {
|
||||
super<R|kotlin/Any|>()
|
||||
@@ -23,6 +24,12 @@ FILE: fromLocalMembers.kt
|
||||
R|<local>/y| = Int(0)
|
||||
}
|
||||
|
||||
public final val prop: R|kotlin/Int|
|
||||
public get(): R|kotlin/Int| {
|
||||
R|<local>/z| = Int(0)
|
||||
^ Int(2)
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
R|kotlin/io/println|(R|<local>/x|)
|
||||
|
||||
Reference in New Issue
Block a user