[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:
Dmitrii Gridin
2023-06-23 18:05:09 +02:00
committed by Space Team
parent df28bd1d79
commit 09ca335b7e
53 changed files with 931 additions and 763 deletions
@@ -0,0 +1,12 @@
// !DUMP_CFG
class OuterClass {
fun outerFunction() {}
val outerProperty = 1
val outerProperty2 = outerProperty
class NestedClass {
fun nestedFUnction() {}
val nestedProperty = 1
val nestedProperty2 = nestedProperty
}
}