[FIR] Infer type of lambda using all return statements

This commit is contained in:
Dmitriy Novozhilov
2019-11-15 14:57:51 +03:00
parent 99da7272f5
commit 98378d8973
51 changed files with 7293 additions and 8137 deletions
@@ -42,12 +42,13 @@ class CandidateFactory(
}
}
fun PostponedArgumentsAnalyzer.Context.addSubsystemFromExpression(expression: FirExpression) {
when (expression) {
fun PostponedArgumentsAnalyzer.Context.addSubsystemFromExpression(statement: FirStatement) {
when (statement) {
is FirFunctionCall, is FirQualifiedAccessExpression, is FirWhenExpression, is FirTryExpression, is FirCallableReferenceAccess ->
(expression as FirResolvable).candidate()?.let { addOtherSystem(it.system.asReadOnlyStorage()) }
is FirWrappedArgumentExpression -> addSubsystemFromExpression(expression.expression)
is FirBlock -> expression.returnExpressions().forEach { addSubsystemFromExpression(it) }
(statement as FirResolvable).candidate()?.let { addOtherSystem(it.system.asReadOnlyStorage()) }
is FirWrappedArgumentExpression -> addSubsystemFromExpression(statement.expression)
is FirBlock -> statement.returnExpressions().forEach { addSubsystemFromExpression(it) }
else -> {}
}
}
@@ -9,6 +9,7 @@ import org.jetbrains.kotlin.fir.FirCallResolver
import org.jetbrains.kotlin.fir.declarations.FirAnonymousFunction
import org.jetbrains.kotlin.fir.diagnostics.FirSimpleDiagnostic
import org.jetbrains.kotlin.fir.expressions.FirExpression
import org.jetbrains.kotlin.fir.expressions.FirStatement
import org.jetbrains.kotlin.fir.references.impl.FirErrorNamedReferenceImpl
import org.jetbrains.kotlin.fir.resolve.constructType
import org.jetbrains.kotlin.fir.resolve.diagnostics.FirUnresolvedReferenceError
@@ -37,7 +38,7 @@ interface LambdaAnalyzer {
expectedReturnType: ConeKotlinType?, // null means, that return type is not proper i.e. it depends on some type variables
rawReturnType: ConeKotlinType,
stubsForPostponedVariables: Map<TypeVariableMarker, StubTypeMarker>
): Pair<List<FirExpression>, InferenceSession>
): Pair<List<FirStatement>, InferenceSession>
}
@@ -142,6 +143,7 @@ class PostponedArgumentsAnalyzer(
val checkerSink: CheckerSink = CheckerSinkImpl(components)
val subResolvedKtPrimitives = returnArguments.map {
if (it !is FirExpression) return@map
var atom: PostponedResolvedAtomMarker? = null
candidate.resolveArgumentExpression(
c.getBuilder(),
@@ -22,7 +22,9 @@ import org.jetbrains.kotlin.fir.resolve.dfa.cfg.*
import org.jetbrains.kotlin.fir.resolve.dfa.contracts.buildContractFir
import org.jetbrains.kotlin.fir.resolve.dfa.contracts.createArgumentsMapping
import org.jetbrains.kotlin.fir.resolve.transformers.body.resolve.FirAbstractBodyResolveTransformer
import org.jetbrains.kotlin.fir.resolve.transformers.body.resolve.resultType
import org.jetbrains.kotlin.fir.resolve.withNullability
import org.jetbrains.kotlin.fir.resolvedTypeFromPrototype
import org.jetbrains.kotlin.fir.symbols.AbstractFirBasedSymbol
import org.jetbrains.kotlin.fir.symbols.CallableId
import org.jetbrains.kotlin.fir.symbols.impl.FirNamedFunctionSymbol
@@ -77,13 +79,16 @@ class FirDataFlowAnalyzer(private val components: FirAbstractBodyResolveTransfor
fun exitFunction(function: FirFunction<*>): ControlFlowGraph? {
val (node, graph) = graphBuilder.exitFunction(function)
node.mergeIncomingFlow()
if (function.body == null) {
node.mergeIncomingFlow()
}
for (valueParameter in function.valueParameters) {
variableStorage.removeRealVariable(valueParameter.symbol)
}
if (graphBuilder.isTopLevel()) {
flowOnNodes.clear()
variableStorage.reset()
graphBuilder.reset()
}
return graph
}
@@ -103,13 +108,33 @@ class FirDataFlowAnalyzer(private val components: FirAbstractBodyResolveTransfor
// ----------------------------------- Block -----------------------------------
fun enterBlock(block: FirBlock) {
graphBuilder.enterBlock(block).mergeIncomingFlow()
graphBuilder.enterBlock(block)?.mergeIncomingFlow()
}
fun exitBlock(block: FirBlock) {
graphBuilder.exitBlock(block).mergeIncomingFlow()
}
private fun FirElement.extractReturnType(target: FirFunction<*>?): ConeKotlinType? {
return when (this) {
is FirReturnExpression -> {
if (this.target.labeledElement == target) {
result.extractReturnType(target)
} else {
result.resultType.coneTypeSafe()
}
}
is FirExpression -> {
typeRef.coneTypeSafe()
}
else -> session.builtinTypes.unitType.type
}
}
fun returnExpressionsOfAnonymousFunction(function: FirAnonymousFunction): List<FirStatement> {
return graphBuilder.returnExpressionsOfAnonymousFunction(function)
}
// ----------------------------------- Operator call -----------------------------------
fun exitTypeOperatorCall(typeOperatorCall: FirTypeOperatorCall) {
@@ -45,6 +45,9 @@ class ControlFlowGraphBuilder {
private val exitSafeCallNodes: Stack<ExitSafeCallNode> = stackOf()
private val blocksOfFunctions: MutableMap<FirBlock, FirFunction<*>> = mutableMapOf()
private val exitsOfAnonymousFunctions: MutableMap<FirAnonymousFunction, FunctionExitNode> = mutableMapOf()
var levelCounter: Int = 0
private set
@@ -86,6 +89,9 @@ class ControlFlowGraphBuilder {
}
}
val exitNode = createFunctionExitNode(function, isInplace)
if (function is FirAnonymousFunction) {
exitsOfAnonymousFunctions[function] = exitNode
}
@Suppress("NON_EXHAUSTIVE_WHEN")
when (invocationKind) {
@@ -111,13 +117,14 @@ class ControlFlowGraphBuilder {
exitNodes.pop()
}
if (isInplace) {
addNewSimpleNode(exitNode)
val enterNode = functionEnterNodes.pop()
when (invocationKind) {
InvocationKind.AT_LEAST_ONCE, InvocationKind.UNKNOWN -> addEdge(exitNode, enterNode, propagateDeadness = false)
}
} else {
addEdge(lastNodes.pop(), exitNode)
if (function.body == null) {
addEdge(lastNodes.pop(), exitNode)
}
lexicalScopes.pop()
}
exitNode.markAsDeadIfNecessary()
@@ -129,15 +136,47 @@ class ControlFlowGraphBuilder {
return exitNode to graph
}
// ----------------------------------- Block -----------------------------------
fun returnExpressionsOfAnonymousFunction(function: FirAnonymousFunction): List<FirStatement> {
fun FirElement.extractArgument(): FirElement = when {
this is FirReturnExpression && target.labeledElement.symbol == function.symbol -> result.extractArgument()
else -> this
}
fun enterBlock(block: FirBlock): BlockEnterNode {
return createBlockEnterNode(block).also { addNewSimpleNode(it) }.also { levelCounter++ }
fun CFGNode<*>.extractArgument(): FirElement? = when(this) {
is FunctionEnterNode, is TryMainBlockEnterNode, is CatchClauseEnterNode -> null
is ExitSafeCallNode -> previousNodes.last().extractArgument()
is StubNode -> previousNodes.first().extractArgument()
else -> fir.extractArgument()
}
return exitsOfAnonymousFunctions.getValue(function).previousNodes.mapNotNull {
it.extractArgument() as FirStatement?
}
}
fun exitBlock(block: FirBlock): BlockExitNode {
levelCounter--
return createBlockExitNode(block).also { addNewSimpleNode(it) }
// ----------------------------------- Block -----------------------------------
fun enterBlock(block: FirBlock): BlockEnterNode? {
val lastNode = lastNode
return if (lastNode is FunctionEnterNode) {
blocksOfFunctions[block] = lastNode.fir
null
} else {
createBlockEnterNode(block).also { addNewSimpleNode(it) }.also { levelCounter++ }
}
}
fun exitBlock(block: FirBlock): CFGNode<*> {
val function = blocksOfFunctions.remove(block)
return if (function != null) {
functionExitNodes.top().also {
addEdge(lastNodes.pop(), it)
lastNodes.push(it)
it.markAsDeadIfNecessary()
}
} else {
levelCounter--
createBlockExitNode(block).also { addNewSimpleNode(it) }
}
}
// ----------------------------------- Property -----------------------------------
@@ -649,4 +688,8 @@ class ControlFlowGraphBuilder {
private fun InvocationKind?.isInplace(): Boolean {
return this != null
}
fun reset() {
exitsOfAnonymousFunctions.clear()
}
}
@@ -107,7 +107,7 @@ class FirCallCompleter(
expectedReturnType: ConeKotlinType?,
rawReturnType: ConeKotlinType,
stubsForPostponedVariables: Map<TypeVariableMarker, StubTypeMarker>
): Pair<List<FirExpression>, InferenceSession> {
): Pair<List<FirStatement>, InferenceSession> {
val needItParam = lambdaArgument.valueParameters.isEmpty() && parameters.size == 1
@@ -144,7 +144,8 @@ class FirCallCompleter(
replacements[lambdaArgument] =
newLambdaExpression.transformSingle(transformer, ResolutionMode.LambdaResolution(expectedReturnTypeRef))
return (newLambdaExpression.body?.returnExpressions() ?: emptyList()) to InferenceSession.default
val returnArguments = dataFlowAnalyzer.returnExpressionsOfAnonymousFunction(newLambdaExpression)
return returnArguments to InferenceSession.default
}
}
}
@@ -0,0 +1,23 @@
class StringBuilder {
fun append(s: String) {}
}
fun buildString(init: StringBuilder.() -> Unit): String {}
interface Template<in X>
class KDocTemplate : Template<StringBuilder> {
fun definition(content: StringBuilder.() -> Unit) {}
}
fun <U, T : Template<U>> U.insert(template: T, build: T.() -> Unit) {}
fun test(ordinal: Int) {
buildString {
insert(KDocTemplate()) {
definition {
ordinal?.let {}
}
}
}
}
@@ -0,0 +1,40 @@
FILE: lambdaInLambda.kt
public final class StringBuilder : R|kotlin/Any| {
public constructor(): R|StringBuilder| {
super<R|kotlin/Any|>()
}
public final fun append(s: R|kotlin/String|): R|kotlin/Unit| {
}
}
public final fun buildString(init: R|StringBuilder.() -> kotlin/Unit|): R|kotlin/String| {
}
public abstract interface Template<in X> : R|kotlin/Any| {
}
public final class KDocTemplate : R|Template<StringBuilder>| {
public constructor(): R|KDocTemplate| {
super<R|kotlin/Any|>()
}
public final fun definition(content: R|StringBuilder.() -> kotlin/Unit|): R|kotlin/Unit| {
}
}
public final fun <U, T : R|Template<U>|> R|U|.insert(template: R|T|, build: R|T.() -> kotlin/Unit|): R|kotlin/Unit| {
}
public final fun test(ordinal: R|kotlin/Int|): R|kotlin/Unit| {
R|/buildString|(<L> = buildString@fun R|StringBuilder|.<anonymous>(): R|kotlin/Unit| {
this@R|special/anonymous|.R|/insert|<R|StringBuilder|, R|KDocTemplate|>(R|/KDocTemplate.KDocTemplate|(), <L> = insert@fun R|KDocTemplate|.<anonymous>(): R|kotlin/Unit| {
this@R|/KDocTemplate|.R|/KDocTemplate.definition|(<L> = definition@fun R|StringBuilder|.<anonymous>(): R|kotlin/Unit| {
R|<local>/ordinal|?.R|kotlin/let|<R|kotlin/Int|, R|kotlin/Unit|>(<L> = let@fun <anonymous>(it: R|kotlin/Int|): R|kotlin/Unit| <kind=EXACTLY_ONCE> {
Unit
}
)
}
)
}
)
}
)
}
@@ -0,0 +1,26 @@
// FILE: Function.java
public interface Function<Param, Result> {
Result fun(Param param);
}
// FILE: AdapterProcessor.java
public class AdapterProcessor<T, S> {
public AdapterProcessor(Function<? super T, ? extends S> conversion) {}
}
// FILE: main.kt
interface PsiMethod {
val containingClass: PsiClass?
}
interface PsiClass
fun test() {
val processor = AdapterProcessor<PsiMethod, PsiClass>(
Function { method: PsiMethod? -> method?.containingClass }
)
}
@@ -0,0 +1,14 @@
FILE: main.kt
public abstract interface PsiMethod : R|kotlin/Any| {
public abstract val containingClass: R|PsiClass?|
public get(): R|PsiClass?|
}
public abstract interface PsiClass : R|kotlin/Any| {
}
public final fun test(): R|kotlin/Unit| {
lval processor: R|AdapterProcessor<PsiMethod, PsiClass>| = R|/AdapterProcessor.AdapterProcessor|<R|PsiMethod|, R|PsiClass|>(R|/Function|<R|PsiMethod|, R|ft<PsiClass, PsiClass?>!|>(<L> = Function@fun <anonymous>(method: R|PsiMethod?|): R|PsiClass?| {
R|<local>/method|?.R|/PsiMethod.containingClass|
}
))
}
@@ -0,0 +1,13 @@
fun <T> myRun(block: () -> T): T = block()
fun foo() {}
fun test() {
myRun {
try {
val x = 1
} catch(e: Exception) {
foo()
}
}
}
@@ -0,0 +1,18 @@
FILE: tryInLambda.kt
public final fun <T> myRun(block: R|() -> T|): R|T| {
^myRun R|<local>/block|.R|FakeOverride<kotlin/Function0.invoke: R|T|>|()
}
public final fun foo(): R|kotlin/Unit| {
}
public final fun test(): R|kotlin/Unit| {
R|/myRun|<R|kotlin/Unit|>(<L> = myRun@fun <anonymous>(): R|kotlin/Unit| {
try {
lval x: R|kotlin/Int| = Int(1)
}
catch (e: R|kotlin/Exception|) {
R|/foo|()
}
}
)
}
+159 -187
View File
@@ -8,38 +8,33 @@ digraph binaryOperations_kt {
0 [label="Enter function test_1" style="filled" fillcolor=red];
subgraph cluster_1 {
color=blue
1 [label="Enter block"];
1 [label="Enter when"];
subgraph cluster_2 {
color=blue
2 [label="Enter when"];
2 [label="Enter when branch condition "];
subgraph cluster_3 {
color=blue
3 [label="Enter when branch condition "];
subgraph cluster_4 {
color=blue
4 [label="Enter ||"];
5 [label="Access variable R|<local>/b1|"];
6 [label="Exit left part of ||"];
7 [label="Enter right part of ||"];
8 [label="Access variable R|<local>/b2|"];
9 [label="Exit ||"];
}
10 [label="Exit when branch condition"];
3 [label="Enter ||"];
4 [label="Access variable R|<local>/b1|"];
5 [label="Exit left part of ||"];
6 [label="Enter right part of ||"];
7 [label="Access variable R|<local>/b2|"];
8 [label="Exit ||"];
}
11 [label="Synthetic else branch"];
12 [label="Enter when branch result"];
subgraph cluster_5 {
color=blue
13 [label="Enter block"];
14 [label="Const: Int(1)"];
15 [label="Exit block"];
}
16 [label="Exit when branch result"];
17 [label="Exit when"];
9 [label="Exit when branch condition"];
}
18 [label="Exit block"];
10 [label="Synthetic else branch"];
11 [label="Enter when branch result"];
subgraph cluster_4 {
color=blue
12 [label="Enter block"];
13 [label="Const: Int(1)"];
14 [label="Exit block"];
}
15 [label="Exit when branch result"];
16 [label="Exit when"];
}
19 [label="Exit function test_1" style="filled" fillcolor=red];
17 [label="Exit function test_1" style="filled" fillcolor=red];
}
0 -> {1};
@@ -47,222 +42,199 @@ digraph binaryOperations_kt {
2 -> {3};
3 -> {4};
4 -> {5};
5 -> {6};
6 -> {9 7};
5 -> {8 6};
6 -> {7};
7 -> {8};
8 -> {9};
9 -> {10};
10 -> {12 11};
11 -> {17};
9 -> {11 10};
10 -> {16};
11 -> {12};
12 -> {13};
13 -> {14};
14 -> {15};
15 -> {16};
16 -> {17};
17 -> {18};
18 -> {19};
subgraph cluster_6 {
subgraph cluster_5 {
color=red
20 [label="Enter function test_2" style="filled" fillcolor=red];
subgraph cluster_7 {
18 [label="Enter function test_2" style="filled" fillcolor=red];
subgraph cluster_6 {
color=blue
21 [label="Enter block"];
subgraph cluster_8 {
19 [label="Enter when"];
subgraph cluster_7 {
color=blue
22 [label="Enter when"];
subgraph cluster_9 {
20 [label="Enter when branch condition "];
subgraph cluster_8 {
color=blue
23 [label="Enter when branch condition "];
subgraph cluster_10 {
color=blue
24 [label="Enter &&"];
25 [label="Access variable R|<local>/b1|"];
26 [label="Exit left part of &&"];
27 [label="Enter right part of &&"];
28 [label="Access variable R|<local>/b2|"];
29 [label="Exit &&"];
}
30 [label="Exit when branch condition"];
21 [label="Enter &&"];
22 [label="Access variable R|<local>/b1|"];
23 [label="Exit left part of &&"];
24 [label="Enter right part of &&"];
25 [label="Access variable R|<local>/b2|"];
26 [label="Exit &&"];
}
31 [label="Synthetic else branch"];
32 [label="Enter when branch result"];
subgraph cluster_11 {
color=blue
33 [label="Enter block"];
34 [label="Const: Int(1)"];
35 [label="Exit block"];
}
36 [label="Exit when branch result"];
37 [label="Exit when"];
27 [label="Exit when branch condition"];
}
38 [label="Exit block"];
28 [label="Synthetic else branch"];
29 [label="Enter when branch result"];
subgraph cluster_9 {
color=blue
30 [label="Enter block"];
31 [label="Const: Int(1)"];
32 [label="Exit block"];
}
33 [label="Exit when branch result"];
34 [label="Exit when"];
}
39 [label="Exit function test_2" style="filled" fillcolor=red];
35 [label="Exit function test_2" style="filled" fillcolor=red];
}
18 -> {19};
19 -> {20};
20 -> {21};
21 -> {22};
22 -> {23};
23 -> {24};
23 -> {26 24};
24 -> {25};
25 -> {26};
26 -> {29 27};
27 -> {28};
28 -> {29};
26 -> {27};
27 -> {29 28};
28 -> {34};
29 -> {30};
30 -> {32 31};
31 -> {37};
30 -> {31};
31 -> {32};
32 -> {33};
33 -> {34};
34 -> {35};
35 -> {36};
subgraph cluster_10 {
color=red
36 [label="Enter function test_3" style="filled" fillcolor=red];
subgraph cluster_11 {
color=blue
37 [label="Enter when"];
subgraph cluster_12 {
color=blue
38 [label="Enter when branch condition "];
subgraph cluster_13 {
color=blue
39 [label="Enter ||"];
subgraph cluster_14 {
color=blue
40 [label="Enter &&"];
41 [label="Access variable R|<local>/b1|"];
42 [label="Exit left part of &&"];
43 [label="Enter right part of &&"];
44 [label="Access variable R|<local>/b2|"];
45 [label="Exit &&"];
}
46 [label="Exit left part of ||"];
47 [label="Enter right part of ||"];
48 [label="Access variable R|<local>/b3|"];
49 [label="Exit ||"];
}
50 [label="Exit when branch condition"];
}
51 [label="Synthetic else branch"];
52 [label="Enter when branch result"];
subgraph cluster_15 {
color=blue
53 [label="Enter block"];
54 [label="Const: Int(1)"];
55 [label="Exit block"];
}
56 [label="Exit when branch result"];
57 [label="Exit when"];
}
58 [label="Exit function test_3" style="filled" fillcolor=red];
}
36 -> {37};
37 -> {38};
38 -> {39};
subgraph cluster_12 {
color=red
40 [label="Enter function test_3" style="filled" fillcolor=red];
subgraph cluster_13 {
color=blue
41 [label="Enter block"];
subgraph cluster_14 {
color=blue
42 [label="Enter when"];
subgraph cluster_15 {
color=blue
43 [label="Enter when branch condition "];
subgraph cluster_16 {
color=blue
44 [label="Enter ||"];
subgraph cluster_17 {
color=blue
45 [label="Enter &&"];
46 [label="Access variable R|<local>/b1|"];
47 [label="Exit left part of &&"];
48 [label="Enter right part of &&"];
49 [label="Access variable R|<local>/b2|"];
50 [label="Exit &&"];
}
51 [label="Exit left part of ||"];
52 [label="Enter right part of ||"];
53 [label="Access variable R|<local>/b3|"];
54 [label="Exit ||"];
}
55 [label="Exit when branch condition"];
}
56 [label="Synthetic else branch"];
57 [label="Enter when branch result"];
subgraph cluster_18 {
color=blue
58 [label="Enter block"];
59 [label="Const: Int(1)"];
60 [label="Exit block"];
}
61 [label="Exit when branch result"];
62 [label="Exit when"];
}
63 [label="Exit block"];
}
64 [label="Exit function test_3" style="filled" fillcolor=red];
}
39 -> {40};
40 -> {41};
41 -> {42};
42 -> {43};
42 -> {45 43};
43 -> {44};
44 -> {45};
45 -> {46};
46 -> {47};
47 -> {50 48};
46 -> {49 47};
47 -> {48};
48 -> {49};
49 -> {50};
50 -> {51};
51 -> {54 52};
50 -> {52 51};
51 -> {57};
52 -> {53};
53 -> {54};
54 -> {55};
55 -> {57 56};
56 -> {62};
55 -> {56};
56 -> {57};
57 -> {58};
58 -> {59};
subgraph cluster_16 {
color=red
59 [label="Enter function test_4" style="filled" fillcolor=red];
subgraph cluster_17 {
color=blue
60 [label="Enter when"];
subgraph cluster_18 {
color=blue
61 [label="Enter when branch condition "];
subgraph cluster_19 {
color=blue
62 [label="Enter ||"];
63 [label="Access variable R|<local>/b1|"];
64 [label="Exit left part of ||"];
65 [label="Enter right part of ||"];
subgraph cluster_20 {
color=blue
66 [label="Enter &&"];
67 [label="Access variable R|<local>/b2|"];
68 [label="Exit left part of &&"];
69 [label="Enter right part of &&"];
70 [label="Access variable R|<local>/b3|"];
71 [label="Exit &&"];
}
72 [label="Exit ||"];
}
73 [label="Exit when branch condition"];
}
74 [label="Synthetic else branch"];
75 [label="Enter when branch result"];
subgraph cluster_21 {
color=blue
76 [label="Enter block"];
77 [label="Const: Int(1)"];
78 [label="Exit block"];
}
79 [label="Exit when branch result"];
80 [label="Exit when"];
}
81 [label="Exit function test_4" style="filled" fillcolor=red];
}
59 -> {60};
60 -> {61};
61 -> {62};
62 -> {63};
63 -> {64};
subgraph cluster_19 {
color=red
65 [label="Enter function test_4" style="filled" fillcolor=red];
subgraph cluster_20 {
color=blue
66 [label="Enter block"];
subgraph cluster_21 {
color=blue
67 [label="Enter when"];
subgraph cluster_22 {
color=blue
68 [label="Enter when branch condition "];
subgraph cluster_23 {
color=blue
69 [label="Enter ||"];
70 [label="Access variable R|<local>/b1|"];
71 [label="Exit left part of ||"];
72 [label="Enter right part of ||"];
subgraph cluster_24 {
color=blue
73 [label="Enter &&"];
74 [label="Access variable R|<local>/b2|"];
75 [label="Exit left part of &&"];
76 [label="Enter right part of &&"];
77 [label="Access variable R|<local>/b3|"];
78 [label="Exit &&"];
}
79 [label="Exit ||"];
}
80 [label="Exit when branch condition"];
}
81 [label="Synthetic else branch"];
82 [label="Enter when branch result"];
subgraph cluster_25 {
color=blue
83 [label="Enter block"];
84 [label="Const: Int(1)"];
85 [label="Exit block"];
}
86 [label="Exit when branch result"];
87 [label="Exit when"];
}
88 [label="Exit block"];
}
89 [label="Exit function test_4" style="filled" fillcolor=red];
}
64 -> {72 65};
65 -> {66};
66 -> {67};
67 -> {68};
68 -> {69};
68 -> {71 69};
69 -> {70};
70 -> {71};
71 -> {79 72};
71 -> {72};
72 -> {73};
73 -> {74};
74 -> {75};
75 -> {78 76};
73 -> {75 74};
74 -> {80};
75 -> {76};
76 -> {77};
77 -> {78};
78 -> {79};
79 -> {80};
80 -> {82 81};
81 -> {87};
82 -> {83};
83 -> {84};
84 -> {85};
85 -> {86};
86 -> {87};
87 -> {88};
88 -> {89};
80 -> {81};
}
@@ -8,38 +8,33 @@ digraph booleanOperatorsWithConsts_kt {
0 [label="Enter function test_1" style="filled" fillcolor=red];
subgraph cluster_1 {
color=blue
1 [label="Enter block"];
1 [label="Enter when"];
subgraph cluster_2 {
color=blue
2 [label="Enter when"];
2 [label="Enter when branch condition "];
subgraph cluster_3 {
color=blue
3 [label="Enter when branch condition "];
subgraph cluster_4 {
color=blue
4 [label="Enter ||"];
5 [label="Access variable R|<local>/b|"];
6 [label="Exit left part of ||"];
7 [label="Enter right part of ||"];
8 [label="Const: Boolean(false)"];
9 [label="Exit ||"];
}
10 [label="Exit when branch condition"];
3 [label="Enter ||"];
4 [label="Access variable R|<local>/b|"];
5 [label="Exit left part of ||"];
6 [label="Enter right part of ||"];
7 [label="Const: Boolean(false)"];
8 [label="Exit ||"];
}
11 [label="Synthetic else branch"];
12 [label="Enter when branch result"];
subgraph cluster_5 {
color=blue
13 [label="Enter block"];
14 [label="Const: Int(1)"];
15 [label="Exit block"];
}
16 [label="Exit when branch result"];
17 [label="Exit when"];
9 [label="Exit when branch condition"];
}
18 [label="Exit block"];
10 [label="Synthetic else branch"];
11 [label="Enter when branch result"];
subgraph cluster_4 {
color=blue
12 [label="Enter block"];
13 [label="Const: Int(1)"];
14 [label="Exit block"];
}
15 [label="Exit when branch result"];
16 [label="Exit when"];
}
19 [label="Exit function test_1" style="filled" fillcolor=red];
17 [label="Exit function test_1" style="filled" fillcolor=red];
}
0 -> {1};
@@ -47,444 +42,393 @@ digraph booleanOperatorsWithConsts_kt {
2 -> {3};
3 -> {4};
4 -> {5};
5 -> {6};
6 -> {9 7};
5 -> {8 6};
6 -> {7};
7 -> {8};
8 -> {9};
9 -> {10};
10 -> {12 11};
11 -> {17};
9 -> {11 10};
10 -> {16};
11 -> {12};
12 -> {13};
13 -> {14};
14 -> {15};
15 -> {16};
16 -> {17};
17 -> {18};
18 -> {19};
subgraph cluster_6 {
subgraph cluster_5 {
color=red
20 [label="Enter function test_2" style="filled" fillcolor=red];
subgraph cluster_7 {
18 [label="Enter function test_2" style="filled" fillcolor=red];
subgraph cluster_6 {
color=blue
21 [label="Enter block"];
subgraph cluster_8 {
19 [label="Enter when"];
subgraph cluster_7 {
color=blue
22 [label="Enter when"];
subgraph cluster_9 {
20 [label="Enter when branch condition "];
subgraph cluster_8 {
color=blue
23 [label="Enter when branch condition "];
subgraph cluster_10 {
color=blue
24 [label="Enter ||"];
25 [label="Const: Boolean(false)"];
26 [label="Exit left part of ||"];
27 [label="Enter right part of ||"];
28 [label="Access variable R|<local>/b|"];
29 [label="Stub" style="filled" fillcolor=gray];
30 [label="Exit ||"];
}
31 [label="Exit when branch condition"];
21 [label="Enter ||"];
22 [label="Const: Boolean(false)"];
23 [label="Exit left part of ||"];
24 [label="Enter right part of ||"];
25 [label="Access variable R|<local>/b|"];
26 [label="Stub" style="filled" fillcolor=gray];
27 [label="Exit ||"];
}
32 [label="Synthetic else branch"];
33 [label="Enter when branch result"];
subgraph cluster_11 {
color=blue
34 [label="Enter block"];
35 [label="Const: Int(1)"];
36 [label="Exit block"];
}
37 [label="Exit when branch result"];
38 [label="Exit when"];
28 [label="Exit when branch condition"];
}
39 [label="Exit block"];
29 [label="Synthetic else branch"];
30 [label="Enter when branch result"];
subgraph cluster_9 {
color=blue
31 [label="Enter block"];
32 [label="Const: Int(1)"];
33 [label="Exit block"];
}
34 [label="Exit when branch result"];
35 [label="Exit when"];
}
40 [label="Exit function test_2" style="filled" fillcolor=red];
36 [label="Exit function test_2" style="filled" fillcolor=red];
}
18 -> {19};
19 -> {20};
20 -> {21};
21 -> {22};
22 -> {23};
23 -> {24};
23 -> {26} [style=dotted];
24 -> {25};
25 -> {26};
26 -> {27};
26 -> {29} [style=dotted];
25 -> {27};
26 -> {27} [style=dotted];
27 -> {28};
28 -> {30};
29 -> {30} [style=dotted];
28 -> {30 29};
29 -> {35};
30 -> {31};
31 -> {33 32};
32 -> {38};
31 -> {32};
32 -> {33};
33 -> {34};
34 -> {35};
35 -> {36};
36 -> {37};
subgraph cluster_10 {
color=red
37 [label="Enter function test_3" style="filled" fillcolor=red];
subgraph cluster_11 {
color=blue
38 [label="Enter when"];
subgraph cluster_12 {
color=blue
39 [label="Enter when branch condition "];
subgraph cluster_13 {
color=blue
40 [label="Enter ||"];
41 [label="Access variable R|<local>/b|"];
42 [label="Exit left part of ||"];
43 [label="Enter right part of ||"];
44 [label="Const: Boolean(true)"];
45 [label="Exit ||"];
}
46 [label="Exit when branch condition"];
}
47 [label="Synthetic else branch"];
48 [label="Enter when branch result"];
subgraph cluster_14 {
color=blue
49 [label="Enter block"];
50 [label="Const: Int(1)"];
51 [label="Exit block"];
}
52 [label="Exit when branch result"];
53 [label="Exit when"];
}
54 [label="Exit function test_3" style="filled" fillcolor=red];
}
37 -> {38};
38 -> {39};
39 -> {40};
subgraph cluster_12 {
color=red
41 [label="Enter function test_3" style="filled" fillcolor=red];
subgraph cluster_13 {
color=blue
42 [label="Enter block"];
subgraph cluster_14 {
color=blue
43 [label="Enter when"];
subgraph cluster_15 {
color=blue
44 [label="Enter when branch condition "];
subgraph cluster_16 {
color=blue
45 [label="Enter ||"];
46 [label="Access variable R|<local>/b|"];
47 [label="Exit left part of ||"];
48 [label="Enter right part of ||"];
49 [label="Const: Boolean(true)"];
50 [label="Exit ||"];
}
51 [label="Exit when branch condition"];
}
52 [label="Synthetic else branch"];
53 [label="Enter when branch result"];
subgraph cluster_17 {
color=blue
54 [label="Enter block"];
55 [label="Const: Int(1)"];
56 [label="Exit block"];
}
57 [label="Exit when branch result"];
58 [label="Exit when"];
}
59 [label="Exit block"];
}
60 [label="Exit function test_3" style="filled" fillcolor=red];
}
40 -> {41};
41 -> {42};
42 -> {43};
42 -> {45 43};
43 -> {44};
44 -> {45};
45 -> {46};
46 -> {47};
47 -> {50 48};
46 -> {48 47};
47 -> {53};
48 -> {49};
49 -> {50};
50 -> {51};
51 -> {53 52};
52 -> {58};
51 -> {52};
52 -> {53};
53 -> {54};
54 -> {55};
subgraph cluster_15 {
color=red
55 [label="Enter function test_4" style="filled" fillcolor=red];
subgraph cluster_16 {
color=blue
56 [label="Enter when"];
subgraph cluster_17 {
color=blue
57 [label="Enter when branch condition "];
subgraph cluster_18 {
color=blue
58 [label="Enter ||"];
59 [label="Const: Boolean(true)"];
60 [label="Exit left part of ||"];
61 [label="Stub" style="filled" fillcolor=gray];
62 [label="Enter right part of ||" style="filled" fillcolor=gray];
63 [label="Access variable R|<local>/b|" style="filled" fillcolor=gray];
64 [label="Exit ||"];
}
65 [label="Exit when branch condition"];
}
66 [label="Synthetic else branch"];
67 [label="Enter when branch result"];
subgraph cluster_19 {
color=blue
68 [label="Enter block"];
69 [label="Const: Int(1)"];
70 [label="Exit block"];
}
71 [label="Exit when branch result"];
72 [label="Exit when"];
}
73 [label="Exit function test_4" style="filled" fillcolor=red];
}
55 -> {56};
56 -> {57};
57 -> {58};
58 -> {59};
59 -> {60};
60 -> {64};
60 -> {61} [style=dotted];
61 -> {62} [style=dotted];
62 -> {63} [style=dotted];
63 -> {64} [style=dotted];
64 -> {65};
65 -> {67 66};
66 -> {72};
67 -> {68};
68 -> {69};
69 -> {70};
70 -> {71};
71 -> {72};
72 -> {73};
subgraph cluster_18 {
subgraph cluster_20 {
color=red
61 [label="Enter function test_4" style="filled" fillcolor=red];
subgraph cluster_19 {
74 [label="Enter function test_5" style="filled" fillcolor=red];
subgraph cluster_21 {
color=blue
62 [label="Enter block"];
subgraph cluster_20 {
75 [label="Enter when"];
subgraph cluster_22 {
color=blue
63 [label="Enter when"];
subgraph cluster_21 {
color=blue
64 [label="Enter when branch condition "];
subgraph cluster_22 {
color=blue
65 [label="Enter ||"];
66 [label="Const: Boolean(true)"];
67 [label="Exit left part of ||"];
68 [label="Stub" style="filled" fillcolor=gray];
69 [label="Enter right part of ||" style="filled" fillcolor=gray];
70 [label="Access variable R|<local>/b|" style="filled" fillcolor=gray];
71 [label="Exit ||"];
}
72 [label="Exit when branch condition"];
}
73 [label="Synthetic else branch"];
74 [label="Enter when branch result"];
76 [label="Enter when branch condition "];
subgraph cluster_23 {
color=blue
75 [label="Enter block"];
76 [label="Const: Int(1)"];
77 [label="Exit block"];
77 [label="Enter &&"];
78 [label="Access variable R|<local>/b|"];
79 [label="Exit left part of &&"];
80 [label="Enter right part of &&"];
81 [label="Const: Boolean(false)"];
82 [label="Exit &&"];
}
78 [label="Exit when branch result"];
79 [label="Exit when"];
83 [label="Exit when branch condition"];
}
80 [label="Exit block"];
84 [label="Synthetic else branch"];
85 [label="Enter when branch result"];
subgraph cluster_24 {
color=blue
86 [label="Enter block"];
87 [label="Const: Int(1)"];
88 [label="Exit block"];
}
89 [label="Exit when branch result"];
90 [label="Exit when"];
}
81 [label="Exit function test_4" style="filled" fillcolor=red];
91 [label="Exit function test_5" style="filled" fillcolor=red];
}
61 -> {62};
62 -> {63};
63 -> {64};
64 -> {65};
65 -> {66};
66 -> {67};
67 -> {71};
67 -> {68} [style=dotted];
68 -> {69} [style=dotted];
69 -> {70} [style=dotted];
70 -> {71} [style=dotted];
71 -> {72};
72 -> {74 73};
73 -> {79};
74 -> {75};
75 -> {76};
76 -> {77};
77 -> {78};
78 -> {79};
79 -> {80};
79 -> {82 80};
80 -> {81};
subgraph cluster_24 {
color=red
82 [label="Enter function test_5" style="filled" fillcolor=red];
subgraph cluster_25 {
color=blue
83 [label="Enter block"];
subgraph cluster_26 {
color=blue
84 [label="Enter when"];
subgraph cluster_27 {
color=blue
85 [label="Enter when branch condition "];
subgraph cluster_28 {
color=blue
86 [label="Enter &&"];
87 [label="Access variable R|<local>/b|"];
88 [label="Exit left part of &&"];
89 [label="Enter right part of &&"];
90 [label="Const: Boolean(false)"];
91 [label="Exit &&"];
}
92 [label="Exit when branch condition"];
}
93 [label="Synthetic else branch"];
94 [label="Enter when branch result"];
subgraph cluster_29 {
color=blue
95 [label="Enter block"];
96 [label="Const: Int(1)"];
97 [label="Exit block"];
}
98 [label="Exit when branch result"];
99 [label="Exit when"];
}
100 [label="Exit block"];
}
101 [label="Exit function test_5" style="filled" fillcolor=red];
}
81 -> {82};
82 -> {83};
83 -> {84};
84 -> {85};
83 -> {85 84};
84 -> {90};
85 -> {86};
86 -> {87};
87 -> {88};
88 -> {91 89};
88 -> {89};
89 -> {90};
90 -> {91};
91 -> {92};
92 -> {94 93};
93 -> {99};
subgraph cluster_25 {
color=red
92 [label="Enter function test_6" style="filled" fillcolor=red];
subgraph cluster_26 {
color=blue
93 [label="Enter when"];
subgraph cluster_27 {
color=blue
94 [label="Enter when branch condition "];
subgraph cluster_28 {
color=blue
95 [label="Enter &&"];
96 [label="Const: Boolean(false)"];
97 [label="Exit left part of &&"];
98 [label="Stub" style="filled" fillcolor=gray];
99 [label="Enter right part of &&" style="filled" fillcolor=gray];
100 [label="Access variable R|<local>/b|" style="filled" fillcolor=gray];
101 [label="Exit &&"];
}
102 [label="Exit when branch condition"];
}
103 [label="Synthetic else branch"];
104 [label="Enter when branch result"];
subgraph cluster_29 {
color=blue
105 [label="Enter block"];
106 [label="Const: Int(1)"];
107 [label="Exit block"];
}
108 [label="Exit when branch result"];
109 [label="Exit when"];
}
110 [label="Exit function test_6" style="filled" fillcolor=red];
}
92 -> {93};
93 -> {94};
94 -> {95};
95 -> {96};
96 -> {97};
97 -> {98};
98 -> {99};
99 -> {100};
100 -> {101};
subgraph cluster_30 {
color=red
102 [label="Enter function test_6" style="filled" fillcolor=red];
subgraph cluster_31 {
color=blue
103 [label="Enter block"];
subgraph cluster_32 {
color=blue
104 [label="Enter when"];
subgraph cluster_33 {
color=blue
105 [label="Enter when branch condition "];
subgraph cluster_34 {
color=blue
106 [label="Enter &&"];
107 [label="Const: Boolean(false)"];
108 [label="Exit left part of &&"];
109 [label="Stub" style="filled" fillcolor=gray];
110 [label="Enter right part of &&" style="filled" fillcolor=gray];
111 [label="Access variable R|<local>/b|" style="filled" fillcolor=gray];
112 [label="Exit &&"];
}
113 [label="Exit when branch condition"];
}
114 [label="Synthetic else branch"];
115 [label="Enter when branch result"];
subgraph cluster_35 {
color=blue
116 [label="Enter block"];
117 [label="Const: Int(1)"];
118 [label="Exit block"];
}
119 [label="Exit when branch result"];
120 [label="Exit when"];
}
121 [label="Exit block"];
}
122 [label="Exit function test_6" style="filled" fillcolor=red];
}
102 -> {103};
103 -> {104};
97 -> {101};
97 -> {98} [style=dotted];
98 -> {99} [style=dotted];
99 -> {100} [style=dotted];
100 -> {101} [style=dotted];
101 -> {102};
102 -> {104 103};
103 -> {109};
104 -> {105};
105 -> {106};
106 -> {107};
107 -> {108};
108 -> {112};
108 -> {109} [style=dotted];
109 -> {110} [style=dotted];
110 -> {111} [style=dotted];
111 -> {112} [style=dotted];
108 -> {109};
109 -> {110};
subgraph cluster_30 {
color=red
111 [label="Enter function test_7" style="filled" fillcolor=red];
subgraph cluster_31 {
color=blue
112 [label="Enter when"];
subgraph cluster_32 {
color=blue
113 [label="Enter when branch condition "];
subgraph cluster_33 {
color=blue
114 [label="Enter &&"];
115 [label="Access variable R|<local>/b|"];
116 [label="Exit left part of &&"];
117 [label="Enter right part of &&"];
118 [label="Const: Boolean(true)"];
119 [label="Exit &&"];
}
120 [label="Exit when branch condition"];
}
121 [label="Synthetic else branch"];
122 [label="Enter when branch result"];
subgraph cluster_34 {
color=blue
123 [label="Enter block"];
124 [label="Const: Int(1)"];
125 [label="Exit block"];
}
126 [label="Exit when branch result"];
127 [label="Exit when"];
}
128 [label="Exit function test_7" style="filled" fillcolor=red];
}
111 -> {112};
112 -> {113};
113 -> {115 114};
114 -> {120};
113 -> {114};
114 -> {115};
115 -> {116};
116 -> {117};
116 -> {119 117};
117 -> {118};
118 -> {119};
119 -> {120};
120 -> {121};
121 -> {122};
subgraph cluster_36 {
color=red
123 [label="Enter function test_7" style="filled" fillcolor=red];
subgraph cluster_37 {
color=blue
124 [label="Enter block"];
subgraph cluster_38 {
color=blue
125 [label="Enter when"];
subgraph cluster_39 {
color=blue
126 [label="Enter when branch condition "];
subgraph cluster_40 {
color=blue
127 [label="Enter &&"];
128 [label="Access variable R|<local>/b|"];
129 [label="Exit left part of &&"];
130 [label="Enter right part of &&"];
131 [label="Const: Boolean(true)"];
132 [label="Exit &&"];
}
133 [label="Exit when branch condition"];
}
134 [label="Synthetic else branch"];
135 [label="Enter when branch result"];
subgraph cluster_41 {
color=blue
136 [label="Enter block"];
137 [label="Const: Int(1)"];
138 [label="Exit block"];
}
139 [label="Exit when branch result"];
140 [label="Exit when"];
}
141 [label="Exit block"];
}
142 [label="Exit function test_7" style="filled" fillcolor=red];
}
120 -> {122 121};
121 -> {127};
122 -> {123};
123 -> {124};
124 -> {125};
125 -> {126};
126 -> {127};
127 -> {128};
128 -> {129};
129 -> {132 130};
subgraph cluster_35 {
color=red
129 [label="Enter function test_8" style="filled" fillcolor=red];
subgraph cluster_36 {
color=blue
130 [label="Enter when"];
subgraph cluster_37 {
color=blue
131 [label="Enter when branch condition "];
subgraph cluster_38 {
color=blue
132 [label="Enter &&"];
133 [label="Const: Boolean(true)"];
134 [label="Exit left part of &&"];
135 [label="Enter right part of &&"];
136 [label="Access variable R|<local>/b|"];
137 [label="Stub" style="filled" fillcolor=gray];
138 [label="Exit &&"];
}
139 [label="Exit when branch condition"];
}
140 [label="Synthetic else branch"];
141 [label="Enter when branch result"];
subgraph cluster_39 {
color=blue
142 [label="Enter block"];
143 [label="Const: Int(1)"];
144 [label="Exit block"];
}
145 [label="Exit when branch result"];
146 [label="Exit when"];
}
147 [label="Exit function test_8" style="filled" fillcolor=red];
}
129 -> {130};
130 -> {131};
131 -> {132};
132 -> {133};
133 -> {135 134};
134 -> {140};
133 -> {134};
134 -> {135};
134 -> {137} [style=dotted];
135 -> {136};
136 -> {137};
137 -> {138};
136 -> {138};
137 -> {138} [style=dotted];
138 -> {139};
139 -> {140};
140 -> {141};
139 -> {141 140};
140 -> {146};
141 -> {142};
subgraph cluster_42 {
color=red
143 [label="Enter function test_8" style="filled" fillcolor=red];
subgraph cluster_43 {
color=blue
144 [label="Enter block"];
subgraph cluster_44 {
color=blue
145 [label="Enter when"];
subgraph cluster_45 {
color=blue
146 [label="Enter when branch condition "];
subgraph cluster_46 {
color=blue
147 [label="Enter &&"];
148 [label="Const: Boolean(true)"];
149 [label="Exit left part of &&"];
150 [label="Enter right part of &&"];
151 [label="Access variable R|<local>/b|"];
152 [label="Stub" style="filled" fillcolor=gray];
153 [label="Exit &&"];
}
154 [label="Exit when branch condition"];
}
155 [label="Synthetic else branch"];
156 [label="Enter when branch result"];
subgraph cluster_47 {
color=blue
157 [label="Enter block"];
158 [label="Const: Int(1)"];
159 [label="Exit block"];
}
160 [label="Exit when branch result"];
161 [label="Exit when"];
}
162 [label="Exit block"];
}
163 [label="Exit function test_8" style="filled" fillcolor=red];
}
142 -> {143};
143 -> {144};
144 -> {145};
145 -> {146};
146 -> {147};
147 -> {148};
148 -> {149};
149 -> {150};
149 -> {152} [style=dotted];
150 -> {151};
151 -> {153};
152 -> {153} [style=dotted];
153 -> {154};
154 -> {156 155};
155 -> {161};
156 -> {157};
157 -> {158};
158 -> {159};
159 -> {160};
160 -> {161};
161 -> {162};
162 -> {163};
}
+244 -272
View File
@@ -6,81 +6,76 @@ digraph complex_kt {
subgraph cluster_0 {
color=red
0 [label="Enter function fetchPluginReleaseDate" style="filled" fillcolor=red];
1 [label="Const: String(https://plugins.jetbrains.com/api/plugins/)"];
2 [label="Access variable R|<local>/pluginId|"];
3 [label="Access variable <Unresolved name: idString>#"];
4 [label="Const: String(/updates?version=)"];
5 [label="Access variable R|<local>/version|"];
6 [label="Variable declaration: lval url: R|kotlin/String|"];
subgraph cluster_1 {
color=blue
1 [label="Enter block"];
2 [label="Const: String(https://plugins.jetbrains.com/api/plugins/)"];
3 [label="Access variable R|<local>/pluginId|"];
4 [label="Access variable <Unresolved name: idString>#"];
5 [label="Const: String(/updates?version=)"];
6 [label="Access variable R|<local>/version|"];
7 [label="Variable declaration: lval url: R|kotlin/String|"];
7 [label="Try expression enter"];
subgraph cluster_2 {
color=blue
8 [label="Try expression enter"];
8 [label="Try main block enter"];
subgraph cluster_3 {
color=blue
9 [label="Try main block enter"];
subgraph cluster_4 {
color=blue
10 [label="Enter block"];
11 [label="Access variable <Unresolved name: HttpRequests>#"];
12 [label="Access variable R|<local>/url|"];
13 [label="Access variable R|<local>/url|"];
14 [label="Function call: <Unresolved name: HttpRequests>#.<Unresolved name: request>#(R|<local>/url|)"];
15 [label="Function call: <Unresolved name: HttpRequests>#.<Unresolved name: request>#(R|<local>/url|).<Unresolved name: connect>#(<L> = connect@fun <implicit>.<anonymous>(): <ERROR TYPE REF: Unresolved name: fromJson> {
9 [label="Enter block"];
10 [label="Access variable <Unresolved name: HttpRequests>#"];
11 [label="Access variable R|<local>/url|"];
12 [label="Access variable R|<local>/url|"];
13 [label="Function call: <Unresolved name: HttpRequests>#.<Unresolved name: request>#(R|<local>/url|)"];
14 [label="Function call: <Unresolved name: HttpRequests>#.<Unresolved name: request>#(R|<local>/url|).<Unresolved name: connect>#(<L> = connect@fun <implicit>.<anonymous>(): <ERROR TYPE REF: Unresolved name: fromJson> {
<Unresolved name: GsonBuilder>#().<Unresolved name: create>#().<Unresolved name: fromJson>#(<Unresolved name: it>#.<Unresolved name: inputStream>#.<Ambiguity: reader, [kotlin/io/reader, kotlin/io/reader, kotlin/io/reader]>#(), <getClass>(<Inapplicable(PARAMETER_MAPPING_ERROR): [kotlin/Array.Array]>#<R|class error: Symbol not found, for `PluginDTO`|>()).<Inapplicable(WRONG_RECEIVER): [kotlin/jvm/java]>#)
}
)"];
16 [label="Exit block"];
}
17 [label="Try main block exit"];
15 [label="Exit block"];
}
16 [label="Try main block exit"];
}
subgraph cluster_4 {
color=blue
17 [label="Catch enter"];
subgraph cluster_5 {
color=blue
18 [label="Catch enter"];
subgraph cluster_6 {
color=blue
19 [label="Enter block"];
20 [label="Const: String(Can't parse json response)"];
21 [label="Access variable R|<local>/syntaxException|"];
22 [label="Const: String(Can't parse json response)"];
23 [label="Access variable R|<local>/syntaxException|"];
24 [label="Function call: <Unresolved name: ResponseParseException>#(String(Can't parse json response), R|<local>/syntaxException|)"];
25 [label="Throw: throw <Unresolved name: ResponseParseException>#(String(Can't parse json response), R|<local>/syntaxException|)"];
26 [label="Stub" style="filled" fillcolor=gray];
27 [label="Exit block" style="filled" fillcolor=gray];
}
28 [label="Catch exit" style="filled" fillcolor=gray];
18 [label="Enter block"];
19 [label="Const: String(Can't parse json response)"];
20 [label="Access variable R|<local>/syntaxException|"];
21 [label="Const: String(Can't parse json response)"];
22 [label="Access variable R|<local>/syntaxException|"];
23 [label="Function call: <Unresolved name: ResponseParseException>#(String(Can't parse json response), R|<local>/syntaxException|)"];
24 [label="Throw: throw <Unresolved name: ResponseParseException>#(String(Can't parse json response), R|<local>/syntaxException|)"];
25 [label="Stub" style="filled" fillcolor=gray];
26 [label="Exit block" style="filled" fillcolor=gray];
}
27 [label="Catch exit" style="filled" fillcolor=gray];
}
subgraph cluster_6 {
color=blue
28 [label="Catch enter"];
subgraph cluster_7 {
color=blue
29 [label="Catch enter"];
subgraph cluster_8 {
color=blue
30 [label="Enter block"];
31 [label="Access variable R|<local>/ioException|"];
32 [label="Access variable R|<local>/ioException|"];
33 [label="Function call: <Unresolved name: IOException>#(R|<local>/ioException|)"];
34 [label="Throw: throw <Unresolved name: IOException>#(R|<local>/ioException|)"];
35 [label="Stub" style="filled" fillcolor=gray];
36 [label="Exit block" style="filled" fillcolor=gray];
}
37 [label="Catch exit" style="filled" fillcolor=gray];
29 [label="Enter block"];
30 [label="Access variable R|<local>/ioException|"];
31 [label="Access variable R|<local>/ioException|"];
32 [label="Function call: <Unresolved name: IOException>#(R|<local>/ioException|)"];
33 [label="Throw: throw <Unresolved name: IOException>#(R|<local>/ioException|)"];
34 [label="Stub" style="filled" fillcolor=gray];
35 [label="Exit block" style="filled" fillcolor=gray];
}
38 [label="Try expression exit"];
36 [label="Catch exit" style="filled" fillcolor=gray];
}
39 [label="Variable declaration: lval pluginDTOs: R|kotlin/Array<class error: Symbol not found, for `PluginDTO`>|"];
40 [label="Exit block"];
37 [label="Try expression exit"];
}
subgraph cluster_9 {
color=blue
41 [label="Enter annotation"];
42 [label="Access variable <Unresolved name: IOException>#"];
43 [label="Access variable <Unresolved name: ResponseParseException>#"];
44 [label="Exit annotation"];
}
45 [label="Exit function fetchPluginReleaseDate" style="filled" fillcolor=red];
38 [label="Variable declaration: lval pluginDTOs: R|kotlin/Array<class error: Symbol not found, for `PluginDTO`>|"];
39 [label="Exit function fetchPluginReleaseDate" style="filled" fillcolor=red];
}
subgraph cluster_8 {
color=blue
40 [label="Enter annotation"];
41 [label="Access variable <Unresolved name: IOException>#"];
42 [label="Access variable <Unresolved name: ResponseParseException>#"];
43 [label="Exit annotation"];
}
0 -> {1};
@@ -91,66 +86,61 @@ digraph complex_kt {
5 -> {6};
6 -> {7};
7 -> {8};
8 -> {9};
9 -> {45 29 18 10};
8 -> {39 28 17 9};
9 -> {10};
10 -> {11};
11 -> {12};
12 -> {13};
13 -> {14};
14 -> {15};
15 -> {16};
16 -> {17};
17 -> {38};
18 -> {45 19};
16 -> {37};
17 -> {39 18};
18 -> {19};
19 -> {20};
20 -> {21};
21 -> {22};
22 -> {23};
23 -> {24};
24 -> {25};
25 -> {45};
24 -> {39};
24 -> {25} [style=dotted];
25 -> {26} [style=dotted];
26 -> {27} [style=dotted];
27 -> {28} [style=dotted];
28 -> {38} [style=dotted];
29 -> {45 30};
27 -> {37} [style=dotted];
28 -> {39 29};
29 -> {30};
30 -> {31};
31 -> {32};
32 -> {33};
33 -> {34};
34 -> {45};
33 -> {39};
33 -> {34} [style=dotted];
34 -> {35} [style=dotted];
35 -> {36} [style=dotted];
36 -> {37} [style=dotted];
37 -> {38} [style=dotted];
37 -> {38};
38 -> {39};
39 -> {40};
40 -> {41};
41 -> {42};
42 -> {43};
43 -> {44};
44 -> {45};
subgraph cluster_10 {
subgraph cluster_9 {
color=red
46 [label="Enter function anonymousFunction" style="filled" fillcolor=red];
subgraph cluster_11 {
color=blue
47 [label="Enter block"];
48 [label="Function call: <Unresolved name: GsonBuilder>#()"];
49 [label="Function call: <Unresolved name: GsonBuilder>#().<Unresolved name: create>#()"];
50 [label="Access variable <Unresolved name: it>#"];
51 [label="Access variable <Unresolved name: inputStream>#"];
52 [label="Function call: <Unresolved name: it>#.<Unresolved name: inputStream>#.<Ambiguity: reader, [kotlin/io/reader, kotlin/io/reader, kotlin/io/reader]>#()"];
53 [label="Function call: <Inapplicable(PARAMETER_MAPPING_ERROR): [kotlin/Array.Array]>#<R|class error: Symbol not found, for `PluginDTO`|>()"];
54 [label="Access variable <Inapplicable(WRONG_RECEIVER): [kotlin/jvm/java]>#"];
55 [label="Access variable <Inapplicable(WRONG_RECEIVER): [kotlin/jvm/java]>#"];
56 [label="Function call: <Unresolved name: GsonBuilder>#().<Unresolved name: create>#().<Unresolved name: fromJson>#(<Unresolved name: it>#.<Unresolved name: inputStream>#.<Ambiguity: reader, [kotlin/io/reader, kotlin/io/reader, kotlin/io/reader]>#(), <getClass>(<Inapplicable(PARAMETER_MAPPING_ERROR): [kotlin/Array.Array]>#<R|class error: Symbol not found, for `PluginDTO`|>()).<Inapplicable(WRONG_RECEIVER): [kotlin/jvm/java]>#)"];
57 [label="Exit block"];
}
58 [label="Exit function anonymousFunction" style="filled" fillcolor=red];
44 [label="Enter function anonymousFunction" style="filled" fillcolor=red];
45 [label="Function call: <Unresolved name: GsonBuilder>#()"];
46 [label="Function call: <Unresolved name: GsonBuilder>#().<Unresolved name: create>#()"];
47 [label="Access variable <Unresolved name: it>#"];
48 [label="Access variable <Unresolved name: inputStream>#"];
49 [label="Function call: <Unresolved name: it>#.<Unresolved name: inputStream>#.<Ambiguity: reader, [kotlin/io/reader, kotlin/io/reader, kotlin/io/reader]>#()"];
50 [label="Function call: <Inapplicable(PARAMETER_MAPPING_ERROR): [kotlin/Array.Array]>#<R|class error: Symbol not found, for `PluginDTO`|>()"];
51 [label="Access variable <Inapplicable(WRONG_RECEIVER): [kotlin/jvm/java]>#"];
52 [label="Access variable <Inapplicable(WRONG_RECEIVER): [kotlin/jvm/java]>#"];
53 [label="Function call: <Unresolved name: GsonBuilder>#().<Unresolved name: create>#().<Unresolved name: fromJson>#(<Unresolved name: it>#.<Unresolved name: inputStream>#.<Ambiguity: reader, [kotlin/io/reader, kotlin/io/reader, kotlin/io/reader]>#(), <getClass>(<Inapplicable(PARAMETER_MAPPING_ERROR): [kotlin/Array.Array]>#<R|class error: Symbol not found, for `PluginDTO`|>()).<Inapplicable(WRONG_RECEIVER): [kotlin/jvm/java]>#)"];
54 [label="Exit function anonymousFunction" style="filled" fillcolor=red];
}
44 -> {45};
45 -> {46};
46 -> {47};
47 -> {48};
48 -> {49};
@@ -159,103 +149,96 @@ digraph complex_kt {
51 -> {52};
52 -> {53};
53 -> {54};
54 -> {55};
55 -> {56};
56 -> {57};
57 -> {58};
subgraph cluster_12 {
subgraph cluster_10 {
color=red
59 [label="Enter function close" style="filled" fillcolor=red];
60 [label="Exit function close" style="filled" fillcolor=red];
55 [label="Enter function close" style="filled" fillcolor=red];
56 [label="Exit function close" style="filled" fillcolor=red];
}
59 -> {60};
55 -> {56};
subgraph cluster_13 {
subgraph cluster_11 {
color=red
61 [label="Enter function closeFinally" style="filled" fillcolor=red];
subgraph cluster_14 {
57 [label="Enter function closeFinally" style="filled" fillcolor=red];
subgraph cluster_12 {
color=blue
62 [label="Enter block"];
58 [label="Enter when"];
subgraph cluster_13 {
color=blue
59 [label="Enter when branch condition "];
60 [label="Access variable this@R|/closeFinally|"];
61 [label="Const: Null(null)"];
62 [label="Operator =="];
63 [label="Exit when branch condition"];
}
subgraph cluster_14 {
color=blue
64 [label="Enter when branch condition "];
65 [label="Access variable R|<local>/cause|"];
66 [label="Const: Null(null)"];
67 [label="Operator =="];
68 [label="Exit when branch condition"];
}
subgraph cluster_15 {
color=blue
63 [label="Enter when"];
subgraph cluster_16 {
color=blue
64 [label="Enter when branch condition "];
65 [label="Access variable this@R|/closeFinally|"];
66 [label="Const: Null(null)"];
67 [label="Operator =="];
68 [label="Exit when branch condition"];
}
69 [label="Enter when branch condition else"];
70 [label="Exit when branch condition"];
}
71 [label="Enter when branch result"];
subgraph cluster_16 {
color=blue
72 [label="Enter block"];
subgraph cluster_17 {
color=blue
69 [label="Enter when branch condition "];
70 [label="Access variable R|<local>/cause|"];
71 [label="Const: Null(null)"];
72 [label="Operator =="];
73 [label="Exit when branch condition"];
}
subgraph cluster_18 {
color=blue
74 [label="Enter when branch condition else"];
75 [label="Exit when branch condition"];
}
76 [label="Enter when branch result"];
subgraph cluster_19 {
color=blue
77 [label="Enter block"];
73 [label="Try expression enter"];
subgraph cluster_18 {
color=blue
74 [label="Try main block enter"];
subgraph cluster_19 {
color=blue
75 [label="Enter block"];
76 [label="Function call: this@R|/AutoCloseable|.R|/AutoCloseable.close|()"];
77 [label="Exit block"];
}
78 [label="Try main block exit"];
}
subgraph cluster_20 {
color=blue
78 [label="Try expression enter"];
79 [label="Catch enter"];
subgraph cluster_21 {
color=blue
79 [label="Try main block enter"];
subgraph cluster_22 {
color=blue
80 [label="Enter block"];
81 [label="Function call: this@R|/AutoCloseable|.R|/AutoCloseable.close|()"];
82 [label="Exit block"];
}
83 [label="Try main block exit"];
80 [label="Enter block"];
81 [label="Access variable R|<local>/cause|"];
82 [label="Access variable R|<local>/closeException|"];
83 [label="Function call: R|<local>/cause|.R|kotlin/addSuppressed|(R|<local>/closeException|)"];
84 [label="Exit block"];
}
subgraph cluster_23 {
color=blue
84 [label="Catch enter"];
subgraph cluster_24 {
color=blue
85 [label="Enter block"];
86 [label="Access variable R|<local>/cause|"];
87 [label="Access variable R|<local>/closeException|"];
88 [label="Function call: R|<local>/cause|.R|kotlin/addSuppressed|(R|<local>/closeException|)"];
89 [label="Exit block"];
}
90 [label="Catch exit"];
}
91 [label="Try expression exit"];
85 [label="Catch exit"];
}
92 [label="Exit block"];
86 [label="Try expression exit"];
}
93 [label="Exit when branch result"];
94 [label="Enter when branch result"];
subgraph cluster_25 {
color=blue
95 [label="Enter block"];
96 [label="Function call: this@R|/AutoCloseable|.R|/AutoCloseable.close|()"];
97 [label="Exit block"];
}
98 [label="Exit when branch result"];
99 [label="Enter when branch result"];
subgraph cluster_26 {
color=blue
100 [label="Enter block"];
101 [label="Exit block"];
}
102 [label="Exit when branch result"];
103 [label="Exit when"];
87 [label="Exit block"];
}
104 [label="Jump: ^closeFinally when () {
88 [label="Exit when branch result"];
89 [label="Enter when branch result"];
subgraph cluster_22 {
color=blue
90 [label="Enter block"];
91 [label="Function call: this@R|/AutoCloseable|.R|/AutoCloseable.close|()"];
92 [label="Exit block"];
}
93 [label="Exit when branch result"];
94 [label="Enter when branch result"];
subgraph cluster_23 {
color=blue
95 [label="Enter block"];
96 [label="Exit block"];
}
97 [label="Exit when branch result"];
98 [label="Exit when"];
}
99 [label="Jump: ^closeFinally when () {
==(this@R|/closeFinally|, Null(null)) -> {
}
==(R|<local>/cause|, Null(null)) -> {
@@ -272,166 +255,155 @@ digraph complex_kt {
}
}
"];
105 [label="Stub" style="filled" fillcolor=gray];
106 [label="Exit block" style="filled" fillcolor=gray];
}
107 [label="Exit function closeFinally" style="filled" fillcolor=red];
100 [label="Stub" style="filled" fillcolor=gray];
101 [label="Exit function closeFinally" style="filled" fillcolor=red];
}
57 -> {58};
58 -> {59};
59 -> {60};
60 -> {61};
61 -> {62};
62 -> {63};
63 -> {64};
63 -> {94 64};
64 -> {65};
65 -> {66};
66 -> {67};
67 -> {68};
68 -> {99 69};
68 -> {89 69};
69 -> {70};
70 -> {71};
71 -> {72};
72 -> {73};
73 -> {94 74};
74 -> {75};
73 -> {74};
74 -> {101 79 75};
75 -> {76};
76 -> {77};
77 -> {78};
78 -> {79};
79 -> {107 84 80};
78 -> {86};
79 -> {101 80};
80 -> {81};
81 -> {82};
82 -> {83};
83 -> {91};
84 -> {107 85};
83 -> {84};
84 -> {85};
85 -> {86};
86 -> {87};
87 -> {88};
88 -> {89};
88 -> {98};
89 -> {90};
90 -> {91};
91 -> {92};
92 -> {93};
93 -> {103};
93 -> {98};
94 -> {95};
95 -> {96};
96 -> {97};
97 -> {98};
98 -> {103};
99 -> {100};
100 -> {101};
101 -> {102};
102 -> {103};
103 -> {104};
104 -> {107};
104 -> {105} [style=dotted];
105 -> {106} [style=dotted];
106 -> {107} [style=dotted];
98 -> {99};
99 -> {101};
99 -> {100} [style=dotted];
100 -> {101} [style=dotted];
subgraph cluster_27 {
subgraph cluster_24 {
color=red
108 [label="Enter function firstIsInstanceOrNull" style="filled" fillcolor=red];
subgraph cluster_28 {
102 [label="Enter function firstIsInstanceOrNull" style="filled" fillcolor=red];
103 [label="Access variable this@R|/firstIsInstanceOrNull|"];
104 [label="Variable declaration: lval <range>: R|kotlin/sequences/Sequence<*>|"];
105 [label="Access variable R|<local>/<range>|"];
106 [label="Function call: R|<local>/<range>|.R|kotlin/sequences/Sequence.iterator|()"];
107 [label="Variable declaration: lval <iterator>: R|kotlin/collections/Iterator<T>|"];
subgraph cluster_25 {
color=blue
109 [label="Enter block"];
110 [label="Access variable this@R|/firstIsInstanceOrNull|"];
111 [label="Variable declaration: lval <range>: R|kotlin/sequences/Sequence<*>|"];
112 [label="Access variable R|<local>/<range>|"];
113 [label="Function call: R|<local>/<range>|.R|kotlin/sequences/Sequence.iterator|()"];
114 [label="Variable declaration: lval <iterator>: R|kotlin/collections/Iterator<T>|"];
subgraph cluster_29 {
108 [label="Enter while loop"];
subgraph cluster_26 {
color=blue
115 [label="Enter while loop"];
subgraph cluster_30 {
color=blue
116 [label="Enter loop condition"];
117 [label="Access variable R|<local>/<iterator>|"];
118 [label="Function call: R|<local>/<iterator>|.R|kotlin/collections/Iterator.hasNext|()"];
119 [label="Exit loop condition"];
}
subgraph cluster_31 {
color=blue
120 [label="Enter loop block"];
subgraph cluster_32 {
color=blue
121 [label="Enter block"];
122 [label="Access variable R|<local>/<iterator>|"];
123 [label="Function call: R|<local>/<iterator>|.R|FakeOverride<kotlin/collections/Iterator.next: R|T|>|()"];
124 [label="Variable declaration: lval element: R|T|"];
subgraph cluster_33 {
color=blue
125 [label="Enter when"];
subgraph cluster_34 {
color=blue
126 [label="Enter when branch condition "];
127 [label="Access variable R|<local>/element|"];
128 [label="Type operator: element is T"];
129 [label="Exit when branch condition"];
}
130 [label="Synthetic else branch"];
131 [label="Enter when branch result"];
subgraph cluster_35 {
color=blue
132 [label="Enter block"];
133 [label="Access variable R|<local>/element|"];
134 [label="Jump: ^firstIsInstanceOrNull R|<local>/element|"];
135 [label="Stub" style="filled" fillcolor=gray];
136 [label="Exit block" style="filled" fillcolor=gray];
}
137 [label="Exit when branch result" style="filled" fillcolor=gray];
138 [label="Exit when"];
}
139 [label="Exit block"];
}
140 [label="Exit loop block"];
}
141 [label="Exit whileloop"];
109 [label="Enter loop condition"];
110 [label="Access variable R|<local>/<iterator>|"];
111 [label="Function call: R|<local>/<iterator>|.R|kotlin/collections/Iterator.hasNext|()"];
112 [label="Exit loop condition"];
}
142 [label="Const: Null(null)"];
143 [label="Jump: ^firstIsInstanceOrNull Null(null)"];
144 [label="Stub" style="filled" fillcolor=gray];
145 [label="Exit block" style="filled" fillcolor=gray];
subgraph cluster_27 {
color=blue
113 [label="Enter loop block"];
subgraph cluster_28 {
color=blue
114 [label="Enter block"];
115 [label="Access variable R|<local>/<iterator>|"];
116 [label="Function call: R|<local>/<iterator>|.R|FakeOverride<kotlin/collections/Iterator.next: R|T|>|()"];
117 [label="Variable declaration: lval element: R|T|"];
subgraph cluster_29 {
color=blue
118 [label="Enter when"];
subgraph cluster_30 {
color=blue
119 [label="Enter when branch condition "];
120 [label="Access variable R|<local>/element|"];
121 [label="Type operator: element is T"];
122 [label="Exit when branch condition"];
}
123 [label="Synthetic else branch"];
124 [label="Enter when branch result"];
subgraph cluster_31 {
color=blue
125 [label="Enter block"];
126 [label="Access variable R|<local>/element|"];
127 [label="Jump: ^firstIsInstanceOrNull R|<local>/element|"];
128 [label="Stub" style="filled" fillcolor=gray];
129 [label="Exit block" style="filled" fillcolor=gray];
}
130 [label="Exit when branch result" style="filled" fillcolor=gray];
131 [label="Exit when"];
}
132 [label="Exit block"];
}
133 [label="Exit loop block"];
}
134 [label="Exit whileloop"];
}
146 [label="Exit function firstIsInstanceOrNull" style="filled" fillcolor=red];
135 [label="Const: Null(null)"];
136 [label="Jump: ^firstIsInstanceOrNull Null(null)"];
137 [label="Stub" style="filled" fillcolor=gray];
138 [label="Exit function firstIsInstanceOrNull" style="filled" fillcolor=red];
}
102 -> {103};
103 -> {104};
104 -> {105};
105 -> {106};
106 -> {107};
107 -> {108};
108 -> {109};
109 -> {110};
110 -> {111};
111 -> {112};
112 -> {113};
112 -> {134 113};
113 -> {114};
114 -> {115};
115 -> {116};
116 -> {117};
117 -> {118};
118 -> {119};
119 -> {141 120};
119 -> {120};
120 -> {121};
121 -> {122};
122 -> {123};
123 -> {124};
122 -> {124 123};
123 -> {131};
124 -> {125};
125 -> {126};
126 -> {127};
127 -> {128};
128 -> {129};
129 -> {131 130};
130 -> {138};
127 -> {138};
127 -> {128} [style=dotted];
128 -> {129} [style=dotted];
129 -> {130} [style=dotted];
130 -> {131} [style=dotted];
131 -> {132};
132 -> {133};
133 -> {134};
134 -> {146};
134 -> {135} [style=dotted];
135 -> {136} [style=dotted];
133 -> {109};
134 -> {135};
135 -> {136};
136 -> {138};
136 -> {137} [style=dotted];
137 -> {138} [style=dotted];
138 -> {139};
139 -> {140};
140 -> {116};
141 -> {142};
142 -> {143};
143 -> {146};
143 -> {144} [style=dotted];
144 -> {145} [style=dotted];
145 -> {146} [style=dotted];
}
+30 -51
View File
@@ -8,77 +8,56 @@ digraph emptyWhen_kt {
0 [label="Enter function test_1" style="filled" fillcolor=red];
subgraph cluster_1 {
color=blue
1 [label="Enter block"];
subgraph cluster_2 {
color=blue
2 [label="Enter when"];
3 [label="Synthetic else branch"];
4 [label="Exit when"];
}
5 [label="Exit block"];
1 [label="Enter when"];
2 [label="Synthetic else branch"];
3 [label="Exit when"];
}
6 [label="Exit function test_1" style="filled" fillcolor=red];
4 [label="Exit function test_1" style="filled" fillcolor=red];
}
0 -> {1};
1 -> {2};
2 -> {3};
3 -> {4};
4 -> {5};
5 -> {6};
subgraph cluster_3 {
subgraph cluster_2 {
color=red
7 [label="Enter function test_2" style="filled" fillcolor=red];
subgraph cluster_4 {
5 [label="Enter function test_2" style="filled" fillcolor=red];
subgraph cluster_3 {
color=blue
8 [label="Enter block"];
subgraph cluster_5 {
color=blue
9 [label="Enter when"];
10 [label="Access variable R|<local>/x|"];
11 [label="Synthetic else branch"];
12 [label="Exit when"];
}
13 [label="Exit block"];
6 [label="Enter when"];
7 [label="Access variable R|<local>/x|"];
8 [label="Synthetic else branch"];
9 [label="Exit when"];
}
14 [label="Exit function test_2" style="filled" fillcolor=red];
10 [label="Exit function test_2" style="filled" fillcolor=red];
}
5 -> {6};
6 -> {7};
7 -> {8};
8 -> {9};
9 -> {10};
10 -> {11};
subgraph cluster_4 {
color=red
11 [label="Enter function test_3" style="filled" fillcolor=red];
subgraph cluster_5 {
color=blue
12 [label="Enter when"];
13 [label="Access variable R|<local>/x|"];
14 [label="Variable declaration: lval y: R|kotlin/Int|"];
15 [label="Synthetic else branch"];
16 [label="Exit when"];
}
17 [label="Exit function test_3" style="filled" fillcolor=red];
}
11 -> {12};
12 -> {13};
13 -> {14};
subgraph cluster_6 {
color=red
15 [label="Enter function test_3" style="filled" fillcolor=red];
subgraph cluster_7 {
color=blue
16 [label="Enter block"];
subgraph cluster_8 {
color=blue
17 [label="Enter when"];
18 [label="Access variable R|<local>/x|"];
19 [label="Variable declaration: lval y: R|kotlin/Int|"];
20 [label="Synthetic else branch"];
21 [label="Exit when"];
}
22 [label="Exit block"];
}
23 [label="Exit function test_3" style="filled" fillcolor=red];
}
14 -> {15};
15 -> {16};
16 -> {17};
17 -> {18};
18 -> {19};
19 -> {20};
20 -> {21};
21 -> {22};
22 -> {23};
}
+256 -312
View File
@@ -8,49 +8,44 @@ digraph jumps_kt {
0 [label="Enter function test_1" style="filled" fillcolor=red];
subgraph cluster_1 {
color=blue
1 [label="Enter block"];
1 [label="Enter when"];
subgraph cluster_2 {
color=blue
2 [label="Enter when"];
subgraph cluster_3 {
color=blue
3 [label="Enter when branch condition "];
4 [label="Access variable R|<local>/x|"];
5 [label="Const: Null(null)"];
6 [label="Operator =="];
7 [label="Exit when branch condition"];
}
subgraph cluster_4 {
color=blue
8 [label="Enter when branch condition else"];
9 [label="Exit when branch condition"];
}
10 [label="Enter when branch result"];
subgraph cluster_5 {
color=blue
11 [label="Enter block"];
12 [label="Access variable R|<local>/x|"];
13 [label="Exit block"];
}
14 [label="Exit when branch result"];
15 [label="Enter when branch result"];
subgraph cluster_6 {
color=blue
16 [label="Enter block"];
17 [label="Function call: R|kotlin/KotlinNullPointerException.KotlinNullPointerException|()"];
18 [label="Throw: throw R|kotlin/KotlinNullPointerException.KotlinNullPointerException|()"];
19 [label="Stub" style="filled" fillcolor=gray];
20 [label="Exit block" style="filled" fillcolor=gray];
}
21 [label="Exit when branch result" style="filled" fillcolor=gray];
22 [label="Exit when"];
2 [label="Enter when branch condition "];
3 [label="Access variable R|<local>/x|"];
4 [label="Const: Null(null)"];
5 [label="Operator =="];
6 [label="Exit when branch condition"];
}
23 [label="Variable declaration: lval y: R|kotlin/Int|"];
24 [label="Access variable R|<local>/y|"];
25 [label="Function call: R|<local>/y|.R|kotlin/Int.inc|()"];
26 [label="Exit block"];
subgraph cluster_3 {
color=blue
7 [label="Enter when branch condition else"];
8 [label="Exit when branch condition"];
}
9 [label="Enter when branch result"];
subgraph cluster_4 {
color=blue
10 [label="Enter block"];
11 [label="Access variable R|<local>/x|"];
12 [label="Exit block"];
}
13 [label="Exit when branch result"];
14 [label="Enter when branch result"];
subgraph cluster_5 {
color=blue
15 [label="Enter block"];
16 [label="Function call: R|kotlin/KotlinNullPointerException.KotlinNullPointerException|()"];
17 [label="Throw: throw R|kotlin/KotlinNullPointerException.KotlinNullPointerException|()"];
18 [label="Stub" style="filled" fillcolor=gray];
19 [label="Exit block" style="filled" fillcolor=gray];
}
20 [label="Exit when branch result" style="filled" fillcolor=gray];
21 [label="Exit when"];
}
27 [label="Exit function test_1" style="filled" fillcolor=red];
22 [label="Variable declaration: lval y: R|kotlin/Int|"];
23 [label="Access variable R|<local>/y|"];
24 [label="Function call: R|<local>/y|.R|kotlin/Int.inc|()"];
25 [label="Exit function test_1" style="filled" fillcolor=red];
}
0 -> {1};
@@ -59,357 +54,306 @@ digraph jumps_kt {
3 -> {4};
4 -> {5};
5 -> {6};
6 -> {7};
7 -> {15 8};
6 -> {14 7};
7 -> {8};
8 -> {9};
9 -> {10};
10 -> {11};
11 -> {12};
12 -> {13};
13 -> {14};
14 -> {22};
13 -> {21};
14 -> {15};
15 -> {16};
16 -> {17};
17 -> {18};
18 -> {27};
17 -> {25};
17 -> {18} [style=dotted];
18 -> {19} [style=dotted];
19 -> {20} [style=dotted];
20 -> {21} [style=dotted];
21 -> {22} [style=dotted];
21 -> {22};
22 -> {23};
23 -> {24};
24 -> {25};
25 -> {26};
26 -> {27};
subgraph cluster_7 {
subgraph cluster_6 {
color=red
28 [label="Enter function test_2" style="filled" fillcolor=red];
subgraph cluster_8 {
26 [label="Enter function test_2" style="filled" fillcolor=red];
subgraph cluster_7 {
color=blue
29 [label="Enter block"];
27 [label="Enter when"];
subgraph cluster_8 {
color=blue
28 [label="Enter when branch condition "];
29 [label="Access variable R|<local>/x|"];
30 [label="Const: Null(null)"];
31 [label="Operator =="];
32 [label="Exit when branch condition"];
}
subgraph cluster_9 {
color=blue
30 [label="Enter when"];
subgraph cluster_10 {
color=blue
31 [label="Enter when branch condition "];
32 [label="Access variable R|<local>/x|"];
33 [label="Const: Null(null)"];
34 [label="Operator =="];
35 [label="Exit when branch condition"];
}
subgraph cluster_11 {
color=blue
36 [label="Enter when branch condition else"];
37 [label="Exit when branch condition"];
}
38 [label="Enter when branch result"];
subgraph cluster_12 {
color=blue
39 [label="Enter block"];
40 [label="Access variable R|<local>/x|"];
41 [label="Exit block"];
}
42 [label="Exit when branch result"];
43 [label="Enter when branch result"];
subgraph cluster_13 {
color=blue
44 [label="Enter block"];
45 [label="Access variable R|<local>/x|"];
46 [label="Exit block"];
}
47 [label="Exit when branch result"];
48 [label="Exit when"];
33 [label="Enter when branch condition else"];
34 [label="Exit when branch condition"];
}
49 [label="Variable declaration: lval y: R|kotlin/Int?|"];
50 [label="Access variable R|<local>/y|"];
51 [label="Function call: R|<local>/y|.<Ambiguity: inc, [kotlin/inc, kotlin/inc]>#()"];
52 [label="Exit block"];
35 [label="Enter when branch result"];
subgraph cluster_10 {
color=blue
36 [label="Enter block"];
37 [label="Access variable R|<local>/x|"];
38 [label="Exit block"];
}
39 [label="Exit when branch result"];
40 [label="Enter when branch result"];
subgraph cluster_11 {
color=blue
41 [label="Enter block"];
42 [label="Access variable R|<local>/x|"];
43 [label="Exit block"];
}
44 [label="Exit when branch result"];
45 [label="Exit when"];
}
53 [label="Exit function test_2" style="filled" fillcolor=red];
46 [label="Variable declaration: lval y: R|kotlin/Int?|"];
47 [label="Access variable R|<local>/y|"];
48 [label="Function call: R|<local>/y|.<Ambiguity: inc, [kotlin/inc, kotlin/inc]>#()"];
49 [label="Exit function test_2" style="filled" fillcolor=red];
}
26 -> {27};
27 -> {28};
28 -> {29};
29 -> {30};
30 -> {31};
31 -> {32};
32 -> {33};
32 -> {40 33};
33 -> {34};
34 -> {35};
35 -> {43 36};
35 -> {36};
36 -> {37};
37 -> {38};
38 -> {39};
39 -> {40};
39 -> {45};
40 -> {41};
41 -> {42};
42 -> {48};
42 -> {43};
43 -> {44};
44 -> {45};
45 -> {46};
46 -> {47};
47 -> {48};
48 -> {49};
49 -> {50};
subgraph cluster_12 {
color=red
50 [label="Enter function test_3" style="filled" fillcolor=red];
subgraph cluster_13 {
color=blue
51 [label="Enter while loop"];
subgraph cluster_14 {
color=blue
52 [label="Enter loop condition"];
53 [label="Const: Boolean(true)"];
54 [label="Exit loop condition"];
}
subgraph cluster_15 {
color=blue
55 [label="Enter loop block"];
subgraph cluster_16 {
color=blue
56 [label="Enter block"];
57 [label="Access variable R|<local>/x|"];
58 [label="Type operator: x as Int"];
59 [label="Jump: break@@@[Boolean(true)] "];
60 [label="Stub" style="filled" fillcolor=gray];
61 [label="Exit block" style="filled" fillcolor=gray];
}
62 [label="Exit loop block" style="filled" fillcolor=gray];
}
63 [label="Stub" style="filled" fillcolor=gray];
64 [label="Exit whileloop"];
}
65 [label="Access variable R|<local>/x|"];
66 [label="Function call: R|<local>/x|.R|kotlin/Int.inc|()"];
67 [label="Exit function test_3" style="filled" fillcolor=red];
}
50 -> {51};
51 -> {52};
52 -> {53};
subgraph cluster_14 {
color=red
54 [label="Enter function test_3" style="filled" fillcolor=red];
subgraph cluster_15 {
color=blue
55 [label="Enter block"];
subgraph cluster_16 {
color=blue
56 [label="Enter while loop"];
subgraph cluster_17 {
color=blue
57 [label="Enter loop condition"];
58 [label="Const: Boolean(true)"];
59 [label="Exit loop condition"];
}
subgraph cluster_18 {
color=blue
60 [label="Enter loop block"];
subgraph cluster_19 {
color=blue
61 [label="Enter block"];
62 [label="Access variable R|<local>/x|"];
63 [label="Type operator: x as Int"];
64 [label="Jump: break@@@[Boolean(true)] "];
65 [label="Stub" style="filled" fillcolor=gray];
66 [label="Exit block" style="filled" fillcolor=gray];
}
67 [label="Exit loop block" style="filled" fillcolor=gray];
}
68 [label="Stub" style="filled" fillcolor=gray];
69 [label="Exit whileloop"];
}
70 [label="Access variable R|<local>/x|"];
71 [label="Function call: R|<local>/x|.R|kotlin/Int.inc|()"];
72 [label="Exit block"];
}
73 [label="Exit function test_3" style="filled" fillcolor=red];
}
53 -> {54};
54 -> {55};
54 -> {63} [style=dotted];
55 -> {56};
56 -> {57};
57 -> {58};
58 -> {59};
59 -> {60};
59 -> {68} [style=dotted];
60 -> {61};
61 -> {62};
62 -> {63};
63 -> {64};
64 -> {69};
64 -> {65} [style=dotted];
65 -> {66} [style=dotted];
66 -> {67} [style=dotted];
67 -> {57} [style=dotted];
68 -> {69} [style=dotted];
59 -> {64};
59 -> {60} [style=dotted];
60 -> {61} [style=dotted];
61 -> {62} [style=dotted];
62 -> {52} [style=dotted];
63 -> {64} [style=dotted];
64 -> {65};
65 -> {66};
66 -> {67};
subgraph cluster_17 {
color=red
68 [label="Enter function test_4" style="filled" fillcolor=red];
subgraph cluster_18 {
color=blue
69 [label="Enter do-while loop"];
subgraph cluster_19 {
color=blue
70 [label="Enter loop block"];
subgraph cluster_20 {
color=blue
71 [label="Enter block"];
72 [label="Access variable R|<local>/x|"];
73 [label="Type operator: x as Int"];
74 [label="Jump: break@@@[Boolean(true)] "];
75 [label="Stub" style="filled" fillcolor=gray];
76 [label="Exit block" style="filled" fillcolor=gray];
}
77 [label="Exit loop block" style="filled" fillcolor=gray];
}
subgraph cluster_21 {
color=blue
78 [label="Enter loop condition" style="filled" fillcolor=gray];
79 [label="Const: Boolean(true)" style="filled" fillcolor=gray];
80 [label="Exit loop condition" style="filled" fillcolor=gray];
}
81 [label="Stub" style="filled" fillcolor=gray];
82 [label="Exit do-whileloop"];
}
83 [label="Access variable R|<local>/x|"];
84 [label="Function call: R|<local>/x|.R|kotlin/Int.inc|()"];
85 [label="Exit function test_4" style="filled" fillcolor=red];
}
68 -> {69};
69 -> {70};
70 -> {71};
71 -> {72};
72 -> {73};
73 -> {74};
74 -> {82};
74 -> {75} [style=dotted];
75 -> {76} [style=dotted];
76 -> {77} [style=dotted];
77 -> {78} [style=dotted];
78 -> {79} [style=dotted];
79 -> {80} [style=dotted];
80 -> {70 81} [style=dotted];
81 -> {82} [style=dotted];
82 -> {83};
83 -> {84};
84 -> {85};
subgraph cluster_20 {
subgraph cluster_22 {
color=red
74 [label="Enter function test_4" style="filled" fillcolor=red];
subgraph cluster_21 {
86 [label="Enter function test_5" style="filled" fillcolor=red];
subgraph cluster_23 {
color=blue
75 [label="Enter block"];
subgraph cluster_22 {
87 [label="Enter while loop"];
subgraph cluster_24 {
color=blue
76 [label="Enter do-while loop"];
subgraph cluster_23 {
color=blue
77 [label="Enter loop block"];
subgraph cluster_24 {
color=blue
78 [label="Enter block"];
79 [label="Access variable R|<local>/x|"];
80 [label="Type operator: x as Int"];
81 [label="Jump: break@@@[Boolean(true)] "];
82 [label="Stub" style="filled" fillcolor=gray];
83 [label="Exit block" style="filled" fillcolor=gray];
}
84 [label="Exit loop block" style="filled" fillcolor=gray];
}
subgraph cluster_25 {
color=blue
85 [label="Enter loop condition" style="filled" fillcolor=gray];
86 [label="Const: Boolean(true)" style="filled" fillcolor=gray];
87 [label="Exit loop condition" style="filled" fillcolor=gray];
}
88 [label="Stub" style="filled" fillcolor=gray];
89 [label="Exit do-whileloop"];
88 [label="Enter loop condition"];
89 [label="Access variable R|<local>/b|"];
90 [label="Exit loop condition"];
}
90 [label="Access variable R|<local>/x|"];
91 [label="Function call: R|<local>/x|.R|kotlin/Int.inc|()"];
92 [label="Exit block"];
subgraph cluster_25 {
color=blue
91 [label="Enter loop block"];
subgraph cluster_26 {
color=blue
92 [label="Enter block"];
subgraph cluster_27 {
color=blue
93 [label="Enter when"];
subgraph cluster_28 {
color=blue
94 [label="Enter when branch condition "];
95 [label="Access variable R|<local>/b|"];
96 [label="Exit when branch condition"];
}
97 [label="Synthetic else branch"];
98 [label="Enter when branch result"];
subgraph cluster_29 {
color=blue
99 [label="Enter block"];
100 [label="Jump: continue@@@[R|<local>/b|] "];
101 [label="Stub" style="filled" fillcolor=gray];
102 [label="Exit block" style="filled" fillcolor=gray];
}
103 [label="Exit when branch result" style="filled" fillcolor=gray];
104 [label="Exit when"];
}
105 [label="Exit block"];
}
106 [label="Exit loop block"];
}
107 [label="Exit whileloop"];
}
93 [label="Exit function test_4" style="filled" fillcolor=red];
108 [label="Exit function test_5" style="filled" fillcolor=red];
}
74 -> {75};
75 -> {76};
76 -> {77};
77 -> {78};
78 -> {79};
79 -> {80};
80 -> {81};
81 -> {89};
81 -> {82} [style=dotted];
82 -> {83} [style=dotted];
83 -> {84} [style=dotted];
84 -> {85} [style=dotted];
85 -> {86} [style=dotted];
86 -> {87} [style=dotted];
87 -> {77 88} [style=dotted];
88 -> {89} [style=dotted];
86 -> {87};
87 -> {88};
88 -> {89};
89 -> {90};
90 -> {91};
90 -> {107 91};
91 -> {92};
92 -> {93};
subgraph cluster_26 {
color=red
94 [label="Enter function test_5" style="filled" fillcolor=red];
subgraph cluster_27 {
color=blue
95 [label="Enter block"];
subgraph cluster_28 {
color=blue
96 [label="Enter while loop"];
subgraph cluster_29 {
color=blue
97 [label="Enter loop condition"];
98 [label="Access variable R|<local>/b|"];
99 [label="Exit loop condition"];
}
subgraph cluster_30 {
color=blue
100 [label="Enter loop block"];
subgraph cluster_31 {
color=blue
101 [label="Enter block"];
subgraph cluster_32 {
color=blue
102 [label="Enter when"];
subgraph cluster_33 {
color=blue
103 [label="Enter when branch condition "];
104 [label="Access variable R|<local>/b|"];
105 [label="Exit when branch condition"];
}
106 [label="Synthetic else branch"];
107 [label="Enter when branch result"];
subgraph cluster_34 {
color=blue
108 [label="Enter block"];
109 [label="Jump: continue@@@[R|<local>/b|] "];
110 [label="Stub" style="filled" fillcolor=gray];
111 [label="Exit block" style="filled" fillcolor=gray];
}
112 [label="Exit when branch result" style="filled" fillcolor=gray];
113 [label="Exit when"];
}
114 [label="Exit block"];
}
115 [label="Exit loop block"];
}
116 [label="Exit whileloop"];
}
117 [label="Exit block"];
}
118 [label="Exit function test_5" style="filled" fillcolor=red];
}
93 -> {94};
94 -> {95};
95 -> {96};
96 -> {97};
97 -> {98};
96 -> {98 97};
97 -> {104};
98 -> {99};
99 -> {116 100};
100 -> {101};
101 -> {102};
102 -> {103};
103 -> {104};
99 -> {100};
100 -> {87};
100 -> {101} [style=dotted];
101 -> {102} [style=dotted];
102 -> {103} [style=dotted];
103 -> {104} [style=dotted];
104 -> {105};
105 -> {107 106};
106 -> {113};
105 -> {106};
106 -> {88};
107 -> {108};
108 -> {109};
109 -> {96};
109 -> {110} [style=dotted];
110 -> {111} [style=dotted];
111 -> {112} [style=dotted];
112 -> {113} [style=dotted];
113 -> {114};
114 -> {115};
115 -> {97};
116 -> {117};
117 -> {118};
subgraph cluster_35 {
subgraph cluster_30 {
color=red
119 [label="Enter function run" style="filled" fillcolor=red];
subgraph cluster_36 {
color=blue
120 [label="Enter block"];
121 [label="Function call: R|<local>/block|.R|FakeOverride<kotlin/Function0.invoke: R|kotlin/Unit|>|()"];
122 [label="Exit block"];
}
123 [label="Exit function run" style="filled" fillcolor=red];
109 [label="Enter function run" style="filled" fillcolor=red];
110 [label="Function call: R|<local>/block|.R|FakeOverride<kotlin/Function0.invoke: R|kotlin/Unit|>|()"];
111 [label="Exit function run" style="filled" fillcolor=red];
}
119 -> {120};
120 -> {121};
121 -> {122};
122 -> {123};
109 -> {110};
110 -> {111};
subgraph cluster_37 {
subgraph cluster_31 {
color=red
124 [label="Enter function test_6" style="filled" fillcolor=red];
subgraph cluster_38 {
112 [label="Enter function test_6" style="filled" fillcolor=red];
subgraph cluster_32 {
color=blue
125 [label="Enter block"];
subgraph cluster_39 {
color=blue
126 [label="Enter function anonymousFunction"];
subgraph cluster_40 {
color=blue
127 [label="Enter block"];
128 [label="Jump: ^@run Unit"];
129 [label="Stub" style="filled" fillcolor=gray];
130 [label="Exit block" style="filled" fillcolor=gray];
}
131 [label="Exit function anonymousFunction"];
}
132 [label="Function call: R|/run|(<L> = run@fun <anonymous>(): R|kotlin/Unit| <kind=UNKNOWN> {
113 [label="Enter function anonymousFunction"];
114 [label="Jump: ^@run Unit"];
115 [label="Stub" style="filled" fillcolor=gray];
116 [label="Exit function anonymousFunction"];
}
117 [label="Function call: R|/run|(<L> = run@fun <anonymous>(): R|kotlin/Unit| <kind=UNKNOWN> {
^@run Unit
}
)"];
133 [label="Exit block"];
}
134 [label="Exit function test_6" style="filled" fillcolor=red];
118 [label="Exit function test_6" style="filled" fillcolor=red];
}
124 -> {125};
125 -> {126};
126 -> {131 127};
127 -> {128};
128 -> {131};
128 -> {129} [style=dotted];
129 -> {130} [style=dotted];
130 -> {131} [style=dotted];
131 -> {126 132};
132 -> {133};
133 -> {134};
112 -> {113};
113 -> {116 114};
114 -> {116};
114 -> {115} [style=dotted];
115 -> {116} [style=dotted];
116 -> {113 117};
117 -> {118};
}
+140 -210
View File
@@ -6,276 +6,206 @@ digraph lambdas_kt {
subgraph cluster_0 {
color=red
0 [label="Enter function run" style="filled" fillcolor=red];
subgraph cluster_1 {
color=blue
1 [label="Enter block"];
2 [label="Function call: R|<local>/block|.R|FakeOverride<kotlin/Function0.invoke: R|kotlin/Unit|>|()"];
3 [label="Exit block"];
}
4 [label="Exit function run" style="filled" fillcolor=red];
1 [label="Function call: R|<local>/block|.R|FakeOverride<kotlin/Function0.invoke: R|kotlin/Unit|>|()"];
2 [label="Exit function run" style="filled" fillcolor=red];
}
0 -> {1};
1 -> {2};
2 -> {3};
3 -> {4};
subgraph cluster_2 {
subgraph cluster_1 {
color=red
5 [label="Enter function test_1" style="filled" fillcolor=red];
subgraph cluster_3 {
3 [label="Enter function test_1" style="filled" fillcolor=red];
subgraph cluster_2 {
color=blue
6 [label="Enter block"];
4 [label="Enter when"];
subgraph cluster_3 {
color=blue
5 [label="Enter when branch condition "];
6 [label="Access variable R|<local>/x|"];
7 [label="Type operator: x is Int"];
8 [label="Exit when branch condition"];
}
9 [label="Synthetic else branch"];
10 [label="Enter when branch result"];
subgraph cluster_4 {
color=blue
7 [label="Enter when"];
11 [label="Enter block"];
subgraph cluster_5 {
color=blue
8 [label="Enter when branch condition "];
9 [label="Access variable R|<local>/x|"];
10 [label="Type operator: x is Int"];
11 [label="Exit when branch condition"];
12 [label="Enter function anonymousFunction"];
13 [label="Access variable R|<local>/x|"];
14 [label="Function call: R|<local>/x|.R|kotlin/Int.inc|()"];
15 [label="Exit function anonymousFunction"];
}
12 [label="Synthetic else branch"];
13 [label="Enter when branch result"];
subgraph cluster_6 {
color=blue
14 [label="Enter block"];
subgraph cluster_7 {
color=blue
15 [label="Enter function anonymousFunction"];
subgraph cluster_8 {
color=blue
16 [label="Enter block"];
17 [label="Access variable R|<local>/x|"];
18 [label="Function call: R|<local>/x|.R|kotlin/Int.inc|()"];
19 [label="Exit block"];
}
20 [label="Exit function anonymousFunction"];
}
21 [label="Function call: R|/run|(<L> = run@fun <anonymous>(): R|kotlin/Unit| <kind=UNKNOWN> {
16 [label="Function call: R|/run|(<L> = run@fun <anonymous>(): R|kotlin/Unit| <kind=UNKNOWN> {
R|<local>/x|.R|kotlin/Int.inc|()
}
)"];
22 [label="Exit block"];
}
23 [label="Exit when branch result"];
24 [label="Exit when"];
17 [label="Exit block"];
}
25 [label="Exit block"];
18 [label="Exit when branch result"];
19 [label="Exit when"];
}
26 [label="Exit function test_1" style="filled" fillcolor=red];
20 [label="Exit function test_1" style="filled" fillcolor=red];
}
3 -> {4};
4 -> {5};
5 -> {6};
6 -> {7};
7 -> {8};
8 -> {9};
9 -> {10};
8 -> {10 9};
9 -> {19};
10 -> {11};
11 -> {13 12};
12 -> {24};
11 -> {12};
12 -> {15 13};
13 -> {14};
14 -> {15};
15 -> {20 16};
15 -> {12 16};
16 -> {17};
17 -> {18};
18 -> {19};
19 -> {20};
20 -> {15 21};
subgraph cluster_6 {
color=red
21 [label="Enter function test_2" style="filled" fillcolor=red];
subgraph cluster_7 {
color=blue
22 [label="Enter when"];
subgraph cluster_8 {
color=blue
23 [label="Enter when branch condition "];
24 [label="Access variable R|<local>/x|"];
25 [label="Type operator: x is Int"];
26 [label="Exit when branch condition"];
}
27 [label="Synthetic else branch"];
28 [label="Enter when branch result"];
subgraph cluster_9 {
color=blue
29 [label="Enter block"];
30 [label="Variable declaration: lval lambda: R|() -> kotlin/Int|"];
31 [label="Exit block"];
}
32 [label="Exit when branch result"];
33 [label="Exit when"];
}
34 [label="Exit function test_2" style="filled" fillcolor=red];
}
21 -> {22};
22 -> {23};
23 -> {24};
24 -> {25};
25 -> {26};
subgraph cluster_9 {
color=red
27 [label="Enter function test_2" style="filled" fillcolor=red];
subgraph cluster_10 {
color=blue
28 [label="Enter block"];
subgraph cluster_11 {
color=blue
29 [label="Enter when"];
subgraph cluster_12 {
color=blue
30 [label="Enter when branch condition "];
31 [label="Access variable R|<local>/x|"];
32 [label="Type operator: x is Int"];
33 [label="Exit when branch condition"];
}
34 [label="Synthetic else branch"];
35 [label="Enter when branch result"];
subgraph cluster_13 {
color=blue
36 [label="Enter block"];
37 [label="Variable declaration: lval lambda: R|() -> kotlin/Int|"];
38 [label="Exit block"];
}
39 [label="Exit when branch result"];
40 [label="Exit when"];
}
41 [label="Exit block"];
}
42 [label="Exit function test_2" style="filled" fillcolor=red];
}
27 -> {28};
26 -> {28 27};
27 -> {33};
28 -> {29};
29 -> {30};
30 -> {31};
31 -> {32};
32 -> {33};
33 -> {35 34};
34 -> {40};
33 -> {34};
subgraph cluster_10 {
color=red
35 [label="Enter function anonymousFunction" style="filled" fillcolor=red];
36 [label="Access variable R|<local>/x|"];
37 [label="Function call: R|<local>/x|.R|kotlin/Int.inc|()"];
38 [label="Exit function anonymousFunction" style="filled" fillcolor=red];
}
35 -> {36};
36 -> {37};
37 -> {38};
38 -> {39};
subgraph cluster_11 {
color=red
39 [label="Enter function getInt" style="filled" fillcolor=red];
40 [label="Function call: R|<local>/block|.R|FakeOverride<kotlin/Function0.invoke: R|kotlin/Unit|>|()"];
41 [label="Const: Int(1)"];
42 [label="Jump: ^getInt Int(1)"];
43 [label="Stub" style="filled" fillcolor=gray];
44 [label="Exit function getInt" style="filled" fillcolor=red];
}
39 -> {40};
40 -> {41};
41 -> {42};
42 -> {44};
42 -> {43} [style=dotted];
43 -> {44} [style=dotted];
subgraph cluster_12 {
color=red
45 [label="Enter function test_3" style="filled" fillcolor=red];
subgraph cluster_13 {
color=blue
46 [label="Enter function anonymousFunction"];
47 [label="Const: Int(1)"];
48 [label="Jump: ^test_3 Int(1)"];
49 [label="Stub" style="filled" fillcolor=gray];
50 [label="Exit function anonymousFunction"];
}
51 [label="Function call: R|/getInt|(<L> = getInt@fun <anonymous>(): R|kotlin/Unit| <kind=UNKNOWN> {
^test_3 Int(1)
}
)"];
52 [label="Jump: ^test_3 R|/getInt|(<L> = getInt@fun <anonymous>(): R|kotlin/Unit| <kind=UNKNOWN> {
^test_3 Int(1)
}
)"];
53 [label="Stub" style="filled" fillcolor=gray];
54 [label="Exit function test_3" style="filled" fillcolor=red];
}
45 -> {46};
46 -> {50 47};
47 -> {48};
48 -> {54};
48 -> {49} [style=dotted];
49 -> {50} [style=dotted];
50 -> {46 51};
51 -> {52};
52 -> {54};
52 -> {53} [style=dotted];
53 -> {54} [style=dotted];
subgraph cluster_14 {
color=red
43 [label="Enter function anonymousFunction" style="filled" fillcolor=red];
55 [label="Enter function test_4" style="filled" fillcolor=red];
subgraph cluster_15 {
color=blue
44 [label="Enter block"];
45 [label="Access variable R|<local>/x|"];
46 [label="Function call: R|<local>/x|.R|kotlin/Int.inc|()"];
47 [label="Exit block"];
56 [label="Enter function anonymousFunction"];
57 [label="Const: Int(1)"];
58 [label="Jump: ^test_4 Int(1)"];
59 [label="Stub" style="filled" fillcolor=gray];
60 [label="Exit function anonymousFunction"];
}
48 [label="Exit function anonymousFunction" style="filled" fillcolor=red];
}
43 -> {44};
44 -> {45};
45 -> {46};
46 -> {47};
47 -> {48};
subgraph cluster_16 {
color=red
49 [label="Enter function getInt" style="filled" fillcolor=red];
subgraph cluster_17 {
color=blue
50 [label="Enter block"];
51 [label="Function call: R|<local>/block|.R|FakeOverride<kotlin/Function0.invoke: R|kotlin/Unit|>|()"];
52 [label="Const: Int(1)"];
53 [label="Jump: ^getInt Int(1)"];
54 [label="Stub" style="filled" fillcolor=gray];
55 [label="Exit block" style="filled" fillcolor=gray];
}
56 [label="Exit function getInt" style="filled" fillcolor=red];
}
49 -> {50};
50 -> {51};
51 -> {52};
52 -> {53};
53 -> {56};
53 -> {54} [style=dotted];
54 -> {55} [style=dotted];
55 -> {56} [style=dotted];
subgraph cluster_18 {
color=red
57 [label="Enter function test_3" style="filled" fillcolor=red];
subgraph cluster_19 {
color=blue
58 [label="Enter block"];
subgraph cluster_20 {
color=blue
59 [label="Enter function anonymousFunction"];
subgraph cluster_21 {
color=blue
60 [label="Enter block"];
61 [label="Const: Int(1)"];
62 [label="Jump: ^test_3 Int(1)"];
63 [label="Stub" style="filled" fillcolor=gray];
64 [label="Exit block" style="filled" fillcolor=gray];
}
65 [label="Exit function anonymousFunction"];
}
66 [label="Function call: R|/getInt|(<L> = getInt@fun <anonymous>(): R|kotlin/Unit| <kind=UNKNOWN> {
^test_3 Int(1)
61 [label="Function call: R|/getInt|(block = getInt@fun <anonymous>(): R|kotlin/Unit| <kind=UNKNOWN> {
^test_4 Int(1)
}
)"];
67 [label="Jump: ^test_3 R|/getInt|(<L> = getInt@fun <anonymous>(): R|kotlin/Unit| <kind=UNKNOWN> {
^test_3 Int(1)
62 [label="Jump: ^test_4 R|/getInt|(block = getInt@fun <anonymous>(): R|kotlin/Unit| <kind=UNKNOWN> {
^test_4 Int(1)
}
)"];
68 [label="Stub" style="filled" fillcolor=gray];
69 [label="Exit block" style="filled" fillcolor=gray];
}
70 [label="Exit function test_3" style="filled" fillcolor=red];
63 [label="Stub" style="filled" fillcolor=gray];
64 [label="Exit function test_4" style="filled" fillcolor=red];
}
55 -> {56};
56 -> {60 57};
57 -> {58};
58 -> {59};
59 -> {65 60};
60 -> {61};
58 -> {64};
58 -> {59} [style=dotted];
59 -> {60} [style=dotted];
60 -> {56 61};
61 -> {62};
62 -> {70};
62 -> {64};
62 -> {63} [style=dotted];
63 -> {64} [style=dotted];
64 -> {65} [style=dotted];
65 -> {59 66};
66 -> {67};
67 -> {70};
67 -> {68} [style=dotted];
68 -> {69} [style=dotted];
69 -> {70} [style=dotted];
subgraph cluster_22 {
color=red
71 [label="Enter function test_4" style="filled" fillcolor=red];
subgraph cluster_23 {
color=blue
72 [label="Enter block"];
subgraph cluster_24 {
color=blue
73 [label="Enter function anonymousFunction"];
subgraph cluster_25 {
color=blue
74 [label="Enter block"];
75 [label="Const: Int(1)"];
76 [label="Jump: ^test_4 Int(1)"];
77 [label="Stub" style="filled" fillcolor=gray];
78 [label="Exit block" style="filled" fillcolor=gray];
}
79 [label="Exit function anonymousFunction"];
}
80 [label="Function call: R|/getInt|(block = getInt@fun <anonymous>(): R|kotlin/Unit| <kind=UNKNOWN> {
^test_4 Int(1)
}
)"];
81 [label="Jump: ^test_4 R|/getInt|(block = getInt@fun <anonymous>(): R|kotlin/Unit| <kind=UNKNOWN> {
^test_4 Int(1)
}
)"];
82 [label="Stub" style="filled" fillcolor=gray];
83 [label="Exit block" style="filled" fillcolor=gray];
}
84 [label="Exit function test_4" style="filled" fillcolor=red];
}
71 -> {72};
72 -> {73};
73 -> {79 74};
74 -> {75};
75 -> {76};
76 -> {84};
76 -> {77} [style=dotted];
77 -> {78} [style=dotted];
78 -> {79} [style=dotted];
79 -> {73 80};
80 -> {81};
81 -> {84};
81 -> {82} [style=dotted];
82 -> {83} [style=dotted];
83 -> {84} [style=dotted];
}
+371 -434
View File
@@ -8,93 +8,83 @@ digraph loops_kt {
0 [label="Enter function testWhile" style="filled" fillcolor=red];
subgraph cluster_1 {
color=blue
1 [label="Enter block"];
1 [label="Enter while loop"];
subgraph cluster_2 {
color=blue
2 [label="Enter while loop"];
subgraph cluster_3 {
color=blue
3 [label="Enter loop condition"];
4 [label="Access variable R|<local>/b|"];
5 [label="Exit loop condition"];
}
2 [label="Enter loop condition"];
3 [label="Access variable R|<local>/b|"];
4 [label="Exit loop condition"];
}
subgraph cluster_3 {
color=blue
5 [label="Enter loop block"];
subgraph cluster_4 {
color=blue
6 [label="Enter loop block"];
subgraph cluster_5 {
color=blue
7 [label="Enter block"];
8 [label="Access variable R|<local>/x|"];
9 [label="Type operator: x is String"];
10 [label="Variable declaration: lval y: R|kotlin/Boolean|"];
11 [label="Exit block"];
}
12 [label="Exit loop block"];
6 [label="Enter block"];
7 [label="Access variable R|<local>/x|"];
8 [label="Type operator: x is String"];
9 [label="Variable declaration: lval y: R|kotlin/Boolean|"];
10 [label="Exit block"];
}
13 [label="Exit whileloop"];
11 [label="Exit loop block"];
}
14 [label="Access variable R|<local>/x|"];
15 [label="Type operator: x is String"];
16 [label="Exit block"];
12 [label="Exit whileloop"];
}
17 [label="Exit function testWhile" style="filled" fillcolor=red];
13 [label="Access variable R|<local>/x|"];
14 [label="Type operator: x is String"];
15 [label="Exit function testWhile" style="filled" fillcolor=red];
}
0 -> {1};
1 -> {2};
2 -> {3};
3 -> {4};
4 -> {5};
5 -> {13 6};
4 -> {12 5};
5 -> {6};
6 -> {7};
7 -> {8};
8 -> {9};
9 -> {10};
10 -> {11};
11 -> {12};
12 -> {3};
11 -> {2};
12 -> {13};
13 -> {14};
14 -> {15};
15 -> {16};
16 -> {17};
subgraph cluster_6 {
subgraph cluster_5 {
color=red
18 [label="Enter function testDoWhile" style="filled" fillcolor=red];
subgraph cluster_7 {
16 [label="Enter function testDoWhile" style="filled" fillcolor=red];
subgraph cluster_6 {
color=blue
19 [label="Enter block"];
subgraph cluster_8 {
17 [label="Enter do-while loop"];
subgraph cluster_7 {
color=blue
20 [label="Enter do-while loop"];
subgraph cluster_9 {
18 [label="Enter loop block"];
subgraph cluster_8 {
color=blue
21 [label="Enter loop block"];
subgraph cluster_10 {
color=blue
22 [label="Enter block"];
23 [label="Access variable R|<local>/x|"];
24 [label="Type operator: x is String"];
25 [label="Variable declaration: lval y: R|kotlin/Boolean|"];
26 [label="Exit block"];
}
27 [label="Exit loop block"];
19 [label="Enter block"];
20 [label="Access variable R|<local>/x|"];
21 [label="Type operator: x is String"];
22 [label="Variable declaration: lval y: R|kotlin/Boolean|"];
23 [label="Exit block"];
}
subgraph cluster_11 {
color=blue
28 [label="Enter loop condition"];
29 [label="Access variable R|<local>/b|"];
30 [label="Exit loop condition"];
}
31 [label="Exit do-whileloop"];
24 [label="Exit loop block"];
}
32 [label="Access variable R|<local>/x|"];
33 [label="Type operator: x is String"];
34 [label="Exit block"];
subgraph cluster_9 {
color=blue
25 [label="Enter loop condition"];
26 [label="Access variable R|<local>/b|"];
27 [label="Exit loop condition"];
}
28 [label="Exit do-whileloop"];
}
35 [label="Exit function testDoWhile" style="filled" fillcolor=red];
29 [label="Access variable R|<local>/x|"];
30 [label="Type operator: x is String"];
31 [label="Exit function testDoWhile" style="filled" fillcolor=red];
}
16 -> {17};
17 -> {18};
18 -> {19};
19 -> {20};
20 -> {21};
@@ -104,63 +94,58 @@ digraph loops_kt {
24 -> {25};
25 -> {26};
26 -> {27};
27 -> {28};
27 -> {18 28};
28 -> {29};
29 -> {30};
30 -> {21 31};
31 -> {32};
30 -> {31};
subgraph cluster_10 {
color=red
32 [label="Enter function testFor" style="filled" fillcolor=red];
33 [label="Const: Int(0)"];
34 [label="Const: Int(5)"];
35 [label="Function call: Int(0).R|kotlin/Int.rangeTo|(Int(5))"];
36 [label="Variable declaration: lval <range>: R|kotlin/ranges/IntRange|"];
37 [label="Access variable R|<local>/<range>|"];
38 [label="Function call: R|<local>/<range>|.R|kotlin/ranges/IntProgression.iterator|()"];
39 [label="Variable declaration: lval <iterator>: R|kotlin/collections/IntIterator|"];
subgraph cluster_11 {
color=blue
40 [label="Enter while loop"];
subgraph cluster_12 {
color=blue
41 [label="Enter loop condition"];
42 [label="Access variable R|<local>/<iterator>|"];
43 [label="Function call: R|<local>/<iterator>|.R|kotlin/collections/Iterator.hasNext|()"];
44 [label="Exit loop condition"];
}
subgraph cluster_13 {
color=blue
45 [label="Enter loop block"];
subgraph cluster_14 {
color=blue
46 [label="Enter block"];
47 [label="Access variable R|<local>/<iterator>|"];
48 [label="Function call: R|<local>/<iterator>|.R|kotlin/collections/IntIterator.next|()"];
49 [label="Variable declaration: lval i: R|kotlin/Int|"];
50 [label="Access variable R|<local>/x|"];
51 [label="Type operator: x is String"];
52 [label="Variable declaration: lval y: R|kotlin/Boolean|"];
53 [label="Exit block"];
}
54 [label="Exit loop block"];
}
55 [label="Exit whileloop"];
}
56 [label="Access variable R|<local>/x|"];
57 [label="Type operator: x is String"];
58 [label="Exit function testFor" style="filled" fillcolor=red];
}
32 -> {33};
33 -> {34};
34 -> {35};
subgraph cluster_12 {
color=red
36 [label="Enter function testFor" style="filled" fillcolor=red];
subgraph cluster_13 {
color=blue
37 [label="Enter block"];
38 [label="Const: Int(0)"];
39 [label="Const: Int(5)"];
40 [label="Function call: Int(0).R|kotlin/Int.rangeTo|(Int(5))"];
41 [label="Variable declaration: lval <range>: R|kotlin/ranges/IntRange|"];
42 [label="Access variable R|<local>/<range>|"];
43 [label="Function call: R|<local>/<range>|.R|kotlin/ranges/IntProgression.iterator|()"];
44 [label="Variable declaration: lval <iterator>: R|kotlin/collections/IntIterator|"];
subgraph cluster_14 {
color=blue
45 [label="Enter while loop"];
subgraph cluster_15 {
color=blue
46 [label="Enter loop condition"];
47 [label="Access variable R|<local>/<iterator>|"];
48 [label="Function call: R|<local>/<iterator>|.R|kotlin/collections/Iterator.hasNext|()"];
49 [label="Exit loop condition"];
}
subgraph cluster_16 {
color=blue
50 [label="Enter loop block"];
subgraph cluster_17 {
color=blue
51 [label="Enter block"];
52 [label="Access variable R|<local>/<iterator>|"];
53 [label="Function call: R|<local>/<iterator>|.R|kotlin/collections/IntIterator.next|()"];
54 [label="Variable declaration: lval i: R|kotlin/Int|"];
55 [label="Access variable R|<local>/x|"];
56 [label="Type operator: x is String"];
57 [label="Variable declaration: lval y: R|kotlin/Boolean|"];
58 [label="Exit block"];
}
59 [label="Exit loop block"];
}
60 [label="Exit whileloop"];
}
61 [label="Access variable R|<local>/x|"];
62 [label="Type operator: x is String"];
63 [label="Exit block"];
}
64 [label="Exit function testFor" style="filled" fillcolor=red];
}
35 -> {36};
36 -> {37};
37 -> {38};
38 -> {39};
@@ -169,252 +154,283 @@ digraph loops_kt {
41 -> {42};
42 -> {43};
43 -> {44};
44 -> {45};
44 -> {55 45};
45 -> {46};
46 -> {47};
47 -> {48};
48 -> {49};
49 -> {60 50};
49 -> {50};
50 -> {51};
51 -> {52};
52 -> {53};
53 -> {54};
54 -> {55};
54 -> {41};
55 -> {56};
56 -> {57};
57 -> {58};
58 -> {59};
59 -> {46};
subgraph cluster_15 {
color=red
59 [label="Enter function testWhileTrue" style="filled" fillcolor=red];
subgraph cluster_16 {
color=blue
60 [label="Enter while loop"];
subgraph cluster_17 {
color=blue
61 [label="Enter loop condition"];
62 [label="Const: Boolean(true)"];
63 [label="Exit loop condition"];
}
subgraph cluster_18 {
color=blue
64 [label="Enter loop block"];
subgraph cluster_19 {
color=blue
65 [label="Enter block"];
66 [label="Const: Int(1)"];
67 [label="Exit block"];
}
68 [label="Exit loop block"];
}
69 [label="Stub" style="filled" fillcolor=gray];
70 [label="Exit whileloop" style="filled" fillcolor=gray];
}
71 [label="Const: Int(1)" style="filled" fillcolor=gray];
72 [label="Exit function testWhileTrue" style="filled" fillcolor=red style="filled" fillcolor=gray];
}
59 -> {60};
60 -> {61};
61 -> {62};
62 -> {63};
63 -> {64};
subgraph cluster_18 {
color=red
65 [label="Enter function testWhileTrue" style="filled" fillcolor=red];
subgraph cluster_19 {
color=blue
66 [label="Enter block"];
subgraph cluster_20 {
color=blue
67 [label="Enter while loop"];
subgraph cluster_21 {
color=blue
68 [label="Enter loop condition"];
69 [label="Const: Boolean(true)"];
70 [label="Exit loop condition"];
}
subgraph cluster_22 {
color=blue
71 [label="Enter loop block"];
subgraph cluster_23 {
color=blue
72 [label="Enter block"];
73 [label="Const: Int(1)"];
74 [label="Exit block"];
}
75 [label="Exit loop block"];
}
76 [label="Stub" style="filled" fillcolor=gray];
77 [label="Exit whileloop" style="filled" fillcolor=gray];
}
78 [label="Const: Int(1)" style="filled" fillcolor=gray];
79 [label="Exit block" style="filled" fillcolor=gray];
}
80 [label="Exit function testWhileTrue" style="filled" fillcolor=red style="filled" fillcolor=gray];
}
63 -> {69} [style=dotted];
64 -> {65};
65 -> {66};
66 -> {67};
67 -> {68};
68 -> {69};
69 -> {70};
70 -> {71};
70 -> {76} [style=dotted];
71 -> {72};
72 -> {73};
73 -> {74};
74 -> {75};
75 -> {68};
76 -> {77} [style=dotted];
77 -> {78} [style=dotted];
78 -> {79} [style=dotted];
79 -> {80} [style=dotted];
68 -> {61};
69 -> {70} [style=dotted];
70 -> {71} [style=dotted];
71 -> {72} [style=dotted];
subgraph cluster_24 {
subgraph cluster_20 {
color=red
81 [label="Enter function testWhileTrueWithBreak" style="filled" fillcolor=red];
subgraph cluster_25 {
73 [label="Enter function testWhileTrueWithBreak" style="filled" fillcolor=red];
subgraph cluster_21 {
color=blue
82 [label="Enter block"];
subgraph cluster_26 {
74 [label="Enter while loop"];
subgraph cluster_22 {
color=blue
83 [label="Enter while loop"];
subgraph cluster_27 {
color=blue
84 [label="Enter loop condition"];
85 [label="Const: Boolean(true)"];
86 [label="Exit loop condition"];
}
subgraph cluster_28 {
color=blue
87 [label="Enter loop block"];
subgraph cluster_29 {
color=blue
88 [label="Enter block"];
subgraph cluster_30 {
color=blue
89 [label="Enter when"];
subgraph cluster_31 {
color=blue
90 [label="Enter when branch condition "];
91 [label="Access variable R|<local>/b|"];
92 [label="Exit when branch condition"];
}
93 [label="Synthetic else branch"];
94 [label="Enter when branch result"];
subgraph cluster_32 {
color=blue
95 [label="Enter block"];
96 [label="Jump: break@@@[Boolean(true)] "];
97 [label="Stub" style="filled" fillcolor=gray];
98 [label="Exit block" style="filled" fillcolor=gray];
}
99 [label="Exit when branch result" style="filled" fillcolor=gray];
100 [label="Exit when"];
}
101 [label="Exit block"];
}
102 [label="Exit loop block"];
}
103 [label="Stub" style="filled" fillcolor=gray];
104 [label="Exit whileloop"];
75 [label="Enter loop condition"];
76 [label="Const: Boolean(true)"];
77 [label="Exit loop condition"];
}
105 [label="Const: Int(1)"];
106 [label="Exit block"];
subgraph cluster_23 {
color=blue
78 [label="Enter loop block"];
subgraph cluster_24 {
color=blue
79 [label="Enter block"];
subgraph cluster_25 {
color=blue
80 [label="Enter when"];
subgraph cluster_26 {
color=blue
81 [label="Enter when branch condition "];
82 [label="Access variable R|<local>/b|"];
83 [label="Exit when branch condition"];
}
84 [label="Synthetic else branch"];
85 [label="Enter when branch result"];
subgraph cluster_27 {
color=blue
86 [label="Enter block"];
87 [label="Jump: break@@@[Boolean(true)] "];
88 [label="Stub" style="filled" fillcolor=gray];
89 [label="Exit block" style="filled" fillcolor=gray];
}
90 [label="Exit when branch result" style="filled" fillcolor=gray];
91 [label="Exit when"];
}
92 [label="Exit block"];
}
93 [label="Exit loop block"];
}
94 [label="Stub" style="filled" fillcolor=gray];
95 [label="Exit whileloop"];
}
107 [label="Exit function testWhileTrueWithBreak" style="filled" fillcolor=red];
96 [label="Const: Int(1)"];
97 [label="Exit function testWhileTrueWithBreak" style="filled" fillcolor=red];
}
73 -> {74};
74 -> {75};
75 -> {76};
76 -> {77};
77 -> {78};
77 -> {94} [style=dotted];
78 -> {79};
79 -> {80};
80 -> {81};
81 -> {82};
82 -> {83};
83 -> {84};
84 -> {85};
83 -> {85 84};
84 -> {91};
85 -> {86};
86 -> {87};
86 -> {103} [style=dotted];
87 -> {88};
88 -> {89};
89 -> {90};
90 -> {91};
87 -> {95};
87 -> {88} [style=dotted];
88 -> {89} [style=dotted];
89 -> {90} [style=dotted];
90 -> {91} [style=dotted];
91 -> {92};
92 -> {94 93};
93 -> {100};
94 -> {95};
92 -> {93};
93 -> {75};
94 -> {95} [style=dotted];
95 -> {96};
96 -> {104};
96 -> {97} [style=dotted];
97 -> {98} [style=dotted];
98 -> {99} [style=dotted];
99 -> {100} [style=dotted];
96 -> {97};
subgraph cluster_28 {
color=red
98 [label="Enter function testWhileFalse" style="filled" fillcolor=red];
subgraph cluster_29 {
color=blue
99 [label="Enter while loop"];
subgraph cluster_30 {
color=blue
100 [label="Enter loop condition"];
101 [label="Const: Boolean(false)"];
102 [label="Exit loop condition"];
}
103 [label="Stub" style="filled" fillcolor=gray];
subgraph cluster_31 {
color=blue
104 [label="Enter loop block" style="filled" fillcolor=gray];
subgraph cluster_32 {
color=blue
105 [label="Enter block" style="filled" fillcolor=gray];
106 [label="Const: Int(1)" style="filled" fillcolor=gray];
107 [label="Exit block" style="filled" fillcolor=gray];
}
108 [label="Exit loop block" style="filled" fillcolor=gray];
}
109 [label="Exit whileloop"];
}
110 [label="Const: Int(1)"];
111 [label="Exit function testWhileFalse" style="filled" fillcolor=red];
}
98 -> {99};
99 -> {100};
100 -> {101};
101 -> {102};
102 -> {84};
102 -> {109};
102 -> {103} [style=dotted];
103 -> {104} [style=dotted];
104 -> {105};
105 -> {106};
106 -> {107};
104 -> {105} [style=dotted];
105 -> {106} [style=dotted];
106 -> {107} [style=dotted];
107 -> {108} [style=dotted];
108 -> {100} [style=dotted];
109 -> {110};
110 -> {111};
subgraph cluster_33 {
color=red
108 [label="Enter function testWhileFalse" style="filled" fillcolor=red];
112 [label="Enter function testDoWhileTrue" style="filled" fillcolor=red];
subgraph cluster_34 {
color=blue
109 [label="Enter block"];
113 [label="Enter do-while loop"];
subgraph cluster_35 {
color=blue
110 [label="Enter while loop"];
114 [label="Enter loop block"];
subgraph cluster_36 {
color=blue
111 [label="Enter loop condition"];
112 [label="Const: Boolean(false)"];
113 [label="Exit loop condition"];
115 [label="Enter block"];
116 [label="Const: Int(1)"];
117 [label="Exit block"];
}
114 [label="Stub" style="filled" fillcolor=gray];
subgraph cluster_37 {
color=blue
115 [label="Enter loop block" style="filled" fillcolor=gray];
subgraph cluster_38 {
color=blue
116 [label="Enter block" style="filled" fillcolor=gray];
117 [label="Const: Int(1)" style="filled" fillcolor=gray];
118 [label="Exit block" style="filled" fillcolor=gray];
}
119 [label="Exit loop block" style="filled" fillcolor=gray];
}
120 [label="Exit whileloop"];
118 [label="Exit loop block"];
}
121 [label="Const: Int(1)"];
122 [label="Exit block"];
}
123 [label="Exit function testWhileFalse" style="filled" fillcolor=red];
}
108 -> {109};
109 -> {110};
110 -> {111};
111 -> {112};
112 -> {113};
113 -> {120};
113 -> {114} [style=dotted];
114 -> {115} [style=dotted];
115 -> {116} [style=dotted];
116 -> {117} [style=dotted];
117 -> {118} [style=dotted];
118 -> {119} [style=dotted];
119 -> {111} [style=dotted];
120 -> {121};
121 -> {122};
122 -> {123};
subgraph cluster_39 {
color=red
124 [label="Enter function testDoWhileTrue" style="filled" fillcolor=red];
subgraph cluster_40 {
color=blue
125 [label="Enter block"];
subgraph cluster_41 {
subgraph cluster_37 {
color=blue
126 [label="Enter do-while loop"];
subgraph cluster_42 {
color=blue
127 [label="Enter loop block"];
subgraph cluster_43 {
color=blue
128 [label="Enter block"];
129 [label="Const: Int(1)"];
130 [label="Exit block"];
}
131 [label="Exit loop block"];
}
subgraph cluster_44 {
color=blue
132 [label="Enter loop condition"];
133 [label="Const: Boolean(true)"];
134 [label="Exit loop condition"];
}
135 [label="Stub" style="filled" fillcolor=gray];
136 [label="Exit do-whileloop" style="filled" fillcolor=gray];
119 [label="Enter loop condition"];
120 [label="Const: Boolean(true)"];
121 [label="Exit loop condition"];
}
137 [label="Const: Int(1)" style="filled" fillcolor=gray];
138 [label="Exit block" style="filled" fillcolor=gray];
122 [label="Stub" style="filled" fillcolor=gray];
123 [label="Exit do-whileloop" style="filled" fillcolor=gray];
}
139 [label="Exit function testDoWhileTrue" style="filled" fillcolor=red style="filled" fillcolor=gray];
124 [label="Const: Int(1)" style="filled" fillcolor=gray];
125 [label="Exit function testDoWhileTrue" style="filled" fillcolor=red style="filled" fillcolor=gray];
}
112 -> {113};
113 -> {114};
114 -> {115};
115 -> {116};
116 -> {117};
117 -> {118};
118 -> {119};
119 -> {120};
120 -> {121};
121 -> {114};
121 -> {122} [style=dotted];
122 -> {123} [style=dotted];
123 -> {124} [style=dotted];
124 -> {125} [style=dotted];
subgraph cluster_38 {
color=red
126 [label="Enter function testDoWhileTrueWithBreak" style="filled" fillcolor=red];
subgraph cluster_39 {
color=blue
127 [label="Enter do-while loop"];
subgraph cluster_40 {
color=blue
128 [label="Enter loop block"];
subgraph cluster_41 {
color=blue
129 [label="Enter block"];
subgraph cluster_42 {
color=blue
130 [label="Enter when"];
subgraph cluster_43 {
color=blue
131 [label="Enter when branch condition "];
132 [label="Access variable R|<local>/b|"];
133 [label="Exit when branch condition"];
}
134 [label="Synthetic else branch"];
135 [label="Enter when branch result"];
subgraph cluster_44 {
color=blue
136 [label="Enter block"];
137 [label="Jump: break@@@[Boolean(true)] "];
138 [label="Stub" style="filled" fillcolor=gray];
139 [label="Exit block" style="filled" fillcolor=gray];
}
140 [label="Exit when branch result" style="filled" fillcolor=gray];
141 [label="Exit when"];
}
142 [label="Exit block"];
}
143 [label="Exit loop block"];
}
subgraph cluster_45 {
color=blue
144 [label="Enter loop condition"];
145 [label="Const: Boolean(true)"];
146 [label="Exit loop condition"];
}
147 [label="Stub" style="filled" fillcolor=gray];
148 [label="Exit do-whileloop"];
}
149 [label="Const: Int(1)"];
150 [label="Exit function testDoWhileTrueWithBreak" style="filled" fillcolor=red];
}
124 -> {125};
125 -> {126};
126 -> {127};
127 -> {128};
128 -> {129};
@@ -422,148 +438,69 @@ digraph loops_kt {
130 -> {131};
131 -> {132};
132 -> {133};
133 -> {134};
134 -> {127};
134 -> {135} [style=dotted];
135 -> {136} [style=dotted];
136 -> {137} [style=dotted];
133 -> {135 134};
134 -> {141};
135 -> {136};
136 -> {137};
137 -> {148};
137 -> {138} [style=dotted];
138 -> {139} [style=dotted];
subgraph cluster_45 {
color=red
140 [label="Enter function testDoWhileTrueWithBreak" style="filled" fillcolor=red];
subgraph cluster_46 {
color=blue
141 [label="Enter block"];
subgraph cluster_47 {
color=blue
142 [label="Enter do-while loop"];
subgraph cluster_48 {
color=blue
143 [label="Enter loop block"];
subgraph cluster_49 {
color=blue
144 [label="Enter block"];
subgraph cluster_50 {
color=blue
145 [label="Enter when"];
subgraph cluster_51 {
color=blue
146 [label="Enter when branch condition "];
147 [label="Access variable R|<local>/b|"];
148 [label="Exit when branch condition"];
}
149 [label="Synthetic else branch"];
150 [label="Enter when branch result"];
subgraph cluster_52 {
color=blue
151 [label="Enter block"];
152 [label="Jump: break@@@[Boolean(true)] "];
153 [label="Stub" style="filled" fillcolor=gray];
154 [label="Exit block" style="filled" fillcolor=gray];
}
155 [label="Exit when branch result" style="filled" fillcolor=gray];
156 [label="Exit when"];
}
157 [label="Exit block"];
}
158 [label="Exit loop block"];
}
subgraph cluster_53 {
color=blue
159 [label="Enter loop condition"];
160 [label="Const: Boolean(true)"];
161 [label="Exit loop condition"];
}
162 [label="Stub" style="filled" fillcolor=gray];
163 [label="Exit do-whileloop"];
}
164 [label="Const: Int(1)"];
165 [label="Exit block"];
}
166 [label="Exit function testDoWhileTrueWithBreak" style="filled" fillcolor=red];
}
140 -> {141};
139 -> {140} [style=dotted];
140 -> {141} [style=dotted];
141 -> {142};
142 -> {143};
143 -> {144};
144 -> {145};
145 -> {146};
146 -> {147};
147 -> {148};
148 -> {150 149};
149 -> {156};
150 -> {151};
146 -> {128};
146 -> {147} [style=dotted];
147 -> {148} [style=dotted];
148 -> {149};
149 -> {150};
subgraph cluster_46 {
color=red
151 [label="Enter function testDoWhileFalse" style="filled" fillcolor=red];
subgraph cluster_47 {
color=blue
152 [label="Enter do-while loop"];
subgraph cluster_48 {
color=blue
153 [label="Enter loop block"];
subgraph cluster_49 {
color=blue
154 [label="Enter block"];
155 [label="Const: Int(1)"];
156 [label="Exit block"];
}
157 [label="Exit loop block"];
}
subgraph cluster_50 {
color=blue
158 [label="Enter loop condition"];
159 [label="Const: Boolean(false)"];
160 [label="Exit loop condition"];
}
161 [label="Exit do-whileloop"];
}
162 [label="Const: Int(1)"];
163 [label="Exit function testDoWhileFalse" style="filled" fillcolor=red];
}
164 [label="Stub" style="filled" fillcolor=gray];
151 -> {152};
152 -> {163};
152 -> {153} [style=dotted];
153 -> {154} [style=dotted];
154 -> {155} [style=dotted];
155 -> {156} [style=dotted];
152 -> {153};
153 -> {154};
154 -> {155};
155 -> {156};
156 -> {157};
157 -> {158};
158 -> {159};
159 -> {160};
160 -> {161};
161 -> {143};
161 -> {162} [style=dotted];
162 -> {163} [style=dotted];
163 -> {164};
164 -> {165};
165 -> {166};
subgraph cluster_54 {
color=red
167 [label="Enter function testDoWhileFalse" style="filled" fillcolor=red];
subgraph cluster_55 {
color=blue
168 [label="Enter block"];
subgraph cluster_56 {
color=blue
169 [label="Enter do-while loop"];
subgraph cluster_57 {
color=blue
170 [label="Enter loop block"];
subgraph cluster_58 {
color=blue
171 [label="Enter block"];
172 [label="Const: Int(1)"];
173 [label="Exit block"];
}
174 [label="Exit loop block"];
}
subgraph cluster_59 {
color=blue
175 [label="Enter loop condition"];
176 [label="Const: Boolean(false)"];
177 [label="Exit loop condition"];
}
178 [label="Exit do-whileloop"];
}
179 [label="Const: Int(1)"];
180 [label="Exit block"];
}
181 [label="Exit function testDoWhileFalse" style="filled" fillcolor=red];
}
182 [label="Stub" style="filled" fillcolor=gray];
167 -> {168};
168 -> {169};
169 -> {170};
170 -> {171};
171 -> {172};
172 -> {173};
173 -> {174};
174 -> {175};
175 -> {176};
176 -> {177};
177 -> {178};
177 -> {182} [style=dotted];
178 -> {179};
179 -> {180};
180 -> {181};
182 -> {170} [style=dotted];
160 -> {164} [style=dotted];
161 -> {162};
162 -> {163};
164 -> {153} [style=dotted];
}
@@ -6,167 +6,127 @@ digraph propertiesAndInitBlocks_kt {
subgraph cluster_0 {
color=red
0 [label="Enter function run" style="filled" fillcolor=red];
subgraph cluster_1 {
color=blue
1 [label="Enter block"];
2 [label="Function call: R|<local>/block|.R|FakeOverride<kotlin/Function0.invoke: R|kotlin/Unit|>|()"];
3 [label="Exit block"];
}
4 [label="Exit function run" style="filled" fillcolor=red];
1 [label="Function call: R|<local>/block|.R|FakeOverride<kotlin/Function0.invoke: R|kotlin/Unit|>|()"];
2 [label="Exit function run" style="filled" fillcolor=red];
}
0 -> {1};
1 -> {2};
2 -> {3};
subgraph cluster_1 {
color=red
3 [label="Enter function getter" style="filled" fillcolor=red];
4 [label="Exit function getter" style="filled" fillcolor=red];
}
3 -> {4};
subgraph cluster_2 {
color=red
5 [label="Enter function getter" style="filled" fillcolor=red];
6 [label="Exit function getter" style="filled" fillcolor=red];
5 [label="Enter property" style="filled" fillcolor=red];
6 [label="Const: Int(1)"];
7 [label="Exit property" style="filled" fillcolor=red];
}
5 -> {6};
6 -> {7};
subgraph cluster_3 {
color=red
7 [label="Enter property" style="filled" fillcolor=red];
8 [label="Const: Int(1)"];
9 [label="Exit property" style="filled" fillcolor=red];
8 [label="Enter function getter" style="filled" fillcolor=red];
9 [label="Const: Int(1)"];
10 [label="Jump: ^ Int(1)"];
11 [label="Stub" style="filled" fillcolor=gray];
12 [label="Exit function getter" style="filled" fillcolor=red];
}
7 -> {8};
8 -> {9};
9 -> {10};
10 -> {12};
10 -> {11} [style=dotted];
11 -> {12} [style=dotted];
subgraph cluster_4 {
color=red
10 [label="Enter function getter" style="filled" fillcolor=red];
subgraph cluster_5 {
color=blue
11 [label="Enter block"];
12 [label="Const: Int(1)"];
13 [label="Jump: ^ Int(1)"];
14 [label="Stub" style="filled" fillcolor=gray];
15 [label="Exit block" style="filled" fillcolor=gray];
}
16 [label="Exit function getter" style="filled" fillcolor=red];
13 [label="Enter function setter" style="filled" fillcolor=red];
14 [label="Const: Int(1)"];
15 [label="Assignmenet: F|/x2|"];
16 [label="Exit function setter" style="filled" fillcolor=red];
}
10 -> {11};
11 -> {12};
12 -> {13};
13 -> {16};
13 -> {14} [style=dotted];
14 -> {15} [style=dotted];
15 -> {16} [style=dotted];
13 -> {14};
14 -> {15};
15 -> {16};
subgraph cluster_6 {
subgraph cluster_5 {
color=red
17 [label="Enter function setter" style="filled" fillcolor=red];
subgraph cluster_7 {
color=blue
18 [label="Enter block"];
19 [label="Const: Int(1)"];
20 [label="Assignmenet: F|/x2|"];
21 [label="Exit block"];
}
22 [label="Exit function setter" style="filled" fillcolor=red];
17 [label="Enter property" style="filled" fillcolor=red];
18 [label="Const: Int(1)"];
19 [label="Exit property" style="filled" fillcolor=red];
}
17 -> {18};
18 -> {19};
19 -> {20};
subgraph cluster_6 {
color=red
20 [label="Enter function foo" style="filled" fillcolor=red];
21 [label="Const: Int(1)"];
22 [label="Const: Int(1)"];
23 [label="Function call: Int(1).R|kotlin/Int.plus|(Int(1))"];
24 [label="Variable declaration: lval c: R|kotlin/Int|"];
25 [label="Function call: R|java/lang/Exception.Exception|()"];
26 [label="Throw: throw R|java/lang/Exception.Exception|()"];
27 [label="Stub" style="filled" fillcolor=gray];
28 [label="Exit function foo" style="filled" fillcolor=red];
}
20 -> {21};
21 -> {22};
22 -> {23};
23 -> {24};
24 -> {25};
25 -> {26};
26 -> {28};
26 -> {27} [style=dotted];
27 -> {28} [style=dotted];
subgraph cluster_7 {
color=red
29 [label="Enter function <init>" style="filled" fillcolor=red];
30 [label="Exit function <init>" style="filled" fillcolor=red];
}
29 -> {30};
subgraph cluster_8 {
color=red
23 [label="Enter property" style="filled" fillcolor=red];
24 [label="Const: Int(1)"];
25 [label="Exit property" style="filled" fillcolor=red];
31 [label="Enter function getter" style="filled" fillcolor=red];
32 [label="Exit function getter" style="filled" fillcolor=red];
}
23 -> {24};
24 -> {25};
31 -> {32};
subgraph cluster_9 {
color=red
26 [label="Enter function foo" style="filled" fillcolor=red];
subgraph cluster_10 {
33 [label="Enter function <init>" style="filled" fillcolor=red];
34 [label="Exit function <init>" style="filled" fillcolor=red];
}
33 -> {34};
subgraph cluster_10 {
color=red
35 [label="Enter property" style="filled" fillcolor=red];
subgraph cluster_11 {
color=blue
27 [label="Enter block"];
28 [label="Const: Int(1)"];
29 [label="Const: Int(1)"];
30 [label="Function call: Int(1).R|kotlin/Int.plus|(Int(1))"];
31 [label="Variable declaration: lval c: R|kotlin/Int|"];
32 [label="Function call: R|java/lang/Exception.Exception|()"];
33 [label="Throw: throw R|java/lang/Exception.Exception|()"];
34 [label="Stub" style="filled" fillcolor=gray];
35 [label="Exit block" style="filled" fillcolor=gray];
36 [label="Enter function anonymousFunction"];
37 [label="Function call: R|java/lang/Exception.Exception|()"];
38 [label="Throw: throw R|java/lang/Exception.Exception|()"];
39 [label="Stub" style="filled" fillcolor=gray];
40 [label="Exit function anonymousFunction"];
}
36 [label="Exit function foo" style="filled" fillcolor=red];
}
26 -> {27};
27 -> {28};
28 -> {29};
29 -> {30};
30 -> {31};
31 -> {32};
32 -> {33};
33 -> {36};
33 -> {34} [style=dotted];
34 -> {35} [style=dotted];
35 -> {36} [style=dotted];
subgraph cluster_11 {
color=red
37 [label="Enter function <init>" style="filled" fillcolor=red];
38 [label="Exit function <init>" style="filled" fillcolor=red];
}
37 -> {38};
subgraph cluster_12 {
color=red
39 [label="Enter function getter" style="filled" fillcolor=red];
subgraph cluster_13 {
color=blue
40 [label="Enter block"];
41 [label="Exit block"];
}
42 [label="Exit function getter" style="filled" fillcolor=red];
}
39 -> {40};
40 -> {41};
41 -> {42};
subgraph cluster_14 {
color=red
43 [label="Enter function <init>" style="filled" fillcolor=red];
44 [label="Exit function <init>" style="filled" fillcolor=red];
}
43 -> {44};
subgraph cluster_15 {
color=red
45 [label="Enter property" style="filled" fillcolor=red];
subgraph cluster_16 {
color=blue
46 [label="Enter function anonymousFunction"];
subgraph cluster_17 {
color=blue
47 [label="Enter block"];
48 [label="Function call: R|java/lang/Exception.Exception|()"];
49 [label="Throw: throw R|java/lang/Exception.Exception|()"];
50 [label="Stub" style="filled" fillcolor=gray];
51 [label="Exit block" style="filled" fillcolor=gray];
}
52 [label="Exit function anonymousFunction"];
}
53 [label="Function call: R|/run|(<L> = run@fun <anonymous>(): R|kotlin/Unit| <kind=UNKNOWN> {
41 [label="Function call: R|/run|(<L> = run@fun <anonymous>(): R|kotlin/Unit| <kind=UNKNOWN> {
local final fun foo(): R|kotlin/Unit| {
lval c: R|kotlin/Int| = Int(1).R|kotlin/Int.plus|(Int(1))
throw R|java/lang/Exception.Exception|()
@@ -187,89 +147,87 @@ digraph propertiesAndInitBlocks_kt {
throw R|java/lang/Exception.Exception|()
}
)"];
54 [label="Exit property" style="filled" fillcolor=red];
42 [label="Exit property" style="filled" fillcolor=red];
}
35 -> {36};
36 -> {40 37};
37 -> {38};
38 -> {42};
38 -> {39} [style=dotted];
39 -> {40} [style=dotted];
40 -> {36 41};
41 -> {42};
subgraph cluster_12 {
color=red
43 [label="Enter function getter" style="filled" fillcolor=red];
44 [label="Exit function getter" style="filled" fillcolor=red];
}
43 -> {44};
subgraph cluster_13 {
color=red
45 [label="Enter property" style="filled" fillcolor=red];
subgraph cluster_14 {
color=blue
46 [label="Try expression enter"];
subgraph cluster_15 {
color=blue
47 [label="Try main block enter"];
subgraph cluster_16 {
color=blue
48 [label="Enter block"];
49 [label="Const: Int(1)"];
50 [label="Exit block"];
}
51 [label="Try main block exit"];
}
subgraph cluster_17 {
color=blue
52 [label="Enter finally"];
subgraph cluster_18 {
color=blue
53 [label="Enter block"];
54 [label="Const: Int(0)"];
55 [label="Exit block"];
}
56 [label="Exit finally"];
}
subgraph cluster_19 {
color=blue
57 [label="Catch enter"];
subgraph cluster_20 {
color=blue
58 [label="Enter block"];
59 [label="Const: Int(2)"];
60 [label="Exit block"];
}
61 [label="Catch exit"];
}
62 [label="Try expression exit"];
}
63 [label="Exit property" style="filled" fillcolor=red];
}
45 -> {46};
46 -> {52 47};
47 -> {48};
46 -> {47};
47 -> {63 57 52 48};
48 -> {49};
49 -> {54};
49 -> {50} [style=dotted];
50 -> {51} [style=dotted];
51 -> {52} [style=dotted];
52 -> {46 53};
49 -> {50};
50 -> {51};
51 -> {62};
52 -> {53};
53 -> {54};
subgraph cluster_18 {
color=red
55 [label="Enter function getter" style="filled" fillcolor=red];
56 [label="Exit function getter" style="filled" fillcolor=red];
}
54 -> {55};
55 -> {56};
subgraph cluster_19 {
color=red
57 [label="Enter property" style="filled" fillcolor=red];
subgraph cluster_20 {
color=blue
58 [label="Try expression enter"];
subgraph cluster_21 {
color=blue
59 [label="Try main block enter"];
subgraph cluster_22 {
color=blue
60 [label="Enter block"];
61 [label="Const: Int(1)"];
62 [label="Exit block"];
}
63 [label="Try main block exit"];
}
subgraph cluster_23 {
color=blue
64 [label="Enter finally"];
subgraph cluster_24 {
color=blue
65 [label="Enter block"];
66 [label="Const: Int(0)"];
67 [label="Exit block"];
}
68 [label="Exit finally"];
}
subgraph cluster_25 {
color=blue
69 [label="Catch enter"];
subgraph cluster_26 {
color=blue
70 [label="Enter block"];
71 [label="Const: Int(2)"];
72 [label="Exit block"];
}
73 [label="Catch exit"];
}
74 [label="Try expression exit"];
}
75 [label="Exit property" style="filled" fillcolor=red];
}
57 -> {58};
56 -> {62};
57 -> {63 58};
58 -> {59};
59 -> {75 69 64 60};
59 -> {60};
60 -> {61};
61 -> {62};
62 -> {63};
63 -> {74};
64 -> {65};
65 -> {66};
66 -> {67};
67 -> {68};
68 -> {74};
69 -> {75 70};
70 -> {71};
71 -> {72};
72 -> {73};
73 -> {74};
74 -> {75};
}
@@ -0,0 +1,144 @@
digraph returnValuesFromLambda_kt {
graph [splines=ortho nodesep=3]
node [shape=box penwidth=2]
edge [penwidth=2]
subgraph cluster_0 {
color=red
0 [label="Enter function <init>" style="filled" fillcolor=red];
1 [label="Exit function <init>" style="filled" fillcolor=red];
}
0 -> {1};
subgraph cluster_1 {
color=red
2 [label="Enter function <init>" style="filled" fillcolor=red];
3 [label="Exit function <init>" style="filled" fillcolor=red];
}
2 -> {3};
subgraph cluster_2 {
color=red
4 [label="Enter function test_1" style="filled" fillcolor=red];
subgraph cluster_3 {
color=blue
5 [label="Enter function anonymousFunction"];
subgraph cluster_4 {
color=blue
6 [label="Enter when"];
subgraph cluster_5 {
color=blue
7 [label="Enter when branch condition "];
8 [label="Access variable R|<local>/b|"];
9 [label="Exit when branch condition"];
}
10 [label="Synthetic else branch"];
11 [label="Enter when branch result"];
subgraph cluster_6 {
color=blue
12 [label="Enter block"];
13 [label="Function call: R|/B.B|()"];
14 [label="Jump: ^@run R|/B.B|()"];
15 [label="Stub" style="filled" fillcolor=gray];
16 [label="Exit block" style="filled" fillcolor=gray];
}
17 [label="Exit when branch result" style="filled" fillcolor=gray];
18 [label="Exit when"];
}
19 [label="Function call: R|/C.C|()"];
20 [label="Exit function anonymousFunction"];
}
21 [label="Function call: R|kotlin/run|<R|A|>(<L> = run@fun <anonymous>(): R|C| <kind=EXACTLY_ONCE> {
when () {
R|<local>/b| -> {
^@run R|/B.B|()
}
}
R|/C.C|()
}
)"];
22 [label="Variable declaration: lval x: R|A|"];
23 [label="Exit function test_1" style="filled" fillcolor=red];
}
4 -> {5};
5 -> {6};
6 -> {7};
7 -> {8};
8 -> {9};
9 -> {11 10};
10 -> {18};
11 -> {12};
12 -> {13};
13 -> {14};
14 -> {20};
14 -> {15} [style=dotted];
15 -> {16} [style=dotted];
16 -> {17} [style=dotted];
17 -> {18} [style=dotted];
18 -> {19};
19 -> {20};
20 -> {21};
21 -> {22};
22 -> {23};
subgraph cluster_7 {
color=red
24 [label="Enter function test_2" style="filled" fillcolor=red];
subgraph cluster_8 {
color=blue
25 [label="Enter function anonymousFunction"];
26 [label="Function call: R|/C.C|()"];
27 [label="Jump: ^@run R|/C.C|()"];
28 [label="Stub" style="filled" fillcolor=gray];
29 [label="Exit function anonymousFunction"];
}
30 [label="Function call: R|kotlin/run|<R|C|>(<L> = run@fun <anonymous>(): R|C| <kind=EXACTLY_ONCE> {
^@run R|/C.C|()
}
)"];
31 [label="Variable declaration: lval x: R|C|"];
32 [label="Exit function test_2" style="filled" fillcolor=red];
}
24 -> {25};
25 -> {26};
26 -> {27};
27 -> {29};
27 -> {28} [style=dotted];
28 -> {29} [style=dotted];
29 -> {30};
30 -> {31};
31 -> {32};
subgraph cluster_9 {
color=red
33 [label="Enter function test_3" style="filled" fillcolor=red];
subgraph cluster_10 {
color=blue
34 [label="Enter function anonymousFunction"];
35 [label="Jump: ^ Unit"];
36 [label="Stub" style="filled" fillcolor=gray];
37 [label="Exit function anonymousFunction"];
}
38 [label="Function call: R|kotlin/run|<R|kotlin/Unit|>(<L> = run@fun <anonymous>(): R|kotlin/Unit| <kind=EXACTLY_ONCE> {
^ Unit
}
)"];
39 [label="Variable declaration: lval x: R|kotlin/Unit|"];
40 [label="Exit function test_3" style="filled" fillcolor=red];
}
33 -> {34};
34 -> {35};
35 -> {37};
35 -> {36} [style=dotted];
36 -> {37} [style=dotted];
37 -> {38};
38 -> {39};
39 -> {40};
}
@@ -0,0 +1,21 @@
interface A
class B : A
class C : A
fun test_1(b: Boolean) {
val x = run {
if (b) return@run B()
C()
}
}
fun test_2() {
val x = run {
return@run C()
}
}
fun test_3() {
val x = run { return }
}
@@ -0,0 +1,39 @@
FILE: returnValuesFromLambda.kt
public abstract interface A : R|kotlin/Any| {
}
public final class B : R|A| {
public constructor(): R|B| {
super<R|kotlin/Any|>()
}
}
public final class C : R|A| {
public constructor(): R|C| {
super<R|kotlin/Any|>()
}
}
public final fun test_1(b: R|kotlin/Boolean|): R|kotlin/Unit| {
lval x: R|A| = R|kotlin/run|<R|A|>(<L> = run@fun <anonymous>(): R|C| <kind=EXACTLY_ONCE> {
when () {
R|<local>/b| -> {
^@run R|/B.B|()
}
}
R|/C.C|()
}
)
}
public final fun test_2(): R|kotlin/Unit| {
lval x: R|C| = R|kotlin/run|<R|C|>(<L> = run@fun <anonymous>(): R|C| <kind=EXACTLY_ONCE> {
^@run R|/C.C|()
}
)
}
public final fun test_3(): R|kotlin/Unit| {
lval x: R|kotlin/Unit| = R|kotlin/run|<R|kotlin/Unit|>(<L> = run@fun <anonymous>(): R|kotlin/Unit| <kind=EXACTLY_ONCE> {
^ Unit
}
)
}
+25 -39
View File
@@ -54,59 +54,45 @@ digraph safeCalls_kt {
subgraph cluster_6 {
color=red
12 [label="Enter function test_1" style="filled" fillcolor=red];
subgraph cluster_7 {
color=blue
13 [label="Enter block"];
14 [label="Access variable R|<local>/x|"];
15 [label="Enter safe call"];
16 [label="Function call: R|<local>/x|?.R|/A.foo|()"];
17 [label="Exit safe call"];
18 [label="Enter safe call"];
19 [label="Function call: R|<local>/x|?.R|/A.foo|()?.R|/A.bar|()"];
20 [label="Exit safe call"];
21 [label="Exit block"];
}
22 [label="Exit function test_1" style="filled" fillcolor=red];
13 [label="Access variable R|<local>/x|"];
14 [label="Enter safe call"];
15 [label="Function call: R|<local>/x|?.R|/A.foo|()"];
16 [label="Exit safe call"];
17 [label="Enter safe call"];
18 [label="Function call: R|<local>/x|?.R|/A.foo|()?.R|/A.bar|()"];
19 [label="Exit safe call"];
20 [label="Exit function test_1" style="filled" fillcolor=red];
}
12 -> {13};
13 -> {14};
14 -> {15 17};
13 -> {14 16};
14 -> {15};
15 -> {16};
16 -> {17};
17 -> {18 20};
16 -> {17 19};
17 -> {18};
18 -> {19};
19 -> {20};
20 -> {21};
21 -> {22};
subgraph cluster_8 {
subgraph cluster_7 {
color=red
23 [label="Enter function test_2" style="filled" fillcolor=red];
subgraph cluster_9 {
color=blue
24 [label="Enter block"];
25 [label="Access variable R|<local>/x|"];
26 [label="Enter safe call"];
27 [label="Access variable R|/B.foo|"];
28 [label="Exit safe call"];
29 [label="Enter safe call"];
30 [label="Access variable R|/B.bar|"];
31 [label="Exit safe call"];
32 [label="Exit block"];
}
33 [label="Exit function test_2" style="filled" fillcolor=red];
21 [label="Enter function test_2" style="filled" fillcolor=red];
22 [label="Access variable R|<local>/x|"];
23 [label="Enter safe call"];
24 [label="Access variable R|/B.foo|"];
25 [label="Exit safe call"];
26 [label="Enter safe call"];
27 [label="Access variable R|/B.bar|"];
28 [label="Exit safe call"];
29 [label="Exit function test_2" style="filled" fillcolor=red];
}
21 -> {22};
22 -> {23 25};
23 -> {24};
24 -> {25};
25 -> {26 28};
26 -> {27};
27 -> {28};
28 -> {29 31};
29 -> {30};
30 -> {31};
31 -> {32};
32 -> {33};
28 -> {29};
}
+13 -27
View File
@@ -6,45 +6,31 @@ digraph simple_kt {
subgraph cluster_0 {
color=red
0 [label="Enter function foo" style="filled" fillcolor=red];
subgraph cluster_1 {
color=blue
1 [label="Enter block"];
2 [label="Exit block"];
}
3 [label="Exit function foo" style="filled" fillcolor=red];
1 [label="Exit function foo" style="filled" fillcolor=red];
}
0 -> {1};
1 -> {2};
2 -> {3};
subgraph cluster_2 {
subgraph cluster_1 {
color=red
4 [label="Enter function test" style="filled" fillcolor=red];
subgraph cluster_3 {
color=blue
5 [label="Enter block"];
6 [label="Const: Int(1)"];
7 [label="Variable declaration: lval x: R|kotlin/Int|"];
8 [label="Access variable R|<local>/x|"];
9 [label="Const: Int(1)"];
10 [label="Function call: R|<local>/x|.R|kotlin/Int.plus|(Int(1))"];
11 [label="Variable declaration: lval y: R|kotlin/Int|"];
12 [label="Function call: R|/foo|()"];
13 [label="Exit block"];
}
14 [label="Exit function test" style="filled" fillcolor=red];
2 [label="Enter function test" style="filled" fillcolor=red];
3 [label="Const: Int(1)"];
4 [label="Variable declaration: lval x: R|kotlin/Int|"];
5 [label="Access variable R|<local>/x|"];
6 [label="Const: Int(1)"];
7 [label="Function call: R|<local>/x|.R|kotlin/Int.plus|(Int(1))"];
8 [label="Variable declaration: lval y: R|kotlin/Int|"];
9 [label="Function call: R|/foo|()"];
10 [label="Exit function test" style="filled" fillcolor=red];
}
2 -> {3};
3 -> {4};
4 -> {5};
5 -> {6};
6 -> {7};
7 -> {8};
8 -> {9};
9 -> {10};
10 -> {11};
11 -> {12};
12 -> {13};
13 -> {14};
}
+225 -246
View File
@@ -8,320 +8,299 @@ digraph tryCatch_kt {
0 [label="Enter function test_1" style="filled" fillcolor=red];
subgraph cluster_1 {
color=blue
1 [label="Enter block"];
1 [label="Try expression enter"];
subgraph cluster_2 {
color=blue
2 [label="Try expression enter"];
2 [label="Try main block enter"];
subgraph cluster_3 {
color=blue
3 [label="Try main block enter"];
subgraph cluster_4 {
color=blue
4 [label="Enter block"];
5 [label="Const: Int(1)"];
6 [label="Variable declaration: lval x: R|kotlin/Int|"];
7 [label="Exit block"];
}
8 [label="Try main block exit"];
3 [label="Enter block"];
4 [label="Const: Int(1)"];
5 [label="Variable declaration: lval x: R|kotlin/Int|"];
6 [label="Exit block"];
}
7 [label="Try main block exit"];
}
subgraph cluster_4 {
color=blue
8 [label="Catch enter"];
subgraph cluster_5 {
color=blue
9 [label="Catch enter"];
subgraph cluster_6 {
color=blue
10 [label="Enter block"];
11 [label="Const: Int(3)"];
12 [label="Variable declaration: lval z: R|kotlin/Int|"];
13 [label="Exit block"];
}
14 [label="Catch exit"];
9 [label="Enter block"];
10 [label="Const: Int(3)"];
11 [label="Variable declaration: lval z: R|kotlin/Int|"];
12 [label="Exit block"];
}
13 [label="Catch exit"];
}
subgraph cluster_6 {
color=blue
14 [label="Catch enter"];
subgraph cluster_7 {
color=blue
15 [label="Catch enter"];
subgraph cluster_8 {
color=blue
16 [label="Enter block"];
17 [label="Const: Int(2)"];
18 [label="Variable declaration: lval y: R|kotlin/Int|"];
19 [label="Exit block"];
}
20 [label="Catch exit"];
15 [label="Enter block"];
16 [label="Const: Int(2)"];
17 [label="Variable declaration: lval y: R|kotlin/Int|"];
18 [label="Exit block"];
}
21 [label="Try expression exit"];
19 [label="Catch exit"];
}
22 [label="Exit block"];
20 [label="Try expression exit"];
}
23 [label="Exit function test_1" style="filled" fillcolor=red];
21 [label="Exit function test_1" style="filled" fillcolor=red];
}
0 -> {1};
1 -> {2};
2 -> {3};
3 -> {23 15 9 4};
2 -> {21 14 8 3};
3 -> {4};
4 -> {5};
5 -> {6};
6 -> {7};
7 -> {8};
8 -> {21};
9 -> {23 10};
7 -> {20};
8 -> {21 9};
9 -> {10};
10 -> {11};
11 -> {12};
12 -> {13};
13 -> {14};
14 -> {21};
15 -> {23 16};
13 -> {20};
14 -> {21 15};
15 -> {16};
16 -> {17};
17 -> {18};
18 -> {19};
19 -> {20};
20 -> {21};
21 -> {22};
22 -> {23};
subgraph cluster_9 {
subgraph cluster_8 {
color=red
24 [label="Enter function test_2" style="filled" fillcolor=red];
subgraph cluster_10 {
22 [label="Enter function test_2" style="filled" fillcolor=red];
subgraph cluster_9 {
color=blue
25 [label="Enter block"];
subgraph cluster_11 {
23 [label="Try expression enter"];
subgraph cluster_10 {
color=blue
26 [label="Try expression enter"];
subgraph cluster_12 {
24 [label="Try main block enter"];
subgraph cluster_11 {
color=blue
27 [label="Try main block enter"];
subgraph cluster_13 {
color=blue
28 [label="Enter block"];
29 [label="Const: Int(1)"];
30 [label="Exit block"];
}
31 [label="Try main block exit"];
25 [label="Enter block"];
26 [label="Const: Int(1)"];
27 [label="Exit block"];
}
subgraph cluster_14 {
color=blue
32 [label="Catch enter"];
subgraph cluster_15 {
color=blue
33 [label="Enter block"];
34 [label="Const: Int(2)"];
35 [label="Exit block"];
}
36 [label="Catch exit"];
}
37 [label="Try expression exit"];
28 [label="Try main block exit"];
}
38 [label="Variable declaration: lval x: R|kotlin/Int|"];
39 [label="Exit block"];
subgraph cluster_12 {
color=blue
29 [label="Catch enter"];
subgraph cluster_13 {
color=blue
30 [label="Enter block"];
31 [label="Const: Int(2)"];
32 [label="Exit block"];
}
33 [label="Catch exit"];
}
34 [label="Try expression exit"];
}
40 [label="Exit function test_2" style="filled" fillcolor=red];
35 [label="Variable declaration: lval x: R|kotlin/Int|"];
36 [label="Exit function test_2" style="filled" fillcolor=red];
}
24 -> {25};
22 -> {23};
23 -> {24};
24 -> {36 29 25};
25 -> {26};
26 -> {27};
27 -> {40 32 28};
28 -> {29};
29 -> {30};
27 -> {28};
28 -> {34};
29 -> {36 30};
30 -> {31};
31 -> {37};
32 -> {40 33};
31 -> {32};
32 -> {33};
33 -> {34};
34 -> {35};
35 -> {36};
36 -> {37};
subgraph cluster_14 {
color=red
37 [label="Enter function test_3" style="filled" fillcolor=red];
subgraph cluster_15 {
color=blue
38 [label="Enter while loop"];
subgraph cluster_16 {
color=blue
39 [label="Enter loop condition"];
40 [label="Const: Boolean(true)"];
41 [label="Exit loop condition"];
}
subgraph cluster_17 {
color=blue
42 [label="Enter loop block"];
subgraph cluster_18 {
color=blue
43 [label="Enter block"];
subgraph cluster_19 {
color=blue
44 [label="Try expression enter"];
subgraph cluster_20 {
color=blue
45 [label="Try main block enter"];
subgraph cluster_21 {
color=blue
46 [label="Enter block"];
subgraph cluster_22 {
color=blue
47 [label="Enter when"];
subgraph cluster_23 {
color=blue
48 [label="Enter when branch condition "];
49 [label="Access variable R|<local>/b|"];
50 [label="Exit when branch condition"];
}
51 [label="Synthetic else branch"];
52 [label="Enter when branch result"];
subgraph cluster_24 {
color=blue
53 [label="Enter block"];
54 [label="Jump: ^test_3 Unit"];
55 [label="Stub" style="filled" fillcolor=gray];
56 [label="Exit block" style="filled" fillcolor=gray];
}
57 [label="Exit when branch result" style="filled" fillcolor=gray];
58 [label="Exit when"];
}
59 [label="Const: Int(1)"];
60 [label="Variable declaration: lval x: R|kotlin/Int|"];
subgraph cluster_25 {
color=blue
61 [label="Enter when"];
subgraph cluster_26 {
color=blue
62 [label="Enter when branch condition "];
63 [label="Access variable R|<local>/b|"];
64 [label="Function call: R|<local>/b|.R|kotlin/Boolean.not|()"];
65 [label="Exit when branch condition"];
}
66 [label="Synthetic else branch"];
67 [label="Enter when branch result"];
subgraph cluster_27 {
color=blue
68 [label="Enter block"];
69 [label="Jump: break@@@[Boolean(true)] "];
70 [label="Stub" style="filled" fillcolor=gray];
71 [label="Exit block" style="filled" fillcolor=gray];
}
72 [label="Exit when branch result" style="filled" fillcolor=gray];
73 [label="Exit when"];
}
74 [label="Exit block"];
}
75 [label="Try main block exit"];
}
subgraph cluster_28 {
color=blue
76 [label="Catch enter"];
subgraph cluster_29 {
color=blue
77 [label="Enter block"];
78 [label="Jump: break@@@[Boolean(true)] "];
79 [label="Stub" style="filled" fillcolor=gray];
80 [label="Exit block" style="filled" fillcolor=gray];
}
81 [label="Catch exit" style="filled" fillcolor=gray];
}
subgraph cluster_30 {
color=blue
82 [label="Catch enter"];
subgraph cluster_31 {
color=blue
83 [label="Enter block"];
84 [label="Jump: continue@@@[Boolean(true)] "];
85 [label="Stub" style="filled" fillcolor=gray];
86 [label="Exit block" style="filled" fillcolor=gray];
}
87 [label="Catch exit" style="filled" fillcolor=gray];
}
88 [label="Try expression exit"];
}
89 [label="Const: Int(2)"];
90 [label="Variable declaration: lval y: R|kotlin/Int|"];
91 [label="Exit block"];
}
92 [label="Exit loop block"];
}
93 [label="Stub" style="filled" fillcolor=gray];
94 [label="Exit whileloop"];
}
95 [label="Const: Int(3)"];
96 [label="Variable declaration: lval z: R|kotlin/Int|"];
97 [label="Exit function test_3" style="filled" fillcolor=red];
}
37 -> {38};
38 -> {39};
39 -> {40};
subgraph cluster_16 {
color=red
41 [label="Enter function test_3" style="filled" fillcolor=red];
subgraph cluster_17 {
color=blue
42 [label="Enter block"];
subgraph cluster_18 {
color=blue
43 [label="Enter while loop"];
subgraph cluster_19 {
color=blue
44 [label="Enter loop condition"];
45 [label="Const: Boolean(true)"];
46 [label="Exit loop condition"];
}
subgraph cluster_20 {
color=blue
47 [label="Enter loop block"];
subgraph cluster_21 {
color=blue
48 [label="Enter block"];
subgraph cluster_22 {
color=blue
49 [label="Try expression enter"];
subgraph cluster_23 {
color=blue
50 [label="Try main block enter"];
subgraph cluster_24 {
color=blue
51 [label="Enter block"];
subgraph cluster_25 {
color=blue
52 [label="Enter when"];
subgraph cluster_26 {
color=blue
53 [label="Enter when branch condition "];
54 [label="Access variable R|<local>/b|"];
55 [label="Exit when branch condition"];
}
56 [label="Synthetic else branch"];
57 [label="Enter when branch result"];
subgraph cluster_27 {
color=blue
58 [label="Enter block"];
59 [label="Jump: ^test_3 Unit"];
60 [label="Stub" style="filled" fillcolor=gray];
61 [label="Exit block" style="filled" fillcolor=gray];
}
62 [label="Exit when branch result" style="filled" fillcolor=gray];
63 [label="Exit when"];
}
64 [label="Const: Int(1)"];
65 [label="Variable declaration: lval x: R|kotlin/Int|"];
subgraph cluster_28 {
color=blue
66 [label="Enter when"];
subgraph cluster_29 {
color=blue
67 [label="Enter when branch condition "];
68 [label="Access variable R|<local>/b|"];
69 [label="Function call: R|<local>/b|.R|kotlin/Boolean.not|()"];
70 [label="Exit when branch condition"];
}
71 [label="Synthetic else branch"];
72 [label="Enter when branch result"];
subgraph cluster_30 {
color=blue
73 [label="Enter block"];
74 [label="Jump: break@@@[Boolean(true)] "];
75 [label="Stub" style="filled" fillcolor=gray];
76 [label="Exit block" style="filled" fillcolor=gray];
}
77 [label="Exit when branch result" style="filled" fillcolor=gray];
78 [label="Exit when"];
}
79 [label="Exit block"];
}
80 [label="Try main block exit"];
}
subgraph cluster_31 {
color=blue
81 [label="Catch enter"];
subgraph cluster_32 {
color=blue
82 [label="Enter block"];
83 [label="Jump: break@@@[Boolean(true)] "];
84 [label="Stub" style="filled" fillcolor=gray];
85 [label="Exit block" style="filled" fillcolor=gray];
}
86 [label="Catch exit" style="filled" fillcolor=gray];
}
subgraph cluster_33 {
color=blue
87 [label="Catch enter"];
subgraph cluster_34 {
color=blue
88 [label="Enter block"];
89 [label="Jump: continue@@@[Boolean(true)] "];
90 [label="Stub" style="filled" fillcolor=gray];
91 [label="Exit block" style="filled" fillcolor=gray];
}
92 [label="Catch exit" style="filled" fillcolor=gray];
}
93 [label="Try expression exit"];
}
94 [label="Const: Int(2)"];
95 [label="Variable declaration: lval y: R|kotlin/Int|"];
96 [label="Exit block"];
}
97 [label="Exit loop block"];
}
98 [label="Stub" style="filled" fillcolor=gray];
99 [label="Exit whileloop"];
}
100 [label="Const: Int(3)"];
101 [label="Variable declaration: lval z: R|kotlin/Int|"];
102 [label="Exit block"];
}
103 [label="Exit function test_3" style="filled" fillcolor=red];
}
40 -> {41};
41 -> {42};
41 -> {93} [style=dotted];
42 -> {43};
43 -> {44};
44 -> {45};
45 -> {46};
45 -> {97 82 76 46};
46 -> {47};
46 -> {98} [style=dotted];
47 -> {48};
48 -> {49};
49 -> {50};
50 -> {103 87 81 51};
51 -> {52};
50 -> {52 51};
51 -> {58};
52 -> {53};
53 -> {54};
54 -> {55};
55 -> {57 56};
56 -> {63};
57 -> {58};
54 -> {97};
54 -> {55} [style=dotted];
55 -> {56} [style=dotted];
56 -> {57} [style=dotted];
57 -> {58} [style=dotted];
58 -> {59};
59 -> {103};
59 -> {60} [style=dotted];
60 -> {61} [style=dotted];
61 -> {62} [style=dotted];
62 -> {63} [style=dotted];
59 -> {60};
60 -> {61};
61 -> {62};
62 -> {63};
63 -> {64};
64 -> {65};
65 -> {66};
66 -> {67};
65 -> {67 66};
66 -> {73};
67 -> {68};
68 -> {69};
69 -> {70};
70 -> {72 71};
71 -> {78};
72 -> {73};
69 -> {94};
69 -> {70} [style=dotted];
70 -> {71} [style=dotted];
71 -> {72} [style=dotted];
72 -> {73} [style=dotted];
73 -> {74};
74 -> {99};
74 -> {75} [style=dotted];
75 -> {76} [style=dotted];
76 -> {77} [style=dotted];
77 -> {78} [style=dotted];
78 -> {79};
79 -> {80};
80 -> {93};
81 -> {103 82};
82 -> {83};
83 -> {99};
83 -> {84} [style=dotted];
74 -> {75};
75 -> {88};
76 -> {97 77};
77 -> {78};
78 -> {94};
78 -> {79} [style=dotted];
79 -> {80} [style=dotted];
80 -> {81} [style=dotted];
81 -> {88} [style=dotted];
82 -> {97 83};
83 -> {84};
84 -> {38};
84 -> {85} [style=dotted];
85 -> {86} [style=dotted];
86 -> {93} [style=dotted];
87 -> {103 88};
86 -> {87} [style=dotted];
87 -> {88} [style=dotted];
88 -> {89};
89 -> {43};
89 -> {90} [style=dotted];
90 -> {91} [style=dotted];
91 -> {92} [style=dotted];
92 -> {93} [style=dotted];
93 -> {94};
89 -> {90};
90 -> {91};
91 -> {92};
92 -> {39};
93 -> {94} [style=dotted];
94 -> {95};
95 -> {96};
96 -> {97};
97 -> {44};
98 -> {99} [style=dotted];
99 -> {100};
100 -> {101};
101 -> {102};
102 -> {103};
}
+117 -131
View File
@@ -8,82 +8,77 @@ digraph when_kt {
0 [label="Enter function test_1" style="filled" fillcolor=red];
subgraph cluster_1 {
color=blue
1 [label="Enter block"];
1 [label="Enter when"];
subgraph cluster_2 {
color=blue
2 [label="Enter when"];
subgraph cluster_3 {
color=blue
3 [label="Enter when branch condition "];
4 [label="Access variable R|<local>/x|"];
5 [label="Const: Int(1)"];
6 [label="Operator =="];
7 [label="Exit when branch condition"];
}
subgraph cluster_4 {
color=blue
8 [label="Enter when branch condition "];
9 [label="Access variable R|<local>/x|"];
10 [label="Const: Int(2)"];
11 [label="Function call: R|<local>/x|.R|kotlin/Int.rem|(Int(2))"];
12 [label="Const: Int(0)"];
13 [label="Operator =="];
14 [label="Exit when branch condition"];
}
subgraph cluster_5 {
color=blue
15 [label="Enter when branch condition "];
16 [label="Const: Int(1)"];
17 [label="Const: Int(1)"];
18 [label="Function call: Int(1).R|kotlin/Int.minus|(Int(1))"];
19 [label="Const: Int(0)"];
20 [label="Operator =="];
21 [label="Exit when branch condition"];
}
subgraph cluster_6 {
color=blue
22 [label="Enter when branch condition else"];
23 [label="Exit when branch condition"];
}
24 [label="Enter when branch result"];
subgraph cluster_7 {
color=blue
25 [label="Enter block"];
26 [label="Const: Int(5)"];
27 [label="Exit block"];
}
28 [label="Exit when branch result"];
29 [label="Enter when branch result"];
subgraph cluster_8 {
color=blue
30 [label="Enter block"];
31 [label="Jump: ^test_1 Unit"];
32 [label="Stub" style="filled" fillcolor=gray];
33 [label="Exit block" style="filled" fillcolor=gray];
}
34 [label="Exit when branch result" style="filled" fillcolor=gray];
35 [label="Enter when branch result"];
subgraph cluster_9 {
color=blue
36 [label="Enter block"];
37 [label="Const: Int(20)"];
38 [label="Exit block"];
}
39 [label="Exit when branch result"];
40 [label="Enter when branch result"];
subgraph cluster_10 {
color=blue
41 [label="Enter block"];
42 [label="Const: Int(10)"];
43 [label="Exit block"];
}
44 [label="Exit when branch result"];
45 [label="Exit when"];
2 [label="Enter when branch condition "];
3 [label="Access variable R|<local>/x|"];
4 [label="Const: Int(1)"];
5 [label="Operator =="];
6 [label="Exit when branch condition"];
}
46 [label="Variable declaration: lval y: R|kotlin/Int|"];
47 [label="Exit block"];
subgraph cluster_3 {
color=blue
7 [label="Enter when branch condition "];
8 [label="Access variable R|<local>/x|"];
9 [label="Const: Int(2)"];
10 [label="Function call: R|<local>/x|.R|kotlin/Int.rem|(Int(2))"];
11 [label="Const: Int(0)"];
12 [label="Operator =="];
13 [label="Exit when branch condition"];
}
subgraph cluster_4 {
color=blue
14 [label="Enter when branch condition "];
15 [label="Const: Int(1)"];
16 [label="Const: Int(1)"];
17 [label="Function call: Int(1).R|kotlin/Int.minus|(Int(1))"];
18 [label="Const: Int(0)"];
19 [label="Operator =="];
20 [label="Exit when branch condition"];
}
subgraph cluster_5 {
color=blue
21 [label="Enter when branch condition else"];
22 [label="Exit when branch condition"];
}
23 [label="Enter when branch result"];
subgraph cluster_6 {
color=blue
24 [label="Enter block"];
25 [label="Const: Int(5)"];
26 [label="Exit block"];
}
27 [label="Exit when branch result"];
28 [label="Enter when branch result"];
subgraph cluster_7 {
color=blue
29 [label="Enter block"];
30 [label="Jump: ^test_1 Unit"];
31 [label="Stub" style="filled" fillcolor=gray];
32 [label="Exit block" style="filled" fillcolor=gray];
}
33 [label="Exit when branch result" style="filled" fillcolor=gray];
34 [label="Enter when branch result"];
subgraph cluster_8 {
color=blue
35 [label="Enter block"];
36 [label="Const: Int(20)"];
37 [label="Exit block"];
}
38 [label="Exit when branch result"];
39 [label="Enter when branch result"];
subgraph cluster_9 {
color=blue
40 [label="Enter block"];
41 [label="Const: Int(10)"];
42 [label="Exit block"];
}
43 [label="Exit when branch result"];
44 [label="Exit when"];
}
48 [label="Exit function test_1" style="filled" fillcolor=red];
45 [label="Variable declaration: lval y: R|kotlin/Int|"];
46 [label="Exit function test_1" style="filled" fillcolor=red];
}
0 -> {1};
@@ -92,113 +87,104 @@ digraph when_kt {
3 -> {4};
4 -> {5};
5 -> {6};
6 -> {7};
7 -> {40 8};
6 -> {39 7};
7 -> {8};
8 -> {9};
9 -> {10};
10 -> {11};
11 -> {12};
12 -> {13};
13 -> {14};
14 -> {35 15};
13 -> {34 14};
14 -> {15};
15 -> {16};
16 -> {17};
17 -> {18};
18 -> {19};
19 -> {20};
20 -> {21};
21 -> {29 22};
20 -> {28 21};
21 -> {22};
22 -> {23};
23 -> {24};
24 -> {25};
25 -> {26};
26 -> {27};
27 -> {28};
28 -> {45};
27 -> {44};
28 -> {29};
29 -> {30};
30 -> {31};
31 -> {48};
30 -> {46};
30 -> {31} [style=dotted];
31 -> {32} [style=dotted];
32 -> {33} [style=dotted];
33 -> {34} [style=dotted];
34 -> {45} [style=dotted];
33 -> {44} [style=dotted];
34 -> {35};
35 -> {36};
36 -> {37};
37 -> {38};
38 -> {39};
39 -> {45};
38 -> {44};
39 -> {40};
40 -> {41};
41 -> {42};
42 -> {43};
43 -> {44};
44 -> {45};
45 -> {46};
46 -> {47};
47 -> {48};
subgraph cluster_11 {
subgraph cluster_10 {
color=red
49 [label="Enter function test_2" style="filled" fillcolor=red];
subgraph cluster_12 {
47 [label="Enter function test_2" style="filled" fillcolor=red];
subgraph cluster_11 {
color=blue
50 [label="Enter block"];
subgraph cluster_13 {
48 [label="Enter when"];
subgraph cluster_12 {
color=blue
51 [label="Enter when"];
subgraph cluster_14 {
49 [label="Enter when branch condition "];
subgraph cluster_13 {
color=blue
52 [label="Enter when branch condition "];
subgraph cluster_15 {
color=blue
53 [label="Enter &&"];
54 [label="Access variable R|<local>/x|"];
55 [label="Type operator: x is A"];
56 [label="Exit left part of &&"];
57 [label="Enter right part of &&"];
58 [label="Access variable R|<local>/x|"];
59 [label="Type operator: x is B"];
60 [label="Exit &&"];
}
61 [label="Exit when branch condition"];
50 [label="Enter &&"];
51 [label="Access variable R|<local>/x|"];
52 [label="Type operator: x is A"];
53 [label="Exit left part of &&"];
54 [label="Enter right part of &&"];
55 [label="Access variable R|<local>/x|"];
56 [label="Type operator: x is B"];
57 [label="Exit &&"];
}
62 [label="Synthetic else branch"];
63 [label="Enter when branch result"];
subgraph cluster_16 {
color=blue
64 [label="Enter block"];
65 [label="Access variable R|<local>/x|"];
66 [label="Type operator: x is A"];
67 [label="Exit block"];
}
68 [label="Exit when branch result"];
69 [label="Exit when"];
58 [label="Exit when branch condition"];
}
70 [label="Exit block"];
59 [label="Synthetic else branch"];
60 [label="Enter when branch result"];
subgraph cluster_14 {
color=blue
61 [label="Enter block"];
62 [label="Access variable R|<local>/x|"];
63 [label="Type operator: x is A"];
64 [label="Exit block"];
}
65 [label="Exit when branch result"];
66 [label="Exit when"];
}
71 [label="Exit function test_2" style="filled" fillcolor=red];
67 [label="Exit function test_2" style="filled" fillcolor=red];
}
47 -> {48};
48 -> {49};
49 -> {50};
50 -> {51};
51 -> {52};
52 -> {53};
53 -> {54};
53 -> {57 54};
54 -> {55};
55 -> {56};
56 -> {60 57};
56 -> {57};
57 -> {58};
58 -> {59};
59 -> {60};
58 -> {60 59};
59 -> {66};
60 -> {61};
61 -> {63 62};
62 -> {69};
61 -> {62};
62 -> {63};
63 -> {64};
64 -> {65};
65 -> {66};
66 -> {67};
67 -> {68};
68 -> {69};
69 -> {70};
70 -> {71};
}
File diff suppressed because it is too large Load Diff
@@ -40,45 +40,40 @@ digraph booleanOperators_kt {
8 [label="Enter function test_1" style="filled" fillcolor=red];
subgraph cluster_5 {
color=blue
9 [label="Enter block"];
9 [label="Enter when"];
subgraph cluster_6 {
color=blue
10 [label="Enter when"];
10 [label="Enter when branch condition "];
subgraph cluster_7 {
color=blue
11 [label="Enter when branch condition "];
subgraph cluster_8 {
color=blue
12 [label="Enter &&"];
13 [label="Access variable R|<local>/x|"];
14 [label="Type operator: x is B"];
15 [label="Exit left part of &&"];
16 [label="Enter right part of &&"];
17 [label="Access variable R|<local>/x|"];
18 [label="Type operator: x is C"];
19 [label="Exit &&"];
}
20 [label="Exit when branch condition"];
11 [label="Enter &&"];
12 [label="Access variable R|<local>/x|"];
13 [label="Type operator: x is B"];
14 [label="Exit left part of &&"];
15 [label="Enter right part of &&"];
16 [label="Access variable R|<local>/x|"];
17 [label="Type operator: x is C"];
18 [label="Exit &&"];
}
21 [label="Synthetic else branch"];
22 [label="Enter when branch result"];
subgraph cluster_9 {
color=blue
23 [label="Enter block"];
24 [label="Access variable R|<local>/x|"];
25 [label="Function call: R|<local>/x|.R|/A.foo|()"];
26 [label="Access variable R|<local>/x|"];
27 [label="Function call: R|<local>/x|.R|/B.bar|()"];
28 [label="Access variable R|<local>/x|"];
29 [label="Function call: R|<local>/x|.R|/C.baz|()"];
30 [label="Exit block"];
}
31 [label="Exit when branch result"];
32 [label="Exit when"];
19 [label="Exit when branch condition"];
}
33 [label="Exit block"];
20 [label="Synthetic else branch"];
21 [label="Enter when branch result"];
subgraph cluster_8 {
color=blue
22 [label="Enter block"];
23 [label="Access variable R|<local>/x|"];
24 [label="Function call: R|<local>/x|.R|/A.foo|()"];
25 [label="Access variable R|<local>/x|"];
26 [label="Function call: R|<local>/x|.R|/B.bar|()"];
27 [label="Access variable R|<local>/x|"];
28 [label="Function call: R|<local>/x|.R|/C.baz|()"];
29 [label="Exit block"];
}
30 [label="Exit when branch result"];
31 [label="Exit when"];
}
34 [label="Exit function test_1" style="filled" fillcolor=red];
32 [label="Exit function test_1" style="filled" fillcolor=red];
}
8 -> {9};
@@ -87,14 +82,14 @@ digraph booleanOperators_kt {
11 -> {12};
12 -> {13};
13 -> {14};
14 -> {15};
15 -> {19 16};
14 -> {18 15};
15 -> {16};
16 -> {17};
17 -> {18};
18 -> {19};
19 -> {20};
20 -> {22 21};
21 -> {32};
19 -> {21 20};
20 -> {31};
21 -> {22};
22 -> {23};
23 -> {24};
24 -> {25};
@@ -105,69 +100,64 @@ digraph booleanOperators_kt {
29 -> {30};
30 -> {31};
31 -> {32};
32 -> {33};
33 -> {34};
subgraph cluster_10 {
subgraph cluster_9 {
color=red
35 [label="Enter function test_2" style="filled" fillcolor=red];
subgraph cluster_11 {
33 [label="Enter function test_2" style="filled" fillcolor=red];
subgraph cluster_10 {
color=blue
36 [label="Enter block"];
subgraph cluster_12 {
34 [label="Enter when"];
subgraph cluster_11 {
color=blue
37 [label="Enter when"];
subgraph cluster_13 {
35 [label="Enter when branch condition "];
subgraph cluster_12 {
color=blue
38 [label="Enter when branch condition "];
subgraph cluster_14 {
color=blue
39 [label="Enter ||"];
40 [label="Access variable R|<local>/x|"];
41 [label="Type operator: x is B"];
42 [label="Exit left part of ||"];
43 [label="Enter right part of ||"];
44 [label="Access variable R|<local>/x|"];
45 [label="Type operator: x is C"];
46 [label="Exit ||"];
}
47 [label="Exit when branch condition"];
36 [label="Enter ||"];
37 [label="Access variable R|<local>/x|"];
38 [label="Type operator: x is B"];
39 [label="Exit left part of ||"];
40 [label="Enter right part of ||"];
41 [label="Access variable R|<local>/x|"];
42 [label="Type operator: x is C"];
43 [label="Exit ||"];
}
48 [label="Synthetic else branch"];
49 [label="Enter when branch result"];
subgraph cluster_15 {
color=blue
50 [label="Enter block"];
51 [label="Access variable R|<local>/x|"];
52 [label="Function call: R|<local>/x|.R|/A.foo|()"];
53 [label="Access variable R|<local>/x|"];
54 [label="Function call: R|<local>/x|.<Unresolved name: bar>#()"];
55 [label="Access variable R|<local>/x|"];
56 [label="Function call: R|<local>/x|.<Unresolved name: baz>#()"];
57 [label="Exit block"];
}
58 [label="Exit when branch result"];
59 [label="Exit when"];
44 [label="Exit when branch condition"];
}
60 [label="Exit block"];
45 [label="Synthetic else branch"];
46 [label="Enter when branch result"];
subgraph cluster_13 {
color=blue
47 [label="Enter block"];
48 [label="Access variable R|<local>/x|"];
49 [label="Function call: R|<local>/x|.R|/A.foo|()"];
50 [label="Access variable R|<local>/x|"];
51 [label="Function call: R|<local>/x|.<Unresolved name: bar>#()"];
52 [label="Access variable R|<local>/x|"];
53 [label="Function call: R|<local>/x|.<Unresolved name: baz>#()"];
54 [label="Exit block"];
}
55 [label="Exit when branch result"];
56 [label="Exit when"];
}
61 [label="Exit function test_2" style="filled" fillcolor=red];
57 [label="Exit function test_2" style="filled" fillcolor=red];
}
33 -> {34};
34 -> {35};
35 -> {36};
36 -> {37};
37 -> {38};
38 -> {39};
39 -> {40};
39 -> {43 40};
40 -> {41};
41 -> {42};
42 -> {46 43};
42 -> {43};
43 -> {44};
44 -> {45};
45 -> {46};
44 -> {46 45};
45 -> {56};
46 -> {47};
47 -> {49 48};
48 -> {59};
47 -> {48};
48 -> {49};
49 -> {50};
50 -> {51};
51 -> {52};
@@ -176,128 +166,155 @@ digraph booleanOperators_kt {
54 -> {55};
55 -> {56};
56 -> {57};
57 -> {58};
subgraph cluster_14 {
color=red
58 [label="Enter function test_3" style="filled" fillcolor=red];
subgraph cluster_15 {
color=blue
59 [label="Enter when"];
subgraph cluster_16 {
color=blue
60 [label="Enter when branch condition "];
61 [label="Access variable R|<local>/x|"];
62 [label="Type operator: x !is A"];
63 [label="Function call: (R|<local>/x| !is R|A|).R|kotlin/Boolean.not|()"];
64 [label="Exit when branch condition"];
}
65 [label="Synthetic else branch"];
66 [label="Enter when branch result"];
subgraph cluster_17 {
color=blue
67 [label="Enter block"];
68 [label="Access variable R|<local>/x|"];
69 [label="Function call: R|<local>/x|.R|/A.foo|()"];
70 [label="Exit block"];
}
71 [label="Exit when branch result"];
72 [label="Exit when"];
}
73 [label="Exit function test_3" style="filled" fillcolor=red];
}
58 -> {59};
59 -> {60};
60 -> {61};
subgraph cluster_16 {
color=red
62 [label="Enter function test_3" style="filled" fillcolor=red];
subgraph cluster_17 {
color=blue
63 [label="Enter block"];
subgraph cluster_18 {
color=blue
64 [label="Enter when"];
subgraph cluster_19 {
color=blue
65 [label="Enter when branch condition "];
66 [label="Access variable R|<local>/x|"];
67 [label="Type operator: x !is A"];
68 [label="Function call: (R|<local>/x| !is R|A|).R|kotlin/Boolean.not|()"];
69 [label="Exit when branch condition"];
}
70 [label="Synthetic else branch"];
71 [label="Enter when branch result"];
subgraph cluster_20 {
color=blue
72 [label="Enter block"];
73 [label="Access variable R|<local>/x|"];
74 [label="Function call: R|<local>/x|.R|/A.foo|()"];
75 [label="Exit block"];
}
76 [label="Exit when branch result"];
77 [label="Exit when"];
}
78 [label="Exit block"];
}
79 [label="Exit function test_3" style="filled" fillcolor=red];
}
61 -> {62};
62 -> {63};
63 -> {64};
64 -> {65};
65 -> {66};
64 -> {66 65};
65 -> {72};
66 -> {67};
67 -> {68};
68 -> {69};
69 -> {71 70};
70 -> {77};
69 -> {70};
70 -> {71};
71 -> {72};
72 -> {73};
73 -> {74};
subgraph cluster_18 {
color=red
74 [label="Enter function test_4" style="filled" fillcolor=red];
subgraph cluster_19 {
color=blue
75 [label="Enter when"];
subgraph cluster_20 {
color=blue
76 [label="Enter when branch condition "];
subgraph cluster_21 {
color=blue
77 [label="Enter ||"];
78 [label="Access variable R|<local>/x|"];
79 [label="Type operator: x !is String"];
80 [label="Exit left part of ||"];
81 [label="Enter right part of ||"];
82 [label="Access variable R|<local>/x|"];
83 [label="Access variable R|kotlin/String.length|"];
84 [label="Const: Int(0)"];
85 [label="Operator =="];
86 [label="Exit ||"];
}
87 [label="Exit when branch condition"];
}
88 [label="Synthetic else branch"];
89 [label="Enter when branch result"];
subgraph cluster_22 {
color=blue
90 [label="Enter block"];
91 [label="Access variable R|<local>/x|"];
92 [label="Access variable <Unresolved name: length>#"];
93 [label="Exit block"];
}
94 [label="Exit when branch result"];
95 [label="Exit when"];
}
96 [label="Access variable R|<local>/x|"];
97 [label="Access variable <Unresolved name: length>#"];
98 [label="Exit function test_4" style="filled" fillcolor=red];
}
74 -> {75};
75 -> {76};
76 -> {77};
77 -> {78};
78 -> {79};
subgraph cluster_21 {
color=red
80 [label="Enter function test_4" style="filled" fillcolor=red];
subgraph cluster_22 {
color=blue
81 [label="Enter block"];
subgraph cluster_23 {
color=blue
82 [label="Enter when"];
subgraph cluster_24 {
color=blue
83 [label="Enter when branch condition "];
subgraph cluster_25 {
color=blue
84 [label="Enter ||"];
85 [label="Access variable R|<local>/x|"];
86 [label="Type operator: x !is String"];
87 [label="Exit left part of ||"];
88 [label="Enter right part of ||"];
89 [label="Access variable R|<local>/x|"];
90 [label="Access variable R|kotlin/String.length|"];
91 [label="Const: Int(0)"];
92 [label="Operator =="];
93 [label="Exit ||"];
}
94 [label="Exit when branch condition"];
}
95 [label="Synthetic else branch"];
96 [label="Enter when branch result"];
subgraph cluster_26 {
color=blue
97 [label="Enter block"];
98 [label="Access variable R|<local>/x|"];
99 [label="Access variable <Unresolved name: length>#"];
100 [label="Exit block"];
}
101 [label="Exit when branch result"];
102 [label="Exit when"];
}
103 [label="Access variable R|<local>/x|"];
104 [label="Access variable <Unresolved name: length>#"];
105 [label="Exit block"];
}
106 [label="Exit function test_4" style="filled" fillcolor=red];
}
80 -> {81};
79 -> {80};
80 -> {86 81};
81 -> {82};
82 -> {83};
83 -> {84};
84 -> {85};
85 -> {86};
86 -> {87};
87 -> {93 88};
88 -> {89};
87 -> {89 88};
88 -> {95};
89 -> {90};
90 -> {91};
91 -> {92};
92 -> {93};
93 -> {94};
94 -> {96 95};
95 -> {102};
94 -> {95};
95 -> {96};
96 -> {97};
97 -> {98};
98 -> {99};
subgraph cluster_23 {
color=red
99 [label="Enter function test_5" style="filled" fillcolor=red];
subgraph cluster_24 {
color=blue
100 [label="Enter when"];
subgraph cluster_25 {
color=blue
101 [label="Enter when branch condition "];
subgraph cluster_26 {
color=blue
102 [label="Enter ||"];
103 [label="Access variable R|<local>/x|"];
104 [label="Const: Null(null)"];
105 [label="Operator !="];
106 [label="Exit left part of ||"];
107 [label="Enter right part of ||"];
108 [label="Const: Boolean(false)"];
109 [label="Exit ||"];
}
110 [label="Exit when branch condition"];
}
111 [label="Synthetic else branch"];
112 [label="Enter when branch result"];
subgraph cluster_27 {
color=blue
113 [label="Enter block"];
114 [label="Access variable R|<local>/x|"];
115 [label="Function call: R|<local>/x|.<Inapplicable(WRONG_RECEIVER): [/A.foo]>#()"];
116 [label="Exit block"];
}
117 [label="Exit when branch result"];
118 [label="Exit when"];
}
119 [label="Exit function test_5" style="filled" fillcolor=red];
}
99 -> {100};
100 -> {101};
101 -> {102};
@@ -305,203 +322,137 @@ digraph booleanOperators_kt {
103 -> {104};
104 -> {105};
105 -> {106};
subgraph cluster_27 {
color=red
107 [label="Enter function test_5" style="filled" fillcolor=red];
subgraph cluster_28 {
color=blue
108 [label="Enter block"];
subgraph cluster_29 {
color=blue
109 [label="Enter when"];
subgraph cluster_30 {
color=blue
110 [label="Enter when branch condition "];
subgraph cluster_31 {
color=blue
111 [label="Enter ||"];
112 [label="Access variable R|<local>/x|"];
113 [label="Const: Null(null)"];
114 [label="Operator !="];
115 [label="Exit left part of ||"];
116 [label="Enter right part of ||"];
117 [label="Const: Boolean(false)"];
118 [label="Exit ||"];
}
119 [label="Exit when branch condition"];
}
120 [label="Synthetic else branch"];
121 [label="Enter when branch result"];
subgraph cluster_32 {
color=blue
122 [label="Enter block"];
123 [label="Access variable R|<local>/x|"];
124 [label="Function call: R|<local>/x|.<Inapplicable(WRONG_RECEIVER): [/A.foo]>#()"];
125 [label="Exit block"];
}
126 [label="Exit when branch result"];
127 [label="Exit when"];
}
128 [label="Exit block"];
}
129 [label="Exit function test_5" style="filled" fillcolor=red];
}
106 -> {109 107};
107 -> {108};
108 -> {109};
109 -> {110};
110 -> {111};
111 -> {112};
110 -> {112 111};
111 -> {118};
112 -> {113};
113 -> {114};
114 -> {115};
115 -> {118 116};
115 -> {116};
116 -> {117};
117 -> {118};
118 -> {119};
119 -> {121 120};
120 -> {127};
subgraph cluster_28 {
color=red
120 [label="Enter function test_6" style="filled" fillcolor=red];
subgraph cluster_29 {
color=blue
121 [label="Enter when"];
subgraph cluster_30 {
color=blue
122 [label="Enter when branch condition "];
subgraph cluster_31 {
color=blue
123 [label="Enter ||"];
124 [label="Const: Boolean(false)"];
125 [label="Exit left part of ||"];
126 [label="Enter right part of ||"];
127 [label="Access variable R|<local>/x|"];
128 [label="Const: Null(null)"];
129 [label="Operator !="];
130 [label="Stub" style="filled" fillcolor=gray];
131 [label="Exit ||"];
}
132 [label="Exit when branch condition"];
}
133 [label="Synthetic else branch"];
134 [label="Enter when branch result"];
subgraph cluster_32 {
color=blue
135 [label="Enter block"];
136 [label="Access variable R|<local>/x|"];
137 [label="Function call: R|<local>/x|.<Inapplicable(WRONG_RECEIVER): [/A.foo]>#()"];
138 [label="Exit block"];
}
139 [label="Exit when branch result"];
140 [label="Exit when"];
}
141 [label="Exit function test_6" style="filled" fillcolor=red];
}
120 -> {121};
121 -> {122};
122 -> {123};
123 -> {124};
124 -> {125};
125 -> {126};
125 -> {130} [style=dotted];
126 -> {127};
127 -> {128};
128 -> {129};
subgraph cluster_33 {
color=red
130 [label="Enter function test_6" style="filled" fillcolor=red];
subgraph cluster_34 {
color=blue
131 [label="Enter block"];
subgraph cluster_35 {
color=blue
132 [label="Enter when"];
subgraph cluster_36 {
color=blue
133 [label="Enter when branch condition "];
subgraph cluster_37 {
color=blue
134 [label="Enter ||"];
135 [label="Const: Boolean(false)"];
136 [label="Exit left part of ||"];
137 [label="Enter right part of ||"];
138 [label="Access variable R|<local>/x|"];
139 [label="Const: Null(null)"];
140 [label="Operator !="];
141 [label="Stub" style="filled" fillcolor=gray];
142 [label="Exit ||"];
}
143 [label="Exit when branch condition"];
}
144 [label="Synthetic else branch"];
145 [label="Enter when branch result"];
subgraph cluster_38 {
color=blue
146 [label="Enter block"];
147 [label="Access variable R|<local>/x|"];
148 [label="Function call: R|<local>/x|.<Inapplicable(WRONG_RECEIVER): [/A.foo]>#()"];
149 [label="Exit block"];
}
150 [label="Exit when branch result"];
151 [label="Exit when"];
}
152 [label="Exit block"];
}
153 [label="Exit function test_6" style="filled" fillcolor=red];
}
130 -> {131};
129 -> {131};
130 -> {131} [style=dotted];
131 -> {132};
132 -> {133};
133 -> {134};
132 -> {134 133};
133 -> {140};
134 -> {135};
135 -> {136};
136 -> {137};
136 -> {141} [style=dotted];
137 -> {138};
138 -> {139};
139 -> {140};
140 -> {142};
141 -> {142} [style=dotted];
140 -> {141};
subgraph cluster_33 {
color=red
142 [label="Enter function test_7" style="filled" fillcolor=red];
subgraph cluster_34 {
color=blue
143 [label="Enter when"];
subgraph cluster_35 {
color=blue
144 [label="Enter when branch condition "];
subgraph cluster_36 {
color=blue
145 [label="Enter &&"];
146 [label="Access variable R|<local>/x|"];
147 [label="Type operator: x is A"];
148 [label="Exit left part of &&"];
149 [label="Enter right part of &&"];
150 [label="Access variable R|<local>/x|"];
151 [label="Function call: R|<local>/x|.R|/A.bool|()"];
152 [label="Exit &&"];
}
153 [label="Exit when branch condition"];
}
154 [label="Synthetic else branch"];
155 [label="Enter when branch result"];
subgraph cluster_37 {
color=blue
156 [label="Enter block"];
157 [label="Access variable R|<local>/x|"];
158 [label="Function call: R|<local>/x|.R|/A.foo|()"];
159 [label="Exit block"];
}
160 [label="Exit when branch result"];
161 [label="Exit when"];
}
162 [label="Exit function test_7" style="filled" fillcolor=red];
}
142 -> {143};
143 -> {145 144};
144 -> {151};
143 -> {144};
144 -> {145};
145 -> {146};
146 -> {147};
147 -> {148};
148 -> {149};
148 -> {152 149};
149 -> {150};
150 -> {151};
151 -> {152};
152 -> {153};
subgraph cluster_39 {
color=red
154 [label="Enter function test_7" style="filled" fillcolor=red];
subgraph cluster_40 {
color=blue
155 [label="Enter block"];
subgraph cluster_41 {
color=blue
156 [label="Enter when"];
subgraph cluster_42 {
color=blue
157 [label="Enter when branch condition "];
subgraph cluster_43 {
color=blue
158 [label="Enter &&"];
159 [label="Access variable R|<local>/x|"];
160 [label="Type operator: x is A"];
161 [label="Exit left part of &&"];
162 [label="Enter right part of &&"];
163 [label="Access variable R|<local>/x|"];
164 [label="Function call: R|<local>/x|.R|/A.bool|()"];
165 [label="Exit &&"];
}
166 [label="Exit when branch condition"];
}
167 [label="Synthetic else branch"];
168 [label="Enter when branch result"];
subgraph cluster_44 {
color=blue
169 [label="Enter block"];
170 [label="Access variable R|<local>/x|"];
171 [label="Function call: R|<local>/x|.R|/A.foo|()"];
172 [label="Exit block"];
}
173 [label="Exit when branch result"];
174 [label="Exit when"];
}
175 [label="Exit block"];
}
176 [label="Exit function test_7" style="filled" fillcolor=red];
}
154 -> {155};
153 -> {155 154};
154 -> {161};
155 -> {156};
156 -> {157};
157 -> {158};
158 -> {159};
159 -> {160};
160 -> {161};
161 -> {165 162};
162 -> {163};
163 -> {164};
164 -> {165};
165 -> {166};
166 -> {168 167};
167 -> {174};
168 -> {169};
169 -> {170};
170 -> {171};
171 -> {172};
172 -> {173};
173 -> {174};
174 -> {175};
175 -> {176};
161 -> {162};
}
@@ -22,38 +22,33 @@ digraph boundSmartcasts_kt {
subgraph cluster_2 {
color=red
4 [label="Enter function test_1" style="filled" fillcolor=red];
5 [label="Access variable R|<local>/x|"];
6 [label="Variable declaration: lval y: R|kotlin/Any|"];
subgraph cluster_3 {
color=blue
5 [label="Enter block"];
6 [label="Access variable R|<local>/x|"];
7 [label="Variable declaration: lval y: R|kotlin/Any|"];
7 [label="Enter when"];
subgraph cluster_4 {
color=blue
8 [label="Enter when"];
subgraph cluster_5 {
color=blue
9 [label="Enter when branch condition "];
10 [label="Access variable R|<local>/x|"];
11 [label="Type operator: x is A"];
12 [label="Exit when branch condition"];
}
13 [label="Synthetic else branch"];
14 [label="Enter when branch result"];
subgraph cluster_6 {
color=blue
15 [label="Enter block"];
16 [label="Access variable R|<local>/x|"];
17 [label="Function call: R|<local>/x|.R|/A.foo|()"];
18 [label="Access variable R|<local>/y|"];
19 [label="Function call: R|<local>/y|.R|/A.foo|()"];
20 [label="Exit block"];
}
21 [label="Exit when branch result"];
22 [label="Exit when"];
8 [label="Enter when branch condition "];
9 [label="Access variable R|<local>/x|"];
10 [label="Type operator: x is A"];
11 [label="Exit when branch condition"];
}
23 [label="Exit block"];
12 [label="Synthetic else branch"];
13 [label="Enter when branch result"];
subgraph cluster_5 {
color=blue
14 [label="Enter block"];
15 [label="Access variable R|<local>/x|"];
16 [label="Function call: R|<local>/x|.R|/A.foo|()"];
17 [label="Access variable R|<local>/y|"];
18 [label="Function call: R|<local>/y|.R|/A.foo|()"];
19 [label="Exit block"];
}
20 [label="Exit when branch result"];
21 [label="Exit when"];
}
24 [label="Exit function test_1" style="filled" fillcolor=red];
22 [label="Exit function test_1" style="filled" fillcolor=red];
}
4 -> {5};
@@ -63,9 +58,9 @@ digraph boundSmartcasts_kt {
8 -> {9};
9 -> {10};
10 -> {11};
11 -> {12};
12 -> {14 13};
13 -> {22};
11 -> {13 12};
12 -> {21};
13 -> {14};
14 -> {15};
15 -> {16};
16 -> {17};
@@ -74,136 +69,126 @@ digraph boundSmartcasts_kt {
19 -> {20};
20 -> {21};
21 -> {22};
22 -> {23};
23 -> {24};
subgraph cluster_7 {
subgraph cluster_6 {
color=red
25 [label="Enter function test_2" style="filled" fillcolor=red];
subgraph cluster_8 {
23 [label="Enter function test_2" style="filled" fillcolor=red];
24 [label="Access variable R|<local>/x|"];
25 [label="Variable declaration: lval y: R|kotlin/Any|"];
subgraph cluster_7 {
color=blue
26 [label="Enter block"];
27 [label="Access variable R|<local>/x|"];
28 [label="Variable declaration: lval y: R|kotlin/Any|"];
26 [label="Enter when"];
subgraph cluster_8 {
color=blue
27 [label="Enter when branch condition "];
28 [label="Access variable R|<local>/y|"];
29 [label="Type operator: y is A"];
30 [label="Exit when branch condition"];
}
31 [label="Synthetic else branch"];
32 [label="Enter when branch result"];
subgraph cluster_9 {
color=blue
29 [label="Enter when"];
subgraph cluster_10 {
color=blue
30 [label="Enter when branch condition "];
31 [label="Access variable R|<local>/y|"];
32 [label="Type operator: y is A"];
33 [label="Exit when branch condition"];
}
34 [label="Synthetic else branch"];
35 [label="Enter when branch result"];
subgraph cluster_11 {
color=blue
36 [label="Enter block"];
37 [label="Access variable R|<local>/x|"];
38 [label="Function call: R|<local>/x|.R|/A.foo|()"];
39 [label="Access variable R|<local>/y|"];
40 [label="Function call: R|<local>/y|.R|/A.foo|()"];
41 [label="Exit block"];
}
42 [label="Exit when branch result"];
43 [label="Exit when"];
33 [label="Enter block"];
34 [label="Access variable R|<local>/x|"];
35 [label="Function call: R|<local>/x|.R|/A.foo|()"];
36 [label="Access variable R|<local>/y|"];
37 [label="Function call: R|<local>/y|.R|/A.foo|()"];
38 [label="Exit block"];
}
44 [label="Exit block"];
39 [label="Exit when branch result"];
40 [label="Exit when"];
}
45 [label="Exit function test_2" style="filled" fillcolor=red];
41 [label="Exit function test_2" style="filled" fillcolor=red];
}
23 -> {24};
24 -> {25};
25 -> {26};
26 -> {27};
27 -> {28};
28 -> {29};
29 -> {30};
30 -> {31};
31 -> {32};
30 -> {32 31};
31 -> {40};
32 -> {33};
33 -> {35 34};
34 -> {43};
33 -> {34};
34 -> {35};
35 -> {36};
36 -> {37};
37 -> {38};
38 -> {39};
39 -> {40};
40 -> {41};
41 -> {42};
subgraph cluster_10 {
color=red
42 [label="Enter function test_3" style="filled" fillcolor=red];
43 [label="Access variable R|<local>/x|"];
44 [label="Variable declaration: lvar z: R|kotlin/Any|"];
subgraph cluster_11 {
color=blue
45 [label="Enter when"];
subgraph cluster_12 {
color=blue
46 [label="Enter when branch condition "];
47 [label="Access variable R|<local>/x|"];
48 [label="Type operator: x is A"];
49 [label="Exit when branch condition"];
}
50 [label="Synthetic else branch"];
51 [label="Enter when branch result"];
subgraph cluster_13 {
color=blue
52 [label="Enter block"];
53 [label="Access variable R|<local>/z|"];
54 [label="Function call: R|<local>/z|.R|/A.foo|()"];
55 [label="Exit block"];
}
56 [label="Exit when branch result"];
57 [label="Exit when"];
}
58 [label="Access variable R|<local>/y|"];
59 [label="Assignmenet: R|<local>/z|"];
subgraph cluster_14 {
color=blue
60 [label="Enter when"];
subgraph cluster_15 {
color=blue
61 [label="Enter when branch condition "];
62 [label="Access variable R|<local>/y|"];
63 [label="Type operator: y is B"];
64 [label="Exit when branch condition"];
}
65 [label="Synthetic else branch"];
66 [label="Enter when branch result"];
subgraph cluster_16 {
color=blue
67 [label="Enter block"];
68 [label="Access variable R|<local>/z|"];
69 [label="Function call: R|<local>/z|.<Unresolved name: bar>#()"];
70 [label="Exit block"];
}
71 [label="Exit when branch result"];
72 [label="Exit when"];
}
73 [label="Exit function test_3" style="filled" fillcolor=red];
}
42 -> {43};
43 -> {44};
44 -> {45};
subgraph cluster_12 {
color=red
46 [label="Enter function test_3" style="filled" fillcolor=red];
subgraph cluster_13 {
color=blue
47 [label="Enter block"];
48 [label="Access variable R|<local>/x|"];
49 [label="Variable declaration: lvar z: R|kotlin/Any|"];
subgraph cluster_14 {
color=blue
50 [label="Enter when"];
subgraph cluster_15 {
color=blue
51 [label="Enter when branch condition "];
52 [label="Access variable R|<local>/x|"];
53 [label="Type operator: x is A"];
54 [label="Exit when branch condition"];
}
55 [label="Synthetic else branch"];
56 [label="Enter when branch result"];
subgraph cluster_16 {
color=blue
57 [label="Enter block"];
58 [label="Access variable R|<local>/z|"];
59 [label="Function call: R|<local>/z|.R|/A.foo|()"];
60 [label="Exit block"];
}
61 [label="Exit when branch result"];
62 [label="Exit when"];
}
63 [label="Access variable R|<local>/y|"];
64 [label="Assignmenet: R|<local>/z|"];
subgraph cluster_17 {
color=blue
65 [label="Enter when"];
subgraph cluster_18 {
color=blue
66 [label="Enter when branch condition "];
67 [label="Access variable R|<local>/y|"];
68 [label="Type operator: y is B"];
69 [label="Exit when branch condition"];
}
70 [label="Synthetic else branch"];
71 [label="Enter when branch result"];
subgraph cluster_19 {
color=blue
72 [label="Enter block"];
73 [label="Access variable R|<local>/z|"];
74 [label="Function call: R|<local>/z|.<Unresolved name: bar>#()"];
75 [label="Exit block"];
}
76 [label="Exit when branch result"];
77 [label="Exit when"];
}
78 [label="Exit block"];
}
79 [label="Exit function test_3" style="filled" fillcolor=red];
}
45 -> {46};
46 -> {47};
47 -> {48};
48 -> {49};
49 -> {50};
50 -> {51};
49 -> {51 50};
50 -> {57};
51 -> {52};
52 -> {53};
53 -> {54};
54 -> {56 55};
55 -> {62};
54 -> {55};
55 -> {56};
56 -> {57};
57 -> {58};
58 -> {59};
@@ -212,67 +197,62 @@ digraph boundSmartcasts_kt {
61 -> {62};
62 -> {63};
63 -> {64};
64 -> {65};
65 -> {66};
64 -> {66 65};
65 -> {72};
66 -> {67};
67 -> {68};
68 -> {69};
69 -> {71 70};
70 -> {77};
69 -> {70};
70 -> {71};
71 -> {72};
72 -> {73};
73 -> {74};
subgraph cluster_17 {
color=red
74 [label="Enter function test_4" style="filled" fillcolor=red];
75 [label="Const: Int(1)"];
76 [label="Variable declaration: lvar x: R|kotlin/Any|"];
77 [label="Access variable R|<local>/x|"];
78 [label="Type operator: x as Int"];
79 [label="Access variable R|<local>/x|"];
80 [label="Function call: R|<local>/x|.R|kotlin/Int.inc|()"];
81 [label="Access variable R|<local>/y|"];
82 [label="Assignmenet: R|<local>/x|"];
83 [label="Access variable R|<local>/x|"];
84 [label="Function call: R|<local>/x|.R|kotlin/Int.inc|()"];
subgraph cluster_18 {
color=blue
85 [label="Enter when"];
subgraph cluster_19 {
color=blue
86 [label="Enter when branch condition "];
87 [label="Access variable R|<local>/y|"];
88 [label="Type operator: y is A"];
89 [label="Exit when branch condition"];
}
90 [label="Synthetic else branch"];
91 [label="Enter when branch result"];
subgraph cluster_20 {
color=blue
92 [label="Enter block"];
93 [label="Access variable R|<local>/x|"];
94 [label="Function call: R|<local>/x|.<Unresolved name: foo>#()"];
95 [label="Access variable R|<local>/y|"];
96 [label="Function call: R|<local>/y|.R|/A.foo|()"];
97 [label="Exit block"];
}
98 [label="Exit when branch result"];
99 [label="Exit when"];
}
100 [label="Exit function test_4" style="filled" fillcolor=red];
}
74 -> {75};
75 -> {76};
76 -> {77};
77 -> {78};
78 -> {79};
subgraph cluster_20 {
color=red
80 [label="Enter function test_4" style="filled" fillcolor=red];
subgraph cluster_21 {
color=blue
81 [label="Enter block"];
82 [label="Const: Int(1)"];
83 [label="Variable declaration: lvar x: R|kotlin/Any|"];
84 [label="Access variable R|<local>/x|"];
85 [label="Type operator: x as Int"];
86 [label="Access variable R|<local>/x|"];
87 [label="Function call: R|<local>/x|.R|kotlin/Int.inc|()"];
88 [label="Access variable R|<local>/y|"];
89 [label="Assignmenet: R|<local>/x|"];
90 [label="Access variable R|<local>/x|"];
91 [label="Function call: R|<local>/x|.R|kotlin/Int.inc|()"];
subgraph cluster_22 {
color=blue
92 [label="Enter when"];
subgraph cluster_23 {
color=blue
93 [label="Enter when branch condition "];
94 [label="Access variable R|<local>/y|"];
95 [label="Type operator: y is A"];
96 [label="Exit when branch condition"];
}
97 [label="Synthetic else branch"];
98 [label="Enter when branch result"];
subgraph cluster_24 {
color=blue
99 [label="Enter block"];
100 [label="Access variable R|<local>/x|"];
101 [label="Function call: R|<local>/x|.<Unresolved name: foo>#()"];
102 [label="Access variable R|<local>/y|"];
103 [label="Function call: R|<local>/y|.R|/A.foo|()"];
104 [label="Exit block"];
}
105 [label="Exit when branch result"];
106 [label="Exit when"];
}
107 [label="Exit block"];
}
108 [label="Exit function test_4" style="filled" fillcolor=red];
}
79 -> {80};
80 -> {81};
81 -> {82};
82 -> {83};
@@ -282,24 +262,16 @@ digraph boundSmartcasts_kt {
86 -> {87};
87 -> {88};
88 -> {89};
89 -> {90};
90 -> {91};
89 -> {91 90};
90 -> {99};
91 -> {92};
92 -> {93};
93 -> {94};
94 -> {95};
95 -> {96};
96 -> {98 97};
97 -> {106};
96 -> {97};
97 -> {98};
98 -> {99};
99 -> {100};
100 -> {101};
101 -> {102};
102 -> {103};
103 -> {104};
104 -> {105};
105 -> {106};
106 -> {107};
107 -> {108};
}
+249 -277
View File
@@ -6,16 +6,11 @@ digraph casts_kt {
subgraph cluster_0 {
color=red
0 [label="Enter function test_1" style="filled" fillcolor=red];
subgraph cluster_1 {
color=blue
1 [label="Enter block"];
2 [label="Access variable R|<local>/x|"];
3 [label="Type operator: x as String"];
4 [label="Access variable R|<local>/x|"];
5 [label="Access variable R|kotlin/String.length|"];
6 [label="Exit block"];
}
7 [label="Exit function test_1" style="filled" fillcolor=red];
1 [label="Access variable R|<local>/x|"];
2 [label="Type operator: x as String"];
3 [label="Access variable R|<local>/x|"];
4 [label="Access variable R|kotlin/String.length|"];
5 [label="Exit function test_1" style="filled" fillcolor=red];
}
0 -> {1};
@@ -23,185 +18,175 @@ digraph casts_kt {
2 -> {3};
3 -> {4};
4 -> {5};
5 -> {6};
6 -> {7};
subgraph cluster_2 {
subgraph cluster_1 {
color=red
8 [label="Enter function test_2" style="filled" fillcolor=red];
subgraph cluster_3 {
6 [label="Enter function test_2" style="filled" fillcolor=red];
subgraph cluster_2 {
color=blue
9 [label="Enter block"];
7 [label="Enter when"];
subgraph cluster_3 {
color=blue
8 [label="Enter when branch condition "];
9 [label="Access variable R|<local>/x|"];
10 [label="Type operator: x as Boolean"];
11 [label="Exit when branch condition"];
}
12 [label="Synthetic else branch"];
13 [label="Enter when branch result"];
subgraph cluster_4 {
color=blue
10 [label="Enter when"];
subgraph cluster_5 {
color=blue
11 [label="Enter when branch condition "];
12 [label="Access variable R|<local>/x|"];
13 [label="Type operator: x as Boolean"];
14 [label="Exit when branch condition"];
}
15 [label="Synthetic else branch"];
16 [label="Enter when branch result"];
subgraph cluster_6 {
color=blue
17 [label="Enter block"];
18 [label="Access variable R|<local>/x|"];
19 [label="Function call: R|<local>/x|.R|kotlin/Boolean.not|()"];
20 [label="Exit block"];
}
21 [label="Exit when branch result"];
22 [label="Exit when"];
14 [label="Enter block"];
15 [label="Access variable R|<local>/x|"];
16 [label="Function call: R|<local>/x|.R|kotlin/Boolean.not|()"];
17 [label="Exit block"];
}
23 [label="Access variable R|<local>/x|"];
24 [label="Function call: R|<local>/x|.R|kotlin/Boolean.not|()"];
25 [label="Exit block"];
18 [label="Exit when branch result"];
19 [label="Exit when"];
}
26 [label="Exit function test_2" style="filled" fillcolor=red];
20 [label="Access variable R|<local>/x|"];
21 [label="Function call: R|<local>/x|.R|kotlin/Boolean.not|()"];
22 [label="Exit function test_2" style="filled" fillcolor=red];
}
6 -> {7};
7 -> {8};
8 -> {9};
9 -> {10};
10 -> {11};
11 -> {12};
12 -> {13};
11 -> {13 12};
12 -> {19};
13 -> {14};
14 -> {16 15};
15 -> {22};
14 -> {15};
15 -> {16};
16 -> {17};
17 -> {18};
18 -> {19};
19 -> {20};
20 -> {21};
21 -> {22};
22 -> {23};
subgraph cluster_5 {
color=red
23 [label="Enter function test_3" style="filled" fillcolor=red];
subgraph cluster_6 {
color=blue
24 [label="Enter when"];
subgraph cluster_7 {
color=blue
25 [label="Enter when branch condition "];
subgraph cluster_8 {
color=blue
26 [label="Enter &&"];
27 [label="Access variable R|<local>/b|"];
28 [label="Exit left part of &&"];
29 [label="Enter right part of &&"];
30 [label="Access variable R|<local>/x|"];
31 [label="Type operator: x as Boolean"];
32 [label="Exit &&"];
}
33 [label="Exit when branch condition"];
}
34 [label="Synthetic else branch"];
35 [label="Enter when branch result"];
subgraph cluster_9 {
color=blue
36 [label="Enter block"];
37 [label="Access variable R|<local>/x|"];
38 [label="Function call: R|<local>/x|.R|kotlin/Boolean.not|()"];
39 [label="Exit block"];
}
40 [label="Exit when branch result"];
41 [label="Exit when"];
}
42 [label="Access variable R|<local>/x|"];
43 [label="Function call: R|<local>/x|.<Unresolved name: not>#()"];
subgraph cluster_10 {
color=blue
44 [label="Enter when"];
subgraph cluster_11 {
color=blue
45 [label="Enter when branch condition "];
subgraph cluster_12 {
color=blue
46 [label="Enter &&"];
47 [label="Access variable R|<local>/b|"];
48 [label="Exit left part of &&"];
49 [label="Enter right part of &&"];
50 [label="Access variable R|<local>/x|"];
51 [label="Type operator: x as Boolean"];
52 [label="Const: Boolean(true)"];
53 [label="Operator =="];
54 [label="Exit &&"];
}
55 [label="Exit when branch condition"];
}
56 [label="Synthetic else branch"];
57 [label="Enter when branch result"];
subgraph cluster_13 {
color=blue
58 [label="Enter block"];
59 [label="Access variable R|<local>/x|"];
60 [label="Function call: R|<local>/x|.R|kotlin/Boolean.not|()"];
61 [label="Exit block"];
}
62 [label="Exit when branch result"];
63 [label="Exit when"];
}
64 [label="Access variable R|<local>/x|"];
65 [label="Function call: R|<local>/x|.<Unresolved name: not>#()"];
subgraph cluster_14 {
color=blue
66 [label="Enter when"];
subgraph cluster_15 {
color=blue
67 [label="Enter when branch condition "];
subgraph cluster_16 {
color=blue
68 [label="Enter ||"];
69 [label="Access variable R|<local>/b|"];
70 [label="Exit left part of ||"];
71 [label="Enter right part of ||"];
72 [label="Access variable R|<local>/x|"];
73 [label="Type operator: x as Boolean"];
74 [label="Exit ||"];
}
75 [label="Exit when branch condition"];
}
76 [label="Synthetic else branch"];
77 [label="Enter when branch result"];
subgraph cluster_17 {
color=blue
78 [label="Enter block"];
79 [label="Access variable R|<local>/x|"];
80 [label="Function call: R|<local>/x|.<Unresolved name: not>#()"];
81 [label="Exit block"];
}
82 [label="Exit when branch result"];
83 [label="Exit when"];
}
84 [label="Access variable R|<local>/x|"];
85 [label="Function call: R|<local>/x|.<Unresolved name: not>#()"];
86 [label="Exit function test_3" style="filled" fillcolor=red];
}
23 -> {24};
24 -> {25};
25 -> {26};
subgraph cluster_7 {
color=red
27 [label="Enter function test_3" style="filled" fillcolor=red];
subgraph cluster_8 {
color=blue
28 [label="Enter block"];
subgraph cluster_9 {
color=blue
29 [label="Enter when"];
subgraph cluster_10 {
color=blue
30 [label="Enter when branch condition "];
subgraph cluster_11 {
color=blue
31 [label="Enter &&"];
32 [label="Access variable R|<local>/b|"];
33 [label="Exit left part of &&"];
34 [label="Enter right part of &&"];
35 [label="Access variable R|<local>/x|"];
36 [label="Type operator: x as Boolean"];
37 [label="Exit &&"];
}
38 [label="Exit when branch condition"];
}
39 [label="Synthetic else branch"];
40 [label="Enter when branch result"];
subgraph cluster_12 {
color=blue
41 [label="Enter block"];
42 [label="Access variable R|<local>/x|"];
43 [label="Function call: R|<local>/x|.R|kotlin/Boolean.not|()"];
44 [label="Exit block"];
}
45 [label="Exit when branch result"];
46 [label="Exit when"];
}
47 [label="Access variable R|<local>/x|"];
48 [label="Function call: R|<local>/x|.<Unresolved name: not>#()"];
subgraph cluster_13 {
color=blue
49 [label="Enter when"];
subgraph cluster_14 {
color=blue
50 [label="Enter when branch condition "];
subgraph cluster_15 {
color=blue
51 [label="Enter &&"];
52 [label="Access variable R|<local>/b|"];
53 [label="Exit left part of &&"];
54 [label="Enter right part of &&"];
55 [label="Access variable R|<local>/x|"];
56 [label="Type operator: x as Boolean"];
57 [label="Const: Boolean(true)"];
58 [label="Operator =="];
59 [label="Exit &&"];
}
60 [label="Exit when branch condition"];
}
61 [label="Synthetic else branch"];
62 [label="Enter when branch result"];
subgraph cluster_16 {
color=blue
63 [label="Enter block"];
64 [label="Access variable R|<local>/x|"];
65 [label="Function call: R|<local>/x|.R|kotlin/Boolean.not|()"];
66 [label="Exit block"];
}
67 [label="Exit when branch result"];
68 [label="Exit when"];
}
69 [label="Access variable R|<local>/x|"];
70 [label="Function call: R|<local>/x|.<Unresolved name: not>#()"];
subgraph cluster_17 {
color=blue
71 [label="Enter when"];
subgraph cluster_18 {
color=blue
72 [label="Enter when branch condition "];
subgraph cluster_19 {
color=blue
73 [label="Enter ||"];
74 [label="Access variable R|<local>/b|"];
75 [label="Exit left part of ||"];
76 [label="Enter right part of ||"];
77 [label="Access variable R|<local>/x|"];
78 [label="Type operator: x as Boolean"];
79 [label="Exit ||"];
}
80 [label="Exit when branch condition"];
}
81 [label="Synthetic else branch"];
82 [label="Enter when branch result"];
subgraph cluster_20 {
color=blue
83 [label="Enter block"];
84 [label="Access variable R|<local>/x|"];
85 [label="Function call: R|<local>/x|.<Unresolved name: not>#()"];
86 [label="Exit block"];
}
87 [label="Exit when branch result"];
88 [label="Exit when"];
}
89 [label="Access variable R|<local>/x|"];
90 [label="Function call: R|<local>/x|.<Unresolved name: not>#()"];
91 [label="Exit block"];
}
92 [label="Exit function test_3" style="filled" fillcolor=red];
}
26 -> {27};
27 -> {28};
28 -> {29};
28 -> {32 29};
29 -> {30};
30 -> {31};
31 -> {32};
32 -> {33};
33 -> {37 34};
34 -> {35};
33 -> {35 34};
34 -> {41};
35 -> {36};
36 -> {37};
37 -> {38};
38 -> {40 39};
39 -> {46};
38 -> {39};
39 -> {40};
40 -> {41};
41 -> {42};
42 -> {43};
@@ -210,20 +195,20 @@ digraph casts_kt {
45 -> {46};
46 -> {47};
47 -> {48};
48 -> {49};
48 -> {54 49};
49 -> {50};
50 -> {51};
51 -> {52};
52 -> {53};
53 -> {59 54};
53 -> {54};
54 -> {55};
55 -> {56};
56 -> {57};
55 -> {57 56};
56 -> {63};
57 -> {58};
58 -> {59};
59 -> {60};
60 -> {62 61};
61 -> {68};
60 -> {61};
61 -> {62};
62 -> {63};
63 -> {64};
64 -> {65};
@@ -232,135 +217,130 @@ digraph casts_kt {
67 -> {68};
68 -> {69};
69 -> {70};
70 -> {71};
70 -> {74 71};
71 -> {72};
72 -> {73};
73 -> {74};
74 -> {75};
75 -> {79 76};
76 -> {77};
75 -> {77 76};
76 -> {83};
77 -> {78};
78 -> {79};
79 -> {80};
80 -> {82 81};
81 -> {88};
80 -> {81};
81 -> {82};
82 -> {83};
83 -> {84};
84 -> {85};
85 -> {86};
86 -> {87};
subgraph cluster_18 {
color=red
87 [label="Enter function test_4" style="filled" fillcolor=red];
subgraph cluster_19 {
color=blue
88 [label="Enter when"];
subgraph cluster_20 {
color=blue
89 [label="Enter when branch condition "];
90 [label="Access variable R|<local>/b|"];
91 [label="Type operator: b as? Boolean"];
92 [label="Const: Null(null)"];
93 [label="Operator !="];
94 [label="Exit when branch condition"];
}
subgraph cluster_21 {
color=blue
95 [label="Enter when branch condition else"];
96 [label="Exit when branch condition"];
}
97 [label="Enter when branch result"];
subgraph cluster_22 {
color=blue
98 [label="Enter block"];
99 [label="Access variable R|<local>/b|"];
100 [label="Function call: R|<local>/b|.<Unresolved name: not>#()"];
101 [label="Exit block"];
}
102 [label="Exit when branch result"];
103 [label="Enter when branch result"];
subgraph cluster_23 {
color=blue
104 [label="Enter block"];
105 [label="Access variable R|<local>/b|"];
106 [label="Function call: R|<local>/b|.R|kotlin/Boolean.not|()"];
107 [label="Exit block"];
}
108 [label="Exit when branch result"];
109 [label="Exit when"];
}
110 [label="Access variable R|<local>/b|"];
111 [label="Function call: R|<local>/b|.<Unresolved name: not>#()"];
subgraph cluster_24 {
color=blue
112 [label="Enter when"];
subgraph cluster_25 {
color=blue
113 [label="Enter when branch condition "];
114 [label="Access variable R|<local>/b|"];
115 [label="Type operator: b as? Boolean"];
116 [label="Const: Null(null)"];
117 [label="Operator =="];
118 [label="Exit when branch condition"];
}
subgraph cluster_26 {
color=blue
119 [label="Enter when branch condition else"];
120 [label="Exit when branch condition"];
}
121 [label="Enter when branch result"];
subgraph cluster_27 {
color=blue
122 [label="Enter block"];
123 [label="Access variable R|<local>/b|"];
124 [label="Function call: R|<local>/b|.R|kotlin/Boolean.not|()"];
125 [label="Exit block"];
}
126 [label="Exit when branch result"];
127 [label="Enter when branch result"];
subgraph cluster_28 {
color=blue
128 [label="Enter block"];
129 [label="Access variable R|<local>/b|"];
130 [label="Function call: R|<local>/b|.<Unresolved name: not>#()"];
131 [label="Exit block"];
}
132 [label="Exit when branch result"];
133 [label="Exit when"];
}
134 [label="Access variable R|<local>/b|"];
135 [label="Function call: R|<local>/b|.<Unresolved name: not>#()"];
136 [label="Exit function test_4" style="filled" fillcolor=red];
}
87 -> {88};
88 -> {89};
89 -> {90};
90 -> {91};
91 -> {92};
subgraph cluster_21 {
color=red
93 [label="Enter function test_4" style="filled" fillcolor=red];
subgraph cluster_22 {
color=blue
94 [label="Enter block"];
subgraph cluster_23 {
color=blue
95 [label="Enter when"];
subgraph cluster_24 {
color=blue
96 [label="Enter when branch condition "];
97 [label="Access variable R|<local>/b|"];
98 [label="Type operator: b as? Boolean"];
99 [label="Const: Null(null)"];
100 [label="Operator !="];
101 [label="Exit when branch condition"];
}
subgraph cluster_25 {
color=blue
102 [label="Enter when branch condition else"];
103 [label="Exit when branch condition"];
}
104 [label="Enter when branch result"];
subgraph cluster_26 {
color=blue
105 [label="Enter block"];
106 [label="Access variable R|<local>/b|"];
107 [label="Function call: R|<local>/b|.<Unresolved name: not>#()"];
108 [label="Exit block"];
}
109 [label="Exit when branch result"];
110 [label="Enter when branch result"];
subgraph cluster_27 {
color=blue
111 [label="Enter block"];
112 [label="Access variable R|<local>/b|"];
113 [label="Function call: R|<local>/b|.R|kotlin/Boolean.not|()"];
114 [label="Exit block"];
}
115 [label="Exit when branch result"];
116 [label="Exit when"];
}
117 [label="Access variable R|<local>/b|"];
118 [label="Function call: R|<local>/b|.<Unresolved name: not>#()"];
subgraph cluster_28 {
color=blue
119 [label="Enter when"];
subgraph cluster_29 {
color=blue
120 [label="Enter when branch condition "];
121 [label="Access variable R|<local>/b|"];
122 [label="Type operator: b as? Boolean"];
123 [label="Const: Null(null)"];
124 [label="Operator =="];
125 [label="Exit when branch condition"];
}
subgraph cluster_30 {
color=blue
126 [label="Enter when branch condition else"];
127 [label="Exit when branch condition"];
}
128 [label="Enter when branch result"];
subgraph cluster_31 {
color=blue
129 [label="Enter block"];
130 [label="Access variable R|<local>/b|"];
131 [label="Function call: R|<local>/b|.R|kotlin/Boolean.not|()"];
132 [label="Exit block"];
}
133 [label="Exit when branch result"];
134 [label="Enter when branch result"];
subgraph cluster_32 {
color=blue
135 [label="Enter block"];
136 [label="Access variable R|<local>/b|"];
137 [label="Function call: R|<local>/b|.<Unresolved name: not>#()"];
138 [label="Exit block"];
}
139 [label="Exit when branch result"];
140 [label="Exit when"];
}
141 [label="Access variable R|<local>/b|"];
142 [label="Function call: R|<local>/b|.<Unresolved name: not>#()"];
143 [label="Exit block"];
}
144 [label="Exit function test_4" style="filled" fillcolor=red];
}
92 -> {93};
93 -> {94};
94 -> {95};
94 -> {103 95};
95 -> {96};
96 -> {97};
97 -> {98};
98 -> {99};
99 -> {100};
100 -> {101};
101 -> {110 102};
102 -> {103};
101 -> {102};
102 -> {109};
103 -> {104};
104 -> {105};
105 -> {106};
106 -> {107};
107 -> {108};
108 -> {109};
109 -> {116};
109 -> {110};
110 -> {111};
111 -> {112};
112 -> {113};
@@ -369,31 +349,23 @@ digraph casts_kt {
115 -> {116};
116 -> {117};
117 -> {118};
118 -> {119};
118 -> {127 119};
119 -> {120};
120 -> {121};
121 -> {122};
122 -> {123};
123 -> {124};
124 -> {125};
125 -> {134 126};
126 -> {127};
125 -> {126};
126 -> {133};
127 -> {128};
128 -> {129};
129 -> {130};
130 -> {131};
131 -> {132};
132 -> {133};
133 -> {140};
133 -> {134};
134 -> {135};
135 -> {136};
136 -> {137};
137 -> {138};
138 -> {139};
139 -> {140};
140 -> {141};
141 -> {142};
142 -> {143};
143 -> {144};
}
@@ -14,47 +14,42 @@ digraph dataFlowInfoFromWhileCondition_kt {
subgraph cluster_1 {
color=red
2 [label="Enter function test" style="filled" fillcolor=red];
3 [label="Const: Null(null)"];
4 [label="Variable declaration: lvar a: R|A?|"];
subgraph cluster_2 {
color=blue
3 [label="Enter block"];
4 [label="Const: Null(null)"];
5 [label="Variable declaration: lvar a: R|A?|"];
5 [label="Enter while loop"];
subgraph cluster_3 {
color=blue
6 [label="Enter while loop"];
6 [label="Enter loop condition"];
subgraph cluster_4 {
color=blue
7 [label="Enter loop condition"];
subgraph cluster_5 {
color=blue
8 [label="Enter ||"];
9 [label="Access variable R|<local>/a|"];
10 [label="Type operator: a is B"];
11 [label="Exit left part of ||"];
12 [label="Enter right part of ||"];
13 [label="Access variable R|<local>/a|"];
14 [label="Type operator: a is C"];
15 [label="Exit ||"];
}
16 [label="Exit loop condition"];
7 [label="Enter ||"];
8 [label="Access variable R|<local>/a|"];
9 [label="Type operator: a is B"];
10 [label="Exit left part of ||"];
11 [label="Enter right part of ||"];
12 [label="Access variable R|<local>/a|"];
13 [label="Type operator: a is C"];
14 [label="Exit ||"];
}
15 [label="Exit loop condition"];
}
subgraph cluster_5 {
color=blue
16 [label="Enter loop block"];
subgraph cluster_6 {
color=blue
17 [label="Enter loop block"];
subgraph cluster_7 {
color=blue
18 [label="Enter block"];
19 [label="Access variable R|<local>/a|"];
20 [label="Function call: R|<local>/a|.R|/A.foo|()"];
21 [label="Exit block"];
}
22 [label="Exit loop block"];
17 [label="Enter block"];
18 [label="Access variable R|<local>/a|"];
19 [label="Function call: R|<local>/a|.R|/A.foo|()"];
20 [label="Exit block"];
}
23 [label="Exit whileloop"];
21 [label="Exit loop block"];
}
24 [label="Exit block"];
22 [label="Exit whileloop"];
}
25 [label="Exit function test" style="filled" fillcolor=red];
23 [label="Exit function test" style="filled" fillcolor=red];
}
2 -> {3};
@@ -65,20 +60,18 @@ digraph dataFlowInfoFromWhileCondition_kt {
7 -> {8};
8 -> {9};
9 -> {10};
10 -> {11};
11 -> {15 12};
10 -> {14 11};
11 -> {12};
12 -> {13};
13 -> {14};
14 -> {15};
15 -> {16};
16 -> {23 17};
15 -> {22 16};
16 -> {17};
17 -> {18};
18 -> {19};
19 -> {20};
20 -> {21};
21 -> {22};
22 -> {7};
23 -> {24};
24 -> {25};
21 -> {6};
22 -> {23};
}
@@ -14,83 +14,73 @@ digraph delayedAssignment_kt {
subgraph cluster_1 {
color=red
2 [label="Enter function foo" style="filled" fillcolor=red];
subgraph cluster_2 {
color=blue
3 [label="Enter block"];
4 [label="Exit block"];
}
5 [label="Exit function foo" style="filled" fillcolor=red];
3 [label="Exit function foo" style="filled" fillcolor=red];
}
2 -> {3};
3 -> {4};
4 -> {5};
subgraph cluster_3 {
subgraph cluster_2 {
color=red
6 [label="Enter function test" style="filled" fillcolor=red];
subgraph cluster_4 {
4 [label="Enter function test" style="filled" fillcolor=red];
5 [label="Variable declaration: lval a: R|A?|"];
subgraph cluster_3 {
color=blue
7 [label="Enter block"];
8 [label="Variable declaration: lval a: R|A?|"];
6 [label="Enter when"];
subgraph cluster_4 {
color=blue
7 [label="Enter when branch condition "];
8 [label="Access variable R|<local>/b|"];
9 [label="Exit when branch condition"];
}
subgraph cluster_5 {
color=blue
9 [label="Enter when"];
subgraph cluster_6 {
color=blue
10 [label="Enter when branch condition "];
11 [label="Access variable R|<local>/b|"];
12 [label="Exit when branch condition"];
}
subgraph cluster_7 {
color=blue
13 [label="Enter when branch condition else"];
14 [label="Exit when branch condition"];
}
15 [label="Enter when branch result"];
subgraph cluster_8 {
color=blue
16 [label="Enter block"];
17 [label="Const: Null(null)"];
18 [label="Assignmenet: R|<local>/a|"];
19 [label="Exit block"];
}
20 [label="Exit when branch result"];
21 [label="Enter when branch result"];
subgraph cluster_9 {
color=blue
22 [label="Enter block"];
23 [label="Function call: R|/A.A|()"];
24 [label="Assignmenet: R|<local>/a|"];
25 [label="Access variable R|<local>/a|"];
26 [label="Function call: R|<local>/a|.R|/A.foo|()"];
27 [label="Exit block"];
}
28 [label="Exit when branch result"];
29 [label="Exit when"];
10 [label="Enter when branch condition else"];
11 [label="Exit when branch condition"];
}
30 [label="Access variable R|<local>/a|"];
31 [label="Function call: R|<local>/a|.<Inapplicable(WRONG_RECEIVER): [/A.foo]>#()"];
32 [label="Exit block"];
12 [label="Enter when branch result"];
subgraph cluster_6 {
color=blue
13 [label="Enter block"];
14 [label="Const: Null(null)"];
15 [label="Assignmenet: R|<local>/a|"];
16 [label="Exit block"];
}
17 [label="Exit when branch result"];
18 [label="Enter when branch result"];
subgraph cluster_7 {
color=blue
19 [label="Enter block"];
20 [label="Function call: R|/A.A|()"];
21 [label="Assignmenet: R|<local>/a|"];
22 [label="Access variable R|<local>/a|"];
23 [label="Function call: R|<local>/a|.R|/A.foo|()"];
24 [label="Exit block"];
}
25 [label="Exit when branch result"];
26 [label="Exit when"];
}
33 [label="Exit function test" style="filled" fillcolor=red];
27 [label="Access variable R|<local>/a|"];
28 [label="Function call: R|<local>/a|.<Inapplicable(WRONG_RECEIVER): [/A.foo]>#()"];
29 [label="Exit function test" style="filled" fillcolor=red];
}
4 -> {5};
5 -> {6};
6 -> {7};
7 -> {8};
8 -> {9};
9 -> {10};
9 -> {18 10};
10 -> {11};
11 -> {12};
12 -> {21 13};
12 -> {13};
13 -> {14};
14 -> {15};
15 -> {16};
16 -> {17};
17 -> {18};
17 -> {26};
18 -> {19};
19 -> {20};
20 -> {29};
20 -> {21};
21 -> {22};
22 -> {23};
23 -> {24};
@@ -99,9 +89,5 @@ digraph delayedAssignment_kt {
26 -> {27};
27 -> {28};
28 -> {29};
29 -> {30};
30 -> {31};
31 -> {32};
32 -> {33};
}
+167 -181
View File
@@ -32,199 +32,189 @@ digraph elvis_kt {
6 [label="Enter function test_1" style="filled" fillcolor=red];
subgraph cluster_4 {
color=blue
7 [label="Enter block"];
7 [label="Enter when"];
subgraph cluster_5 {
color=blue
8 [label="Enter when"];
8 [label="Enter when branch condition "];
subgraph cluster_6 {
color=blue
9 [label="Enter when branch condition "];
9 [label="Enter when"];
10 [label="Access variable R|<local>/x|"];
11 [label="Enter safe call"];
12 [label="Access variable R|/A.b|"];
13 [label="Exit safe call"];
14 [label="Variable declaration: lval <elvis>: R|kotlin/Boolean?|"];
subgraph cluster_7 {
color=blue
10 [label="Enter when"];
11 [label="Access variable R|<local>/x|"];
12 [label="Enter safe call"];
13 [label="Access variable R|/A.b|"];
14 [label="Exit safe call"];
15 [label="Variable declaration: lval <elvis>: R|kotlin/Boolean?|"];
subgraph cluster_8 {
color=blue
16 [label="Enter when branch condition "];
17 [label="Const: Null(null)"];
18 [label="Operator =="];
19 [label="Exit when branch condition"];
}
subgraph cluster_9 {
color=blue
20 [label="Enter when branch condition else"];
21 [label="Exit when branch condition"];
}
22 [label="Enter when branch result"];
subgraph cluster_10 {
color=blue
23 [label="Enter block"];
24 [label="Access variable R|<local>/<elvis>|"];
25 [label="Exit block"];
}
26 [label="Exit when branch result"];
27 [label="Enter when branch result"];
subgraph cluster_11 {
color=blue
28 [label="Enter block"];
29 [label="Jump: ^test_1 Unit"];
30 [label="Stub" style="filled" fillcolor=gray];
31 [label="Exit block" style="filled" fillcolor=gray];
}
32 [label="Exit when branch result" style="filled" fillcolor=gray];
33 [label="Exit when"];
15 [label="Enter when branch condition "];
16 [label="Const: Null(null)"];
17 [label="Operator =="];
18 [label="Exit when branch condition"];
}
34 [label="Exit when branch condition"];
subgraph cluster_8 {
color=blue
19 [label="Enter when branch condition else"];
20 [label="Exit when branch condition"];
}
21 [label="Enter when branch result"];
subgraph cluster_9 {
color=blue
22 [label="Enter block"];
23 [label="Access variable R|<local>/<elvis>|"];
24 [label="Exit block"];
}
25 [label="Exit when branch result"];
26 [label="Enter when branch result"];
subgraph cluster_10 {
color=blue
27 [label="Enter block"];
28 [label="Jump: ^test_1 Unit"];
29 [label="Stub" style="filled" fillcolor=gray];
30 [label="Exit block" style="filled" fillcolor=gray];
}
31 [label="Exit when branch result" style="filled" fillcolor=gray];
32 [label="Exit when"];
}
35 [label="Synthetic else branch"];
36 [label="Enter when branch result"];
subgraph cluster_12 {
color=blue
37 [label="Enter block"];
38 [label="Access variable R|<local>/x|"];
39 [label="Function call: R|<local>/x|.R|/A.foo|()"];
40 [label="Exit block"];
}
41 [label="Exit when branch result"];
42 [label="Exit when"];
33 [label="Exit when branch condition"];
}
43 [label="Exit block"];
34 [label="Synthetic else branch"];
35 [label="Enter when branch result"];
subgraph cluster_11 {
color=blue
36 [label="Enter block"];
37 [label="Access variable R|<local>/x|"];
38 [label="Function call: R|<local>/x|.R|/A.foo|()"];
39 [label="Exit block"];
}
40 [label="Exit when branch result"];
41 [label="Exit when"];
}
44 [label="Exit function test_1" style="filled" fillcolor=red];
42 [label="Exit function test_1" style="filled" fillcolor=red];
}
6 -> {7};
7 -> {8};
8 -> {9};
9 -> {10};
10 -> {11};
11 -> {12 14};
10 -> {11 13};
11 -> {12};
12 -> {13};
13 -> {14};
14 -> {15};
15 -> {16};
16 -> {17};
17 -> {18};
18 -> {19};
19 -> {27 20};
18 -> {26 19};
19 -> {20};
20 -> {21};
21 -> {22};
22 -> {23};
23 -> {24};
24 -> {25};
25 -> {26};
26 -> {33};
25 -> {32};
26 -> {27};
27 -> {28};
28 -> {29};
29 -> {44};
28 -> {42};
28 -> {29} [style=dotted];
29 -> {30} [style=dotted];
30 -> {31} [style=dotted];
31 -> {32} [style=dotted];
32 -> {33} [style=dotted];
33 -> {34};
34 -> {36 35};
35 -> {42};
32 -> {33};
33 -> {35 34};
34 -> {41};
35 -> {36};
36 -> {37};
37 -> {38};
38 -> {39};
39 -> {40};
40 -> {41};
41 -> {42};
42 -> {43};
43 -> {44};
subgraph cluster_13 {
subgraph cluster_12 {
color=red
45 [label="Enter function test2" style="filled" fillcolor=red];
subgraph cluster_14 {
43 [label="Enter function test2" style="filled" fillcolor=red];
subgraph cluster_13 {
color=blue
46 [label="Enter block"];
44 [label="Enter when"];
subgraph cluster_14 {
color=blue
45 [label="Enter when branch condition "];
46 [label="Access variable R|<local>/b|"];
47 [label="Type operator: b !is String"];
48 [label="Exit when branch condition"];
}
49 [label="Synthetic else branch"];
50 [label="Enter when branch result"];
subgraph cluster_15 {
color=blue
47 [label="Enter when"];
subgraph cluster_16 {
color=blue
48 [label="Enter when branch condition "];
49 [label="Access variable R|<local>/b|"];
50 [label="Type operator: b !is String"];
51 [label="Exit when branch condition"];
}
52 [label="Synthetic else branch"];
53 [label="Enter when branch result"];
subgraph cluster_17 {
color=blue
54 [label="Enter block"];
55 [label="Const: String()"];
56 [label="Jump: ^test2 String()"];
57 [label="Stub" style="filled" fillcolor=gray];
58 [label="Exit block" style="filled" fillcolor=gray];
}
59 [label="Exit when branch result" style="filled" fillcolor=gray];
60 [label="Exit when"];
51 [label="Enter block"];
52 [label="Const: String()"];
53 [label="Jump: ^test2 String()"];
54 [label="Stub" style="filled" fillcolor=gray];
55 [label="Exit block" style="filled" fillcolor=gray];
}
56 [label="Exit when branch result" style="filled" fillcolor=gray];
57 [label="Exit when"];
}
subgraph cluster_16 {
color=blue
58 [label="Enter when"];
subgraph cluster_17 {
color=blue
59 [label="Enter when branch condition "];
60 [label="Access variable R|<local>/a|"];
61 [label="Type operator: a !is String?"];
62 [label="Exit when branch condition"];
}
63 [label="Synthetic else branch"];
64 [label="Enter when branch result"];
subgraph cluster_18 {
color=blue
61 [label="Enter when"];
subgraph cluster_19 {
color=blue
62 [label="Enter when branch condition "];
63 [label="Access variable R|<local>/a|"];
64 [label="Type operator: a !is String?"];
65 [label="Exit when branch condition"];
}
66 [label="Synthetic else branch"];
67 [label="Enter when branch result"];
subgraph cluster_20 {
color=blue
68 [label="Enter block"];
69 [label="Const: String()"];
70 [label="Jump: ^test2 String()"];
71 [label="Stub" style="filled" fillcolor=gray];
72 [label="Exit block" style="filled" fillcolor=gray];
}
73 [label="Exit when branch result" style="filled" fillcolor=gray];
74 [label="Exit when"];
65 [label="Enter block"];
66 [label="Const: String()"];
67 [label="Jump: ^test2 String()"];
68 [label="Stub" style="filled" fillcolor=gray];
69 [label="Exit block" style="filled" fillcolor=gray];
}
70 [label="Exit when branch result" style="filled" fillcolor=gray];
71 [label="Exit when"];
}
subgraph cluster_19 {
color=blue
72 [label="Enter when"];
73 [label="Access variable R|<local>/a|"];
74 [label="Variable declaration: lval <elvis>: R|kotlin/String?|"];
subgraph cluster_20 {
color=blue
75 [label="Enter when branch condition "];
76 [label="Const: Null(null)"];
77 [label="Operator =="];
78 [label="Exit when branch condition"];
}
subgraph cluster_21 {
color=blue
75 [label="Enter when"];
76 [label="Access variable R|<local>/a|"];
77 [label="Variable declaration: lval <elvis>: R|kotlin/String?|"];
subgraph cluster_22 {
color=blue
78 [label="Enter when branch condition "];
79 [label="Const: Null(null)"];
80 [label="Operator =="];
81 [label="Exit when branch condition"];
}
subgraph cluster_23 {
color=blue
82 [label="Enter when branch condition else"];
83 [label="Exit when branch condition"];
}
84 [label="Enter when branch result"];
subgraph cluster_24 {
color=blue
85 [label="Enter block"];
86 [label="Access variable R|<local>/<elvis>|"];
87 [label="Exit block"];
}
88 [label="Exit when branch result"];
89 [label="Enter when branch result"];
subgraph cluster_25 {
color=blue
90 [label="Enter block"];
91 [label="Access variable R|<local>/b|"];
92 [label="Exit block"];
}
93 [label="Exit when branch result"];
94 [label="Exit when"];
79 [label="Enter when branch condition else"];
80 [label="Exit when branch condition"];
}
95 [label="Jump: ^test2 when (lval <elvis>: R|kotlin/String?| = R|<local>/a|) {
81 [label="Enter when branch result"];
subgraph cluster_22 {
color=blue
82 [label="Enter block"];
83 [label="Access variable R|<local>/<elvis>|"];
84 [label="Exit block"];
}
85 [label="Exit when branch result"];
86 [label="Enter when branch result"];
subgraph cluster_23 {
color=blue
87 [label="Enter block"];
88 [label="Access variable R|<local>/b|"];
89 [label="Exit block"];
}
90 [label="Exit when branch result"];
91 [label="Exit when"];
}
92 [label="Jump: ^test2 when (lval <elvis>: R|kotlin/String?| = R|<local>/a|) {
==($subj$, Null(null)) -> {
R|<local>/b|
}
@@ -233,67 +223,63 @@ digraph elvis_kt {
}
}
"];
96 [label="Stub" style="filled" fillcolor=gray];
97 [label="Exit block" style="filled" fillcolor=gray];
}
98 [label="Exit function test2" style="filled" fillcolor=red];
93 [label="Stub" style="filled" fillcolor=gray];
94 [label="Exit function test2" style="filled" fillcolor=red];
}
43 -> {44};
44 -> {45};
45 -> {46};
46 -> {47};
47 -> {48};
48 -> {49};
49 -> {50};
48 -> {50 49};
49 -> {57};
50 -> {51};
51 -> {53 52};
52 -> {60};
53 -> {54};
54 -> {55};
55 -> {56};
56 -> {98};
51 -> {52};
52 -> {53};
53 -> {94};
53 -> {54} [style=dotted];
54 -> {55} [style=dotted];
55 -> {56} [style=dotted];
56 -> {57} [style=dotted];
57 -> {58} [style=dotted];
58 -> {59} [style=dotted];
59 -> {60} [style=dotted];
57 -> {58};
58 -> {59};
59 -> {60};
60 -> {61};
61 -> {62};
62 -> {63};
63 -> {64};
62 -> {64 63};
63 -> {71};
64 -> {65};
65 -> {67 66};
66 -> {74};
67 -> {68};
68 -> {69};
69 -> {70};
70 -> {98};
65 -> {66};
66 -> {67};
67 -> {94};
67 -> {68} [style=dotted];
68 -> {69} [style=dotted];
69 -> {70} [style=dotted];
70 -> {71} [style=dotted];
71 -> {72} [style=dotted];
72 -> {73} [style=dotted];
73 -> {74} [style=dotted];
71 -> {72};
72 -> {73};
73 -> {74};
74 -> {75};
75 -> {76};
76 -> {77};
77 -> {78};
78 -> {79};
78 -> {86 79};
79 -> {80};
80 -> {81};
81 -> {89 82};
81 -> {82};
82 -> {83};
83 -> {84};
84 -> {85};
85 -> {86};
85 -> {91};
86 -> {87};
87 -> {88};
88 -> {94};
88 -> {89};
89 -> {90};
90 -> {91};
91 -> {92};
92 -> {93};
93 -> {94};
94 -> {95};
95 -> {98};
95 -> {96} [style=dotted];
96 -> {97} [style=dotted];
97 -> {98} [style=dotted];
92 -> {94};
92 -> {93} [style=dotted];
93 -> {94} [style=dotted];
}
File diff suppressed because it is too large Load Diff
@@ -16,60 +16,55 @@ digraph equalsAndIdentity_kt {
2 [label="Enter function test_1" style="filled" fillcolor=red];
subgraph cluster_2 {
color=blue
3 [label="Enter block"];
3 [label="Enter when"];
subgraph cluster_3 {
color=blue
4 [label="Enter when"];
subgraph cluster_4 {
color=blue
5 [label="Enter when branch condition "];
6 [label="Access variable R|<local>/x|"];
7 [label="Access variable R|<local>/y|"];
8 [label="Operator =="];
9 [label="Exit when branch condition"];
}
10 [label="Synthetic else branch"];
11 [label="Enter when branch result"];
subgraph cluster_5 {
color=blue
12 [label="Enter block"];
13 [label="Access variable R|<local>/x|"];
14 [label="Function call: R|<local>/x|.R|/A.foo|()"];
15 [label="Access variable R|<local>/y|"];
16 [label="Function call: R|<local>/y|.R|/A.foo|()"];
17 [label="Exit block"];
}
18 [label="Exit when branch result"];
19 [label="Exit when"];
4 [label="Enter when branch condition "];
5 [label="Access variable R|<local>/x|"];
6 [label="Access variable R|<local>/y|"];
7 [label="Operator =="];
8 [label="Exit when branch condition"];
}
9 [label="Synthetic else branch"];
10 [label="Enter when branch result"];
subgraph cluster_4 {
color=blue
11 [label="Enter block"];
12 [label="Access variable R|<local>/x|"];
13 [label="Function call: R|<local>/x|.R|/A.foo|()"];
14 [label="Access variable R|<local>/y|"];
15 [label="Function call: R|<local>/y|.R|/A.foo|()"];
16 [label="Exit block"];
}
17 [label="Exit when branch result"];
18 [label="Exit when"];
}
subgraph cluster_5 {
color=blue
19 [label="Enter when"];
subgraph cluster_6 {
color=blue
20 [label="Enter when"];
subgraph cluster_7 {
color=blue
21 [label="Enter when branch condition "];
22 [label="Access variable R|<local>/x|"];
23 [label="Access variable R|<local>/y|"];
24 [label="Operator ==="];
25 [label="Exit when branch condition"];
}
26 [label="Synthetic else branch"];
27 [label="Enter when branch result"];
subgraph cluster_8 {
color=blue
28 [label="Enter block"];
29 [label="Access variable R|<local>/x|"];
30 [label="Function call: R|<local>/x|.R|/A.foo|()"];
31 [label="Access variable R|<local>/y|"];
32 [label="Function call: R|<local>/y|.R|/A.foo|()"];
33 [label="Exit block"];
}
34 [label="Exit when branch result"];
35 [label="Exit when"];
20 [label="Enter when branch condition "];
21 [label="Access variable R|<local>/x|"];
22 [label="Access variable R|<local>/y|"];
23 [label="Operator ==="];
24 [label="Exit when branch condition"];
}
36 [label="Exit block"];
25 [label="Synthetic else branch"];
26 [label="Enter when branch result"];
subgraph cluster_7 {
color=blue
27 [label="Enter block"];
28 [label="Access variable R|<local>/x|"];
29 [label="Function call: R|<local>/x|.R|/A.foo|()"];
30 [label="Access variable R|<local>/y|"];
31 [label="Function call: R|<local>/y|.R|/A.foo|()"];
32 [label="Exit block"];
}
33 [label="Exit when branch result"];
34 [label="Exit when"];
}
37 [label="Exit function test_1" style="filled" fillcolor=red];
35 [label="Exit function test_1" style="filled" fillcolor=red];
}
2 -> {3};
@@ -78,9 +73,9 @@ digraph equalsAndIdentity_kt {
5 -> {6};
6 -> {7};
7 -> {8};
8 -> {9};
9 -> {11 10};
10 -> {19};
8 -> {10 9};
9 -> {18};
10 -> {11};
11 -> {12};
12 -> {13};
13 -> {14};
@@ -94,9 +89,9 @@ digraph equalsAndIdentity_kt {
21 -> {22};
22 -> {23};
23 -> {24};
24 -> {25};
25 -> {27 26};
26 -> {35};
24 -> {26 25};
25 -> {34};
26 -> {27};
27 -> {28};
28 -> {29};
29 -> {30};
@@ -105,79 +100,74 @@ digraph equalsAndIdentity_kt {
32 -> {33};
33 -> {34};
34 -> {35};
35 -> {36};
36 -> {37};
subgraph cluster_9 {
subgraph cluster_8 {
color=red
38 [label="Enter function test_2" style="filled" fillcolor=red];
subgraph cluster_10 {
36 [label="Enter function test_2" style="filled" fillcolor=red];
subgraph cluster_9 {
color=blue
39 [label="Enter block"];
37 [label="Enter when"];
subgraph cluster_10 {
color=blue
38 [label="Enter when branch condition "];
39 [label="Access variable R|<local>/x|"];
40 [label="Access variable R|<local>/y|"];
41 [label="Operator =="];
42 [label="Exit when branch condition"];
}
43 [label="Synthetic else branch"];
44 [label="Enter when branch result"];
subgraph cluster_11 {
color=blue
40 [label="Enter when"];
subgraph cluster_12 {
color=blue
41 [label="Enter when branch condition "];
42 [label="Access variable R|<local>/x|"];
43 [label="Access variable R|<local>/y|"];
44 [label="Operator =="];
45 [label="Exit when branch condition"];
}
46 [label="Synthetic else branch"];
47 [label="Enter when branch result"];
subgraph cluster_13 {
color=blue
48 [label="Enter block"];
49 [label="Access variable R|<local>/x|"];
50 [label="Function call: R|<local>/x|.<Inapplicable(WRONG_RECEIVER): [/A.foo]>#()"];
51 [label="Access variable R|<local>/y|"];
52 [label="Function call: R|<local>/y|.<Inapplicable(WRONG_RECEIVER): [/A.foo]>#()"];
53 [label="Exit block"];
}
54 [label="Exit when branch result"];
55 [label="Exit when"];
45 [label="Enter block"];
46 [label="Access variable R|<local>/x|"];
47 [label="Function call: R|<local>/x|.<Inapplicable(WRONG_RECEIVER): [/A.foo]>#()"];
48 [label="Access variable R|<local>/y|"];
49 [label="Function call: R|<local>/y|.<Inapplicable(WRONG_RECEIVER): [/A.foo]>#()"];
50 [label="Exit block"];
}
51 [label="Exit when branch result"];
52 [label="Exit when"];
}
subgraph cluster_12 {
color=blue
53 [label="Enter when"];
subgraph cluster_13 {
color=blue
54 [label="Enter when branch condition "];
55 [label="Access variable R|<local>/x|"];
56 [label="Access variable R|<local>/y|"];
57 [label="Operator ==="];
58 [label="Exit when branch condition"];
}
59 [label="Synthetic else branch"];
60 [label="Enter when branch result"];
subgraph cluster_14 {
color=blue
56 [label="Enter when"];
subgraph cluster_15 {
color=blue
57 [label="Enter when branch condition "];
58 [label="Access variable R|<local>/x|"];
59 [label="Access variable R|<local>/y|"];
60 [label="Operator ==="];
61 [label="Exit when branch condition"];
}
62 [label="Synthetic else branch"];
63 [label="Enter when branch result"];
subgraph cluster_16 {
color=blue
64 [label="Enter block"];
65 [label="Access variable R|<local>/x|"];
66 [label="Function call: R|<local>/x|.<Inapplicable(WRONG_RECEIVER): [/A.foo]>#()"];
67 [label="Access variable R|<local>/y|"];
68 [label="Function call: R|<local>/y|.<Inapplicable(WRONG_RECEIVER): [/A.foo]>#()"];
69 [label="Exit block"];
}
70 [label="Exit when branch result"];
71 [label="Exit when"];
61 [label="Enter block"];
62 [label="Access variable R|<local>/x|"];
63 [label="Function call: R|<local>/x|.<Inapplicable(WRONG_RECEIVER): [/A.foo]>#()"];
64 [label="Access variable R|<local>/y|"];
65 [label="Function call: R|<local>/y|.<Inapplicable(WRONG_RECEIVER): [/A.foo]>#()"];
66 [label="Exit block"];
}
72 [label="Exit block"];
67 [label="Exit when branch result"];
68 [label="Exit when"];
}
73 [label="Exit function test_2" style="filled" fillcolor=red];
69 [label="Exit function test_2" style="filled" fillcolor=red];
}
36 -> {37};
37 -> {38};
38 -> {39};
39 -> {40};
40 -> {41};
41 -> {42};
42 -> {43};
43 -> {44};
42 -> {44 43};
43 -> {52};
44 -> {45};
45 -> {47 46};
46 -> {55};
45 -> {46};
46 -> {47};
47 -> {48};
48 -> {49};
49 -> {50};
@@ -189,130 +179,125 @@ digraph equalsAndIdentity_kt {
55 -> {56};
56 -> {57};
57 -> {58};
58 -> {59};
59 -> {60};
58 -> {60 59};
59 -> {68};
60 -> {61};
61 -> {63 62};
62 -> {71};
61 -> {62};
62 -> {63};
63 -> {64};
64 -> {65};
65 -> {66};
66 -> {67};
67 -> {68};
68 -> {69};
69 -> {70};
subgraph cluster_15 {
color=red
70 [label="Enter function test_3" style="filled" fillcolor=red];
subgraph cluster_16 {
color=blue
71 [label="Enter when"];
subgraph cluster_17 {
color=blue
72 [label="Enter when branch condition "];
73 [label="Access variable R|<local>/y|"];
74 [label="Const: Null(null)"];
75 [label="Operator =="];
76 [label="Exit when branch condition"];
}
77 [label="Synthetic else branch"];
78 [label="Enter when branch result"];
subgraph cluster_18 {
color=blue
79 [label="Enter block"];
80 [label="Jump: ^test_3 Unit"];
81 [label="Stub" style="filled" fillcolor=gray];
82 [label="Exit block" style="filled" fillcolor=gray];
}
83 [label="Exit when branch result" style="filled" fillcolor=gray];
84 [label="Exit when"];
}
subgraph cluster_19 {
color=blue
85 [label="Enter when"];
subgraph cluster_20 {
color=blue
86 [label="Enter when branch condition "];
87 [label="Access variable R|<local>/x|"];
88 [label="Access variable R|<local>/y|"];
89 [label="Operator =="];
90 [label="Exit when branch condition"];
}
91 [label="Synthetic else branch"];
92 [label="Enter when branch result"];
subgraph cluster_21 {
color=blue
93 [label="Enter block"];
94 [label="Access variable R|<local>/x|"];
95 [label="Function call: R|<local>/x|.R|/A.foo|()"];
96 [label="Access variable R|<local>/y|"];
97 [label="Function call: R|<local>/y|.R|/A.foo|()"];
98 [label="Exit block"];
}
99 [label="Exit when branch result"];
100 [label="Exit when"];
}
subgraph cluster_22 {
color=blue
101 [label="Enter when"];
subgraph cluster_23 {
color=blue
102 [label="Enter when branch condition "];
103 [label="Access variable R|<local>/x|"];
104 [label="Access variable R|<local>/y|"];
105 [label="Operator ==="];
106 [label="Exit when branch condition"];
}
107 [label="Synthetic else branch"];
108 [label="Enter when branch result"];
subgraph cluster_24 {
color=blue
109 [label="Enter block"];
110 [label="Access variable R|<local>/x|"];
111 [label="Function call: R|<local>/x|.R|/A.foo|()"];
112 [label="Access variable R|<local>/y|"];
113 [label="Function call: R|<local>/y|.R|/A.foo|()"];
114 [label="Exit block"];
}
115 [label="Exit when branch result"];
116 [label="Exit when"];
}
117 [label="Exit function test_3" style="filled" fillcolor=red];
}
70 -> {71};
71 -> {72};
72 -> {73};
subgraph cluster_17 {
color=red
74 [label="Enter function test_3" style="filled" fillcolor=red];
subgraph cluster_18 {
color=blue
75 [label="Enter block"];
subgraph cluster_19 {
color=blue
76 [label="Enter when"];
subgraph cluster_20 {
color=blue
77 [label="Enter when branch condition "];
78 [label="Access variable R|<local>/y|"];
79 [label="Const: Null(null)"];
80 [label="Operator =="];
81 [label="Exit when branch condition"];
}
82 [label="Synthetic else branch"];
83 [label="Enter when branch result"];
subgraph cluster_21 {
color=blue
84 [label="Enter block"];
85 [label="Jump: ^test_3 Unit"];
86 [label="Stub" style="filled" fillcolor=gray];
87 [label="Exit block" style="filled" fillcolor=gray];
}
88 [label="Exit when branch result" style="filled" fillcolor=gray];
89 [label="Exit when"];
}
subgraph cluster_22 {
color=blue
90 [label="Enter when"];
subgraph cluster_23 {
color=blue
91 [label="Enter when branch condition "];
92 [label="Access variable R|<local>/x|"];
93 [label="Access variable R|<local>/y|"];
94 [label="Operator =="];
95 [label="Exit when branch condition"];
}
96 [label="Synthetic else branch"];
97 [label="Enter when branch result"];
subgraph cluster_24 {
color=blue
98 [label="Enter block"];
99 [label="Access variable R|<local>/x|"];
100 [label="Function call: R|<local>/x|.R|/A.foo|()"];
101 [label="Access variable R|<local>/y|"];
102 [label="Function call: R|<local>/y|.R|/A.foo|()"];
103 [label="Exit block"];
}
104 [label="Exit when branch result"];
105 [label="Exit when"];
}
subgraph cluster_25 {
color=blue
106 [label="Enter when"];
subgraph cluster_26 {
color=blue
107 [label="Enter when branch condition "];
108 [label="Access variable R|<local>/x|"];
109 [label="Access variable R|<local>/y|"];
110 [label="Operator ==="];
111 [label="Exit when branch condition"];
}
112 [label="Synthetic else branch"];
113 [label="Enter when branch result"];
subgraph cluster_27 {
color=blue
114 [label="Enter block"];
115 [label="Access variable R|<local>/x|"];
116 [label="Function call: R|<local>/x|.R|/A.foo|()"];
117 [label="Access variable R|<local>/y|"];
118 [label="Function call: R|<local>/y|.R|/A.foo|()"];
119 [label="Exit block"];
}
120 [label="Exit when branch result"];
121 [label="Exit when"];
}
122 [label="Exit block"];
}
123 [label="Exit function test_3" style="filled" fillcolor=red];
}
73 -> {74};
74 -> {75};
75 -> {76};
76 -> {77};
77 -> {78};
76 -> {78 77};
77 -> {84};
78 -> {79};
79 -> {80};
80 -> {81};
81 -> {83 82};
82 -> {89};
83 -> {84};
80 -> {117};
80 -> {81} [style=dotted];
81 -> {82} [style=dotted];
82 -> {83} [style=dotted];
83 -> {84} [style=dotted];
84 -> {85};
85 -> {123};
85 -> {86} [style=dotted];
86 -> {87} [style=dotted];
87 -> {88} [style=dotted];
88 -> {89} [style=dotted];
85 -> {86};
86 -> {87};
87 -> {88};
88 -> {89};
89 -> {90};
90 -> {91};
91 -> {92};
90 -> {92 91};
91 -> {100};
92 -> {93};
93 -> {94};
94 -> {95};
95 -> {97 96};
96 -> {105};
95 -> {96};
96 -> {97};
97 -> {98};
98 -> {99};
99 -> {100};
@@ -322,22 +307,16 @@ digraph equalsAndIdentity_kt {
103 -> {104};
104 -> {105};
105 -> {106};
106 -> {107};
107 -> {108};
106 -> {108 107};
107 -> {116};
108 -> {109};
109 -> {110};
110 -> {111};
111 -> {113 112};
112 -> {121};
111 -> {112};
112 -> {113};
113 -> {114};
114 -> {115};
115 -> {116};
116 -> {117};
117 -> {118};
118 -> {119};
119 -> {120};
120 -> {121};
121 -> {122};
122 -> {123};
}
@@ -32,48 +32,43 @@ digraph equalsToBoolean_kt {
6 [label="Enter function test_1" style="filled" fillcolor=red];
subgraph cluster_4 {
color=blue
7 [label="Enter block"];
7 [label="Enter when"];
subgraph cluster_5 {
color=blue
8 [label="Enter when"];
subgraph cluster_6 {
color=blue
9 [label="Enter when branch condition "];
10 [label="Access variable R|<local>/b|"];
11 [label="Const: Boolean(true)"];
12 [label="Operator =="];
13 [label="Const: Boolean(true)"];
14 [label="Operator =="];
15 [label="Exit when branch condition"];
}
subgraph cluster_7 {
color=blue
16 [label="Enter when branch condition else"];
17 [label="Exit when branch condition"];
}
18 [label="Enter when branch result"];
subgraph cluster_8 {
color=blue
19 [label="Enter block"];
20 [label="Access variable R|<local>/b|"];
21 [label="Function call: R|<local>/b|.<Inapplicable(WRONG_RECEIVER): [kotlin/Boolean.not]>#()"];
22 [label="Exit block"];
}
23 [label="Exit when branch result"];
24 [label="Enter when branch result"];
subgraph cluster_9 {
color=blue
25 [label="Enter block"];
26 [label="Access variable R|<local>/b|"];
27 [label="Function call: R|<local>/b|.R|kotlin/Boolean.not|()"];
28 [label="Exit block"];
}
29 [label="Exit when branch result"];
30 [label="Exit when"];
8 [label="Enter when branch condition "];
9 [label="Access variable R|<local>/b|"];
10 [label="Const: Boolean(true)"];
11 [label="Operator =="];
12 [label="Const: Boolean(true)"];
13 [label="Operator =="];
14 [label="Exit when branch condition"];
}
31 [label="Exit block"];
subgraph cluster_6 {
color=blue
15 [label="Enter when branch condition else"];
16 [label="Exit when branch condition"];
}
17 [label="Enter when branch result"];
subgraph cluster_7 {
color=blue
18 [label="Enter block"];
19 [label="Access variable R|<local>/b|"];
20 [label="Function call: R|<local>/b|.<Inapplicable(WRONG_RECEIVER): [kotlin/Boolean.not]>#()"];
21 [label="Exit block"];
}
22 [label="Exit when branch result"];
23 [label="Enter when branch result"];
subgraph cluster_8 {
color=blue
24 [label="Enter block"];
25 [label="Access variable R|<local>/b|"];
26 [label="Function call: R|<local>/b|.R|kotlin/Boolean.not|()"];
27 [label="Exit block"];
}
28 [label="Exit when branch result"];
29 [label="Exit when"];
}
32 [label="Exit function test_1" style="filled" fillcolor=red];
30 [label="Exit function test_1" style="filled" fillcolor=red];
}
6 -> {7};
@@ -84,245 +79,274 @@ digraph equalsToBoolean_kt {
11 -> {12};
12 -> {13};
13 -> {14};
14 -> {15};
15 -> {24 16};
14 -> {23 15};
15 -> {16};
16 -> {17};
17 -> {18};
18 -> {19};
19 -> {20};
20 -> {21};
21 -> {22};
22 -> {23};
23 -> {30};
22 -> {29};
23 -> {24};
24 -> {25};
25 -> {26};
26 -> {27};
27 -> {28};
28 -> {29};
29 -> {30};
30 -> {31};
31 -> {32};
subgraph cluster_10 {
subgraph cluster_9 {
color=red
33 [label="Enter function test_2" style="filled" fillcolor=red];
subgraph cluster_11 {
31 [label="Enter function test_2" style="filled" fillcolor=red];
subgraph cluster_10 {
color=blue
34 [label="Enter block"];
32 [label="Enter when"];
subgraph cluster_11 {
color=blue
33 [label="Enter when branch condition "];
34 [label="Access variable R|<local>/b|"];
35 [label="Const: Boolean(true)"];
36 [label="Operator =="];
37 [label="Const: Boolean(true)"];
38 [label="Operator !="];
39 [label="Exit when branch condition"];
}
subgraph cluster_12 {
color=blue
35 [label="Enter when"];
subgraph cluster_13 {
color=blue
36 [label="Enter when branch condition "];
37 [label="Access variable R|<local>/b|"];
38 [label="Const: Boolean(true)"];
39 [label="Operator =="];
40 [label="Const: Boolean(true)"];
41 [label="Operator !="];
42 [label="Exit when branch condition"];
}
subgraph cluster_14 {
color=blue
43 [label="Enter when branch condition else"];
44 [label="Exit when branch condition"];
}
45 [label="Enter when branch result"];
subgraph cluster_15 {
color=blue
46 [label="Enter block"];
47 [label="Access variable R|<local>/b|"];
48 [label="Function call: R|<local>/b|.R|kotlin/Boolean.not|()"];
49 [label="Exit block"];
}
50 [label="Exit when branch result"];
51 [label="Enter when branch result"];
subgraph cluster_16 {
color=blue
52 [label="Enter block"];
53 [label="Access variable R|<local>/b|"];
54 [label="Function call: R|<local>/b|.<Inapplicable(WRONG_RECEIVER): [kotlin/Boolean.not]>#()"];
55 [label="Exit block"];
}
56 [label="Exit when branch result"];
57 [label="Exit when"];
40 [label="Enter when branch condition else"];
41 [label="Exit when branch condition"];
}
58 [label="Exit block"];
42 [label="Enter when branch result"];
subgraph cluster_13 {
color=blue
43 [label="Enter block"];
44 [label="Access variable R|<local>/b|"];
45 [label="Function call: R|<local>/b|.R|kotlin/Boolean.not|()"];
46 [label="Exit block"];
}
47 [label="Exit when branch result"];
48 [label="Enter when branch result"];
subgraph cluster_14 {
color=blue
49 [label="Enter block"];
50 [label="Access variable R|<local>/b|"];
51 [label="Function call: R|<local>/b|.<Inapplicable(WRONG_RECEIVER): [kotlin/Boolean.not]>#()"];
52 [label="Exit block"];
}
53 [label="Exit when branch result"];
54 [label="Exit when"];
}
59 [label="Exit function test_2" style="filled" fillcolor=red];
55 [label="Exit function test_2" style="filled" fillcolor=red];
}
31 -> {32};
32 -> {33};
33 -> {34};
34 -> {35};
35 -> {36};
36 -> {37};
37 -> {38};
38 -> {39};
39 -> {40};
39 -> {48 40};
40 -> {41};
41 -> {42};
42 -> {51 43};
42 -> {43};
43 -> {44};
44 -> {45};
45 -> {46};
46 -> {47};
47 -> {48};
47 -> {54};
48 -> {49};
49 -> {50};
50 -> {57};
50 -> {51};
51 -> {52};
52 -> {53};
53 -> {54};
54 -> {55};
55 -> {56};
subgraph cluster_15 {
color=red
56 [label="Enter function test_3" style="filled" fillcolor=red];
subgraph cluster_16 {
color=blue
57 [label="Enter when"];
subgraph cluster_17 {
color=blue
58 [label="Enter when branch condition "];
59 [label="Access variable R|<local>/b|"];
60 [label="Const: Boolean(true)"];
61 [label="Operator =="];
62 [label="Const: Boolean(false)"];
63 [label="Operator =="];
64 [label="Exit when branch condition"];
}
subgraph cluster_18 {
color=blue
65 [label="Enter when branch condition else"];
66 [label="Exit when branch condition"];
}
67 [label="Enter when branch result"];
subgraph cluster_19 {
color=blue
68 [label="Enter block"];
69 [label="Access variable R|<local>/b|"];
70 [label="Function call: R|<local>/b|.R|kotlin/Boolean.not|()"];
71 [label="Exit block"];
}
72 [label="Exit when branch result"];
73 [label="Enter when branch result"];
subgraph cluster_20 {
color=blue
74 [label="Enter block"];
75 [label="Access variable R|<local>/b|"];
76 [label="Function call: R|<local>/b|.<Inapplicable(WRONG_RECEIVER): [kotlin/Boolean.not]>#()"];
77 [label="Exit block"];
}
78 [label="Exit when branch result"];
79 [label="Exit when"];
}
80 [label="Exit function test_3" style="filled" fillcolor=red];
}
56 -> {57};
57 -> {58};
58 -> {59};
subgraph cluster_17 {
color=red
60 [label="Enter function test_3" style="filled" fillcolor=red];
subgraph cluster_18 {
color=blue
61 [label="Enter block"];
subgraph cluster_19 {
color=blue
62 [label="Enter when"];
subgraph cluster_20 {
color=blue
63 [label="Enter when branch condition "];
64 [label="Access variable R|<local>/b|"];
65 [label="Const: Boolean(true)"];
66 [label="Operator =="];
67 [label="Const: Boolean(false)"];
68 [label="Operator =="];
69 [label="Exit when branch condition"];
}
subgraph cluster_21 {
color=blue
70 [label="Enter when branch condition else"];
71 [label="Exit when branch condition"];
}
72 [label="Enter when branch result"];
subgraph cluster_22 {
color=blue
73 [label="Enter block"];
74 [label="Access variable R|<local>/b|"];
75 [label="Function call: R|<local>/b|.R|kotlin/Boolean.not|()"];
76 [label="Exit block"];
}
77 [label="Exit when branch result"];
78 [label="Enter when branch result"];
subgraph cluster_23 {
color=blue
79 [label="Enter block"];
80 [label="Access variable R|<local>/b|"];
81 [label="Function call: R|<local>/b|.<Inapplicable(WRONG_RECEIVER): [kotlin/Boolean.not]>#()"];
82 [label="Exit block"];
}
83 [label="Exit when branch result"];
84 [label="Exit when"];
}
85 [label="Exit block"];
}
86 [label="Exit function test_3" style="filled" fillcolor=red];
}
59 -> {60};
60 -> {61};
61 -> {62};
62 -> {63};
63 -> {64};
64 -> {65};
64 -> {73 65};
65 -> {66};
66 -> {67};
67 -> {68};
68 -> {69};
69 -> {78 70};
69 -> {70};
70 -> {71};
71 -> {72};
72 -> {73};
72 -> {79};
73 -> {74};
74 -> {75};
75 -> {76};
76 -> {77};
77 -> {84};
77 -> {78};
78 -> {79};
79 -> {80};
80 -> {81};
subgraph cluster_21 {
color=red
81 [label="Enter function test_4" style="filled" fillcolor=red];
subgraph cluster_22 {
color=blue
82 [label="Enter when"];
subgraph cluster_23 {
color=blue
83 [label="Enter when branch condition "];
84 [label="Access variable R|<local>/b|"];
85 [label="Const: Boolean(true)"];
86 [label="Operator =="];
87 [label="Const: Boolean(false)"];
88 [label="Operator !="];
89 [label="Exit when branch condition"];
}
subgraph cluster_24 {
color=blue
90 [label="Enter when branch condition else"];
91 [label="Exit when branch condition"];
}
92 [label="Enter when branch result"];
subgraph cluster_25 {
color=blue
93 [label="Enter block"];
94 [label="Access variable R|<local>/b|"];
95 [label="Function call: R|<local>/b|.<Inapplicable(WRONG_RECEIVER): [kotlin/Boolean.not]>#()"];
96 [label="Exit block"];
}
97 [label="Exit when branch result"];
98 [label="Enter when branch result"];
subgraph cluster_26 {
color=blue
99 [label="Enter block"];
100 [label="Access variable R|<local>/b|"];
101 [label="Function call: R|<local>/b|.R|kotlin/Boolean.not|()"];
102 [label="Exit block"];
}
103 [label="Exit when branch result"];
104 [label="Exit when"];
}
105 [label="Exit function test_4" style="filled" fillcolor=red];
}
81 -> {82};
82 -> {83};
83 -> {84};
84 -> {85};
85 -> {86};
subgraph cluster_24 {
color=red
87 [label="Enter function test_4" style="filled" fillcolor=red];
subgraph cluster_25 {
color=blue
88 [label="Enter block"];
subgraph cluster_26 {
color=blue
89 [label="Enter when"];
subgraph cluster_27 {
color=blue
90 [label="Enter when branch condition "];
91 [label="Access variable R|<local>/b|"];
92 [label="Const: Boolean(true)"];
93 [label="Operator =="];
94 [label="Const: Boolean(false)"];
95 [label="Operator !="];
96 [label="Exit when branch condition"];
}
subgraph cluster_28 {
color=blue
97 [label="Enter when branch condition else"];
98 [label="Exit when branch condition"];
}
99 [label="Enter when branch result"];
subgraph cluster_29 {
color=blue
100 [label="Enter block"];
101 [label="Access variable R|<local>/b|"];
102 [label="Function call: R|<local>/b|.<Inapplicable(WRONG_RECEIVER): [kotlin/Boolean.not]>#()"];
103 [label="Exit block"];
}
104 [label="Exit when branch result"];
105 [label="Enter when branch result"];
subgraph cluster_30 {
color=blue
106 [label="Enter block"];
107 [label="Access variable R|<local>/b|"];
108 [label="Function call: R|<local>/b|.R|kotlin/Boolean.not|()"];
109 [label="Exit block"];
}
110 [label="Exit when branch result"];
111 [label="Exit when"];
}
112 [label="Exit block"];
}
113 [label="Exit function test_4" style="filled" fillcolor=red];
}
86 -> {87};
87 -> {88};
88 -> {89};
89 -> {90};
89 -> {98 90};
90 -> {91};
91 -> {92};
92 -> {93};
93 -> {94};
94 -> {95};
95 -> {96};
96 -> {105 97};
97 -> {98};
96 -> {97};
97 -> {104};
98 -> {99};
99 -> {100};
100 -> {101};
101 -> {102};
102 -> {103};
103 -> {104};
104 -> {111};
105 -> {106};
104 -> {105};
subgraph cluster_27 {
color=red
106 [label="Enter function test_5" style="filled" fillcolor=red];
subgraph cluster_28 {
color=blue
107 [label="Enter when"];
subgraph cluster_29 {
color=blue
108 [label="Enter when branch condition "];
109 [label="Access variable R|<local>/b|"];
110 [label="Const: Boolean(true)"];
111 [label="Operator !="];
112 [label="Const: Boolean(true)"];
113 [label="Operator =="];
114 [label="Exit when branch condition"];
}
subgraph cluster_30 {
color=blue
115 [label="Enter when branch condition else"];
116 [label="Exit when branch condition"];
}
117 [label="Enter when branch result"];
subgraph cluster_31 {
color=blue
118 [label="Enter block"];
119 [label="Access variable R|<local>/b|"];
120 [label="Function call: R|<local>/b|.R|kotlin/Boolean.not|()"];
121 [label="Exit block"];
}
122 [label="Exit when branch result"];
123 [label="Enter when branch result"];
subgraph cluster_32 {
color=blue
124 [label="Enter block"];
125 [label="Access variable R|<local>/b|"];
126 [label="Function call: R|<local>/b|.<Inapplicable(WRONG_RECEIVER): [kotlin/Boolean.not]>#()"];
127 [label="Exit block"];
}
128 [label="Exit when branch result"];
129 [label="Exit when"];
}
130 [label="Exit function test_5" style="filled" fillcolor=red];
}
106 -> {107};
107 -> {108};
108 -> {109};
@@ -330,57 +354,8 @@ digraph equalsToBoolean_kt {
110 -> {111};
111 -> {112};
112 -> {113};
subgraph cluster_31 {
color=red
114 [label="Enter function test_5" style="filled" fillcolor=red];
subgraph cluster_32 {
color=blue
115 [label="Enter block"];
subgraph cluster_33 {
color=blue
116 [label="Enter when"];
subgraph cluster_34 {
color=blue
117 [label="Enter when branch condition "];
118 [label="Access variable R|<local>/b|"];
119 [label="Const: Boolean(true)"];
120 [label="Operator !="];
121 [label="Const: Boolean(true)"];
122 [label="Operator =="];
123 [label="Exit when branch condition"];
}
subgraph cluster_35 {
color=blue
124 [label="Enter when branch condition else"];
125 [label="Exit when branch condition"];
}
126 [label="Enter when branch result"];
subgraph cluster_36 {
color=blue
127 [label="Enter block"];
128 [label="Access variable R|<local>/b|"];
129 [label="Function call: R|<local>/b|.R|kotlin/Boolean.not|()"];
130 [label="Exit block"];
}
131 [label="Exit when branch result"];
132 [label="Enter when branch result"];
subgraph cluster_37 {
color=blue
133 [label="Enter block"];
134 [label="Access variable R|<local>/b|"];
135 [label="Function call: R|<local>/b|.<Inapplicable(WRONG_RECEIVER): [kotlin/Boolean.not]>#()"];
136 [label="Exit block"];
}
137 [label="Exit when branch result"];
138 [label="Exit when"];
}
139 [label="Exit block"];
}
140 [label="Exit function test_5" style="filled" fillcolor=red];
}
114 -> {115};
113 -> {114};
114 -> {123 115};
115 -> {116};
116 -> {117};
117 -> {118};
@@ -388,16 +363,60 @@ digraph equalsToBoolean_kt {
119 -> {120};
120 -> {121};
121 -> {122};
122 -> {123};
123 -> {132 124};
122 -> {129};
123 -> {124};
124 -> {125};
125 -> {126};
126 -> {127};
127 -> {128};
128 -> {129};
129 -> {130};
130 -> {131};
131 -> {138};
subgraph cluster_33 {
color=red
131 [label="Enter function test_6" style="filled" fillcolor=red];
subgraph cluster_34 {
color=blue
132 [label="Enter when"];
subgraph cluster_35 {
color=blue
133 [label="Enter when branch condition "];
134 [label="Access variable R|<local>/b|"];
135 [label="Const: Boolean(true)"];
136 [label="Operator !="];
137 [label="Const: Boolean(true)"];
138 [label="Operator !="];
139 [label="Exit when branch condition"];
}
subgraph cluster_36 {
color=blue
140 [label="Enter when branch condition else"];
141 [label="Exit when branch condition"];
}
142 [label="Enter when branch result"];
subgraph cluster_37 {
color=blue
143 [label="Enter block"];
144 [label="Access variable R|<local>/b|"];
145 [label="Function call: R|<local>/b|.<Inapplicable(WRONG_RECEIVER): [kotlin/Boolean.not]>#()"];
146 [label="Exit block"];
}
147 [label="Exit when branch result"];
148 [label="Enter when branch result"];
subgraph cluster_38 {
color=blue
149 [label="Enter block"];
150 [label="Access variable R|<local>/b|"];
151 [label="Function call: R|<local>/b|.R|kotlin/Boolean.not|()"];
152 [label="Exit block"];
}
153 [label="Exit when branch result"];
154 [label="Exit when"];
}
155 [label="Exit function test_6" style="filled" fillcolor=red];
}
131 -> {132};
132 -> {133};
133 -> {134};
134 -> {135};
@@ -405,234 +424,159 @@ digraph equalsToBoolean_kt {
136 -> {137};
137 -> {138};
138 -> {139};
139 -> {140};
subgraph cluster_38 {
color=red
141 [label="Enter function test_6" style="filled" fillcolor=red];
subgraph cluster_39 {
color=blue
142 [label="Enter block"];
subgraph cluster_40 {
color=blue
143 [label="Enter when"];
subgraph cluster_41 {
color=blue
144 [label="Enter when branch condition "];
145 [label="Access variable R|<local>/b|"];
146 [label="Const: Boolean(true)"];
147 [label="Operator !="];
148 [label="Const: Boolean(true)"];
149 [label="Operator !="];
150 [label="Exit when branch condition"];
}
subgraph cluster_42 {
color=blue
151 [label="Enter when branch condition else"];
152 [label="Exit when branch condition"];
}
153 [label="Enter when branch result"];
subgraph cluster_43 {
color=blue
154 [label="Enter block"];
155 [label="Access variable R|<local>/b|"];
156 [label="Function call: R|<local>/b|.<Inapplicable(WRONG_RECEIVER): [kotlin/Boolean.not]>#()"];
157 [label="Exit block"];
}
158 [label="Exit when branch result"];
159 [label="Enter when branch result"];
subgraph cluster_44 {
color=blue
160 [label="Enter block"];
161 [label="Access variable R|<local>/b|"];
162 [label="Function call: R|<local>/b|.R|kotlin/Boolean.not|()"];
163 [label="Exit block"];
}
164 [label="Exit when branch result"];
165 [label="Exit when"];
}
166 [label="Exit block"];
}
167 [label="Exit function test_6" style="filled" fillcolor=red];
}
139 -> {148 140};
140 -> {141};
141 -> {142};
142 -> {143};
143 -> {144};
144 -> {145};
145 -> {146};
146 -> {147};
147 -> {148};
147 -> {154};
148 -> {149};
149 -> {150};
150 -> {159 151};
150 -> {151};
151 -> {152};
152 -> {153};
153 -> {154};
154 -> {155};
155 -> {156};
subgraph cluster_39 {
color=red
156 [label="Enter function test_7" style="filled" fillcolor=red];
subgraph cluster_40 {
color=blue
157 [label="Enter when"];
subgraph cluster_41 {
color=blue
158 [label="Enter when branch condition "];
159 [label="Access variable R|<local>/b|"];
160 [label="Const: Boolean(true)"];
161 [label="Operator !="];
162 [label="Const: Boolean(false)"];
163 [label="Operator =="];
164 [label="Exit when branch condition"];
}
subgraph cluster_42 {
color=blue
165 [label="Enter when branch condition else"];
166 [label="Exit when branch condition"];
}
167 [label="Enter when branch result"];
subgraph cluster_43 {
color=blue
168 [label="Enter block"];
169 [label="Access variable R|<local>/b|"];
170 [label="Function call: R|<local>/b|.<Inapplicable(WRONG_RECEIVER): [kotlin/Boolean.not]>#()"];
171 [label="Exit block"];
}
172 [label="Exit when branch result"];
173 [label="Enter when branch result"];
subgraph cluster_44 {
color=blue
174 [label="Enter block"];
175 [label="Access variable R|<local>/b|"];
176 [label="Function call: R|<local>/b|.R|kotlin/Boolean.not|()"];
177 [label="Exit block"];
}
178 [label="Exit when branch result"];
179 [label="Exit when"];
}
180 [label="Exit function test_7" style="filled" fillcolor=red];
}
156 -> {157};
157 -> {158};
158 -> {165};
158 -> {159};
159 -> {160};
160 -> {161};
161 -> {162};
162 -> {163};
163 -> {164};
164 -> {165};
164 -> {173 165};
165 -> {166};
166 -> {167};
subgraph cluster_45 {
color=red
168 [label="Enter function test_7" style="filled" fillcolor=red];
subgraph cluster_46 {
color=blue
169 [label="Enter block"];
subgraph cluster_47 {
color=blue
170 [label="Enter when"];
subgraph cluster_48 {
color=blue
171 [label="Enter when branch condition "];
172 [label="Access variable R|<local>/b|"];
173 [label="Const: Boolean(true)"];
174 [label="Operator !="];
175 [label="Const: Boolean(false)"];
176 [label="Operator =="];
177 [label="Exit when branch condition"];
}
subgraph cluster_49 {
color=blue
178 [label="Enter when branch condition else"];
179 [label="Exit when branch condition"];
}
180 [label="Enter when branch result"];
subgraph cluster_50 {
color=blue
181 [label="Enter block"];
182 [label="Access variable R|<local>/b|"];
183 [label="Function call: R|<local>/b|.<Inapplicable(WRONG_RECEIVER): [kotlin/Boolean.not]>#()"];
184 [label="Exit block"];
}
185 [label="Exit when branch result"];
186 [label="Enter when branch result"];
subgraph cluster_51 {
color=blue
187 [label="Enter block"];
188 [label="Access variable R|<local>/b|"];
189 [label="Function call: R|<local>/b|.R|kotlin/Boolean.not|()"];
190 [label="Exit block"];
}
191 [label="Exit when branch result"];
192 [label="Exit when"];
}
193 [label="Exit block"];
}
194 [label="Exit function test_7" style="filled" fillcolor=red];
}
167 -> {168};
168 -> {169};
169 -> {170};
170 -> {171};
171 -> {172};
172 -> {173};
172 -> {179};
173 -> {174};
174 -> {175};
175 -> {176};
176 -> {177};
177 -> {186 178};
177 -> {178};
178 -> {179};
179 -> {180};
180 -> {181};
subgraph cluster_45 {
color=red
181 [label="Enter function test_8" style="filled" fillcolor=red];
subgraph cluster_46 {
color=blue
182 [label="Enter when"];
subgraph cluster_47 {
color=blue
183 [label="Enter when branch condition "];
184 [label="Access variable R|<local>/b|"];
185 [label="Const: Boolean(true)"];
186 [label="Operator !="];
187 [label="Const: Boolean(false)"];
188 [label="Operator !="];
189 [label="Exit when branch condition"];
}
subgraph cluster_48 {
color=blue
190 [label="Enter when branch condition else"];
191 [label="Exit when branch condition"];
}
192 [label="Enter when branch result"];
subgraph cluster_49 {
color=blue
193 [label="Enter block"];
194 [label="Access variable R|<local>/b|"];
195 [label="Function call: R|<local>/b|.R|kotlin/Boolean.not|()"];
196 [label="Exit block"];
}
197 [label="Exit when branch result"];
198 [label="Enter when branch result"];
subgraph cluster_50 {
color=blue
199 [label="Enter block"];
200 [label="Access variable R|<local>/b|"];
201 [label="Function call: R|<local>/b|.<Inapplicable(WRONG_RECEIVER): [kotlin/Boolean.not]>#()"];
202 [label="Exit block"];
}
203 [label="Exit when branch result"];
204 [label="Exit when"];
}
205 [label="Exit function test_8" style="filled" fillcolor=red];
}
181 -> {182};
182 -> {183};
183 -> {184};
184 -> {185};
185 -> {192};
185 -> {186};
186 -> {187};
187 -> {188};
188 -> {189};
189 -> {190};
189 -> {198 190};
190 -> {191};
191 -> {192};
192 -> {193};
193 -> {194};
subgraph cluster_52 {
color=red
195 [label="Enter function test_8" style="filled" fillcolor=red];
subgraph cluster_53 {
color=blue
196 [label="Enter block"];
subgraph cluster_54 {
color=blue
197 [label="Enter when"];
subgraph cluster_55 {
color=blue
198 [label="Enter when branch condition "];
199 [label="Access variable R|<local>/b|"];
200 [label="Const: Boolean(true)"];
201 [label="Operator !="];
202 [label="Const: Boolean(false)"];
203 [label="Operator !="];
204 [label="Exit when branch condition"];
}
subgraph cluster_56 {
color=blue
205 [label="Enter when branch condition else"];
206 [label="Exit when branch condition"];
}
207 [label="Enter when branch result"];
subgraph cluster_57 {
color=blue
208 [label="Enter block"];
209 [label="Access variable R|<local>/b|"];
210 [label="Function call: R|<local>/b|.R|kotlin/Boolean.not|()"];
211 [label="Exit block"];
}
212 [label="Exit when branch result"];
213 [label="Enter when branch result"];
subgraph cluster_58 {
color=blue
214 [label="Enter block"];
215 [label="Access variable R|<local>/b|"];
216 [label="Function call: R|<local>/b|.<Inapplicable(WRONG_RECEIVER): [kotlin/Boolean.not]>#()"];
217 [label="Exit block"];
}
218 [label="Exit when branch result"];
219 [label="Exit when"];
}
220 [label="Exit block"];
}
221 [label="Exit function test_8" style="filled" fillcolor=red];
}
194 -> {195};
195 -> {196};
196 -> {197};
197 -> {198};
197 -> {204};
198 -> {199};
199 -> {200};
200 -> {201};
201 -> {202};
202 -> {203};
203 -> {204};
204 -> {213 205};
205 -> {206};
206 -> {207};
207 -> {208};
208 -> {209};
209 -> {210};
210 -> {211};
211 -> {212};
212 -> {219};
213 -> {214};
214 -> {215};
215 -> {216};
216 -> {217};
217 -> {218};
218 -> {219};
219 -> {220};
220 -> {221};
204 -> {205};
}
@@ -8,56 +8,53 @@ digraph implicitReceiverAsWhenSubject_kt {
0 [label="Enter function test_1" style="filled" fillcolor=red];
subgraph cluster_1 {
color=blue
1 [label="Enter block"];
1 [label="Enter when"];
2 [label="Access variable this@R|/test_1|"];
subgraph cluster_2 {
color=blue
2 [label="Enter when"];
3 [label="Access variable this@R|/test_1|"];
subgraph cluster_3 {
color=blue
4 [label="Enter when branch condition "];
5 [label="Type operator: List<*>"];
6 [label="Exit when branch condition"];
}
subgraph cluster_4 {
color=blue
7 [label="Enter when branch condition "];
8 [label="Type operator: String"];
9 [label="Exit when branch condition"];
}
subgraph cluster_5 {
color=blue
10 [label="Enter when branch condition else"];
11 [label="Exit when branch condition"];
}
12 [label="Enter when branch result"];
subgraph cluster_6 {
color=blue
13 [label="Enter block"];
14 [label="Const: Int(0)"];
15 [label="Exit block"];
}
16 [label="Exit when branch result"];
17 [label="Enter when branch result"];
subgraph cluster_7 {
color=blue
18 [label="Enter block"];
19 [label="Access variable R|kotlin/String.length|"];
20 [label="Exit block"];
}
21 [label="Exit when branch result"];
22 [label="Enter when branch result"];
subgraph cluster_8 {
color=blue
23 [label="Enter block"];
24 [label="Access variable this@R|/test_1|"];
25 [label="Access variable R|kotlin/collections/List.size|"];
26 [label="Exit block"];
}
27 [label="Exit when branch result"];
28 [label="Exit when"];
3 [label="Enter when branch condition "];
4 [label="Type operator: List<*>"];
5 [label="Exit when branch condition"];
}
29 [label="Jump: ^test_1 when (this@R|/test_1|) {
subgraph cluster_3 {
color=blue
6 [label="Enter when branch condition "];
7 [label="Type operator: String"];
8 [label="Exit when branch condition"];
}
subgraph cluster_4 {
color=blue
9 [label="Enter when branch condition else"];
10 [label="Exit when branch condition"];
}
11 [label="Enter when branch result"];
subgraph cluster_5 {
color=blue
12 [label="Enter block"];
13 [label="Const: Int(0)"];
14 [label="Exit block"];
}
15 [label="Exit when branch result"];
16 [label="Enter when branch result"];
subgraph cluster_6 {
color=blue
17 [label="Enter block"];
18 [label="Access variable R|kotlin/String.length|"];
19 [label="Exit block"];
}
20 [label="Exit when branch result"];
21 [label="Enter when branch result"];
subgraph cluster_7 {
color=blue
22 [label="Enter block"];
23 [label="Access variable this@R|/test_1|"];
24 [label="Access variable R|kotlin/collections/List.size|"];
25 [label="Exit block"];
}
26 [label="Exit when branch result"];
27 [label="Exit when"];
}
28 [label="Jump: ^test_1 when (this@R|/test_1|) {
($subj$ is R|kotlin/collections/List<*>|) -> {
this@R|/test_1|.R|kotlin/collections/List.size|
}
@@ -69,10 +66,8 @@ digraph implicitReceiverAsWhenSubject_kt {
}
}
"];
30 [label="Stub" style="filled" fillcolor=gray];
31 [label="Exit block" style="filled" fillcolor=gray];
}
32 [label="Exit function test_1" style="filled" fillcolor=red];
29 [label="Stub" style="filled" fillcolor=gray];
30 [label="Exit function test_1" style="filled" fillcolor=red];
}
0 -> {1};
@@ -80,95 +75,90 @@ digraph implicitReceiverAsWhenSubject_kt {
2 -> {3};
3 -> {4};
4 -> {5};
5 -> {6};
6 -> {22 7};
5 -> {21 6};
6 -> {7};
7 -> {8};
8 -> {9};
9 -> {17 10};
8 -> {16 9};
9 -> {10};
10 -> {11};
11 -> {12};
12 -> {13};
13 -> {14};
14 -> {15};
15 -> {16};
16 -> {28};
15 -> {27};
16 -> {17};
17 -> {18};
18 -> {19};
19 -> {20};
20 -> {21};
21 -> {28};
20 -> {27};
21 -> {22};
22 -> {23};
23 -> {24};
24 -> {25};
25 -> {26};
26 -> {27};
27 -> {28};
28 -> {29};
29 -> {32};
28 -> {30};
28 -> {29} [style=dotted];
29 -> {30} [style=dotted];
30 -> {31} [style=dotted];
31 -> {32} [style=dotted];
subgraph cluster_9 {
subgraph cluster_8 {
color=red
33 [label="Enter function test_2" style="filled" fillcolor=red];
subgraph cluster_10 {
31 [label="Enter function test_2" style="filled" fillcolor=red];
subgraph cluster_9 {
color=blue
34 [label="Enter block"];
32 [label="Enter when"];
33 [label="Access variable this@R|/test_2|"];
34 [label="Variable declaration: lval x: R|kotlin/Any|"];
subgraph cluster_10 {
color=blue
35 [label="Enter when branch condition "];
36 [label="Type operator: List<*>"];
37 [label="Exit when branch condition"];
}
subgraph cluster_11 {
color=blue
35 [label="Enter when"];
36 [label="Access variable this@R|/test_2|"];
37 [label="Variable declaration: lval x: R|kotlin/Any|"];
subgraph cluster_12 {
color=blue
38 [label="Enter when branch condition "];
39 [label="Type operator: List<*>"];
40 [label="Exit when branch condition"];
}
subgraph cluster_13 {
color=blue
41 [label="Enter when branch condition "];
42 [label="Type operator: String"];
43 [label="Exit when branch condition"];
}
subgraph cluster_14 {
color=blue
44 [label="Enter when branch condition else"];
45 [label="Exit when branch condition"];
}
46 [label="Enter when branch result"];
subgraph cluster_15 {
color=blue
47 [label="Enter block"];
48 [label="Const: Int(0)"];
49 [label="Exit block"];
}
50 [label="Exit when branch result"];
51 [label="Enter when branch result"];
subgraph cluster_16 {
color=blue
52 [label="Enter block"];
53 [label="Access variable R|<local>/x|"];
54 [label="Access variable R|kotlin/String.length|"];
55 [label="Access variable R|kotlin/String.length|"];
56 [label="Exit block"];
}
57 [label="Exit when branch result"];
58 [label="Enter when branch result"];
subgraph cluster_17 {
color=blue
59 [label="Enter block"];
60 [label="Access variable R|<local>/x|"];
61 [label="Access variable R|kotlin/collections/List.size|"];
62 [label="Access variable this@R|/test_2|"];
63 [label="Access variable R|kotlin/collections/List.size|"];
64 [label="Exit block"];
}
65 [label="Exit when branch result"];
66 [label="Exit when"];
38 [label="Enter when branch condition "];
39 [label="Type operator: String"];
40 [label="Exit when branch condition"];
}
67 [label="Jump: ^test_2 when (lval x: R|kotlin/Any| = this@R|/test_2|) {
subgraph cluster_12 {
color=blue
41 [label="Enter when branch condition else"];
42 [label="Exit when branch condition"];
}
43 [label="Enter when branch result"];
subgraph cluster_13 {
color=blue
44 [label="Enter block"];
45 [label="Const: Int(0)"];
46 [label="Exit block"];
}
47 [label="Exit when branch result"];
48 [label="Enter when branch result"];
subgraph cluster_14 {
color=blue
49 [label="Enter block"];
50 [label="Access variable R|<local>/x|"];
51 [label="Access variable R|kotlin/String.length|"];
52 [label="Access variable R|kotlin/String.length|"];
53 [label="Exit block"];
}
54 [label="Exit when branch result"];
55 [label="Enter when branch result"];
subgraph cluster_15 {
color=blue
56 [label="Enter block"];
57 [label="Access variable R|<local>/x|"];
58 [label="Access variable R|kotlin/collections/List.size|"];
59 [label="Access variable this@R|/test_2|"];
60 [label="Access variable R|kotlin/collections/List.size|"];
61 [label="Exit block"];
}
62 [label="Exit when branch result"];
63 [label="Exit when"];
}
64 [label="Jump: ^test_2 when (lval x: R|kotlin/Any| = this@R|/test_2|) {
($subj$ is R|kotlin/collections/List<*>|) -> {
R|<local>/x|.R|kotlin/collections/List.size|
this@R|/test_2|.R|kotlin/collections/List.size|
@@ -182,49 +172,45 @@ digraph implicitReceiverAsWhenSubject_kt {
}
}
"];
68 [label="Stub" style="filled" fillcolor=gray];
69 [label="Exit block" style="filled" fillcolor=gray];
}
70 [label="Exit function test_2" style="filled" fillcolor=red];
65 [label="Stub" style="filled" fillcolor=gray];
66 [label="Exit function test_2" style="filled" fillcolor=red];
}
31 -> {32};
32 -> {33};
33 -> {34};
34 -> {35};
35 -> {36};
36 -> {37};
37 -> {38};
37 -> {55 38};
38 -> {39};
39 -> {40};
40 -> {58 41};
40 -> {48 41};
41 -> {42};
42 -> {43};
43 -> {51 44};
43 -> {44};
44 -> {45};
45 -> {46};
46 -> {47};
47 -> {48};
47 -> {63};
48 -> {49};
49 -> {50};
50 -> {66};
50 -> {51};
51 -> {52};
52 -> {53};
53 -> {54};
54 -> {55};
54 -> {63};
55 -> {56};
56 -> {57};
57 -> {66};
57 -> {58};
58 -> {59};
59 -> {60};
60 -> {61};
61 -> {62};
62 -> {63};
63 -> {64};
64 -> {65};
65 -> {66};
66 -> {67};
67 -> {70};
67 -> {68} [style=dotted];
68 -> {69} [style=dotted];
69 -> {70} [style=dotted];
64 -> {66};
64 -> {65} [style=dotted];
65 -> {66} [style=dotted];
}
@@ -14,243 +14,199 @@ digraph implicitReceivers_kt {
subgraph cluster_1 {
color=red
2 [label="Enter function foo" style="filled" fillcolor=red];
subgraph cluster_2 {
color=blue
3 [label="Enter block"];
4 [label="Exit block"];
}
5 [label="Exit function foo" style="filled" fillcolor=red];
3 [label="Exit function foo" style="filled" fillcolor=red];
}
2 -> {3};
3 -> {4};
subgraph cluster_2 {
color=red
4 [label="Enter function with" style="filled" fillcolor=red];
5 [label="Exit function with" style="filled" fillcolor=red];
}
4 -> {5};
subgraph cluster_3 {
color=red
6 [label="Enter function with" style="filled" fillcolor=red];
6 [label="Enter function test_1" style="filled" fillcolor=red];
subgraph cluster_4 {
color=blue
7 [label="Enter block"];
8 [label="Exit block"];
7 [label="Enter when"];
subgraph cluster_5 {
color=blue
8 [label="Enter when branch condition "];
9 [label="Access variable this@R|/test_1|"];
10 [label="Type operator: this is A"];
11 [label="Exit when branch condition"];
}
subgraph cluster_6 {
color=blue
12 [label="Enter when branch condition else"];
13 [label="Exit when branch condition"];
}
14 [label="Enter when branch result"];
subgraph cluster_7 {
color=blue
15 [label="Enter block"];
16 [label="Access variable this@R|/test_1|"];
17 [label="Function call: this@R|/test_1|.<Unresolved name: foo>#()"];
18 [label="Function call: <Unresolved name: foo>#()"];
19 [label="Exit block"];
}
20 [label="Exit when branch result"];
21 [label="Enter when branch result"];
subgraph cluster_8 {
color=blue
22 [label="Enter block"];
23 [label="Access variable this@R|/test_1|"];
24 [label="Function call: this@R|/test_1|.R|/A.foo|()"];
25 [label="Function call: this@R|/A|.R|/A.foo|()"];
26 [label="Exit block"];
}
27 [label="Exit when branch result"];
28 [label="Exit when"];
}
9 [label="Exit function with" style="filled" fillcolor=red];
29 [label="Access variable this@R|/test_1|"];
30 [label="Function call: this@R|/test_1|.<Unresolved name: foo>#()"];
31 [label="Function call: <Unresolved name: foo>#()"];
32 [label="Exit function test_1" style="filled" fillcolor=red];
}
6 -> {7};
7 -> {8};
8 -> {9};
subgraph cluster_5 {
color=red
10 [label="Enter function test_1" style="filled" fillcolor=red];
subgraph cluster_6 {
color=blue
11 [label="Enter block"];
subgraph cluster_7 {
color=blue
12 [label="Enter when"];
subgraph cluster_8 {
color=blue
13 [label="Enter when branch condition "];
14 [label="Access variable this@R|/test_1|"];
15 [label="Type operator: this is A"];
16 [label="Exit when branch condition"];
}
subgraph cluster_9 {
color=blue
17 [label="Enter when branch condition else"];
18 [label="Exit when branch condition"];
}
19 [label="Enter when branch result"];
subgraph cluster_10 {
color=blue
20 [label="Enter block"];
21 [label="Access variable this@R|/test_1|"];
22 [label="Function call: this@R|/test_1|.<Unresolved name: foo>#()"];
23 [label="Function call: <Unresolved name: foo>#()"];
24 [label="Exit block"];
}
25 [label="Exit when branch result"];
26 [label="Enter when branch result"];
subgraph cluster_11 {
color=blue
27 [label="Enter block"];
28 [label="Access variable this@R|/test_1|"];
29 [label="Function call: this@R|/test_1|.R|/A.foo|()"];
30 [label="Function call: this@R|/A|.R|/A.foo|()"];
31 [label="Exit block"];
}
32 [label="Exit when branch result"];
33 [label="Exit when"];
}
34 [label="Access variable this@R|/test_1|"];
35 [label="Function call: this@R|/test_1|.<Unresolved name: foo>#()"];
36 [label="Function call: <Unresolved name: foo>#()"];
37 [label="Exit block"];
}
38 [label="Exit function test_1" style="filled" fillcolor=red];
}
9 -> {10};
10 -> {11};
11 -> {12};
11 -> {21 12};
12 -> {13};
13 -> {14};
14 -> {15};
15 -> {16};
16 -> {26 17};
16 -> {17};
17 -> {18};
18 -> {19};
19 -> {20};
20 -> {21};
20 -> {28};
21 -> {22};
22 -> {23};
23 -> {24};
24 -> {25};
25 -> {33};
25 -> {26};
26 -> {27};
27 -> {28};
28 -> {29};
29 -> {30};
30 -> {31};
31 -> {32};
32 -> {33};
subgraph cluster_9 {
color=red
33 [label="Enter function test_2" style="filled" fillcolor=red];
subgraph cluster_10 {
color=blue
34 [label="Enter when"];
subgraph cluster_11 {
color=blue
35 [label="Enter when branch condition "];
36 [label="Access variable this@R|/test_2|"];
37 [label="Type operator: this !is A"];
38 [label="Exit when branch condition"];
}
subgraph cluster_12 {
color=blue
39 [label="Enter when branch condition else"];
40 [label="Exit when branch condition"];
}
41 [label="Enter when branch result"];
subgraph cluster_13 {
color=blue
42 [label="Enter block"];
43 [label="Access variable this@R|/test_2|"];
44 [label="Function call: this@R|/test_2|.R|/A.foo|()"];
45 [label="Function call: this@R|/A|.R|/A.foo|()"];
46 [label="Exit block"];
}
47 [label="Exit when branch result"];
48 [label="Enter when branch result"];
subgraph cluster_14 {
color=blue
49 [label="Enter block"];
50 [label="Access variable this@R|/test_2|"];
51 [label="Function call: this@R|/test_2|.<Unresolved name: foo>#()"];
52 [label="Function call: <Unresolved name: foo>#()"];
53 [label="Exit block"];
}
54 [label="Exit when branch result"];
55 [label="Exit when"];
}
56 [label="Access variable this@R|/test_2|"];
57 [label="Function call: this@R|/test_2|.<Unresolved name: foo>#()"];
58 [label="Function call: <Unresolved name: foo>#()"];
59 [label="Exit function test_2" style="filled" fillcolor=red];
}
33 -> {34};
34 -> {35};
35 -> {36};
36 -> {37};
37 -> {38};
subgraph cluster_12 {
color=red
39 [label="Enter function test_2" style="filled" fillcolor=red];
subgraph cluster_13 {
color=blue
40 [label="Enter block"];
subgraph cluster_14 {
color=blue
41 [label="Enter when"];
subgraph cluster_15 {
color=blue
42 [label="Enter when branch condition "];
43 [label="Access variable this@R|/test_2|"];
44 [label="Type operator: this !is A"];
45 [label="Exit when branch condition"];
}
subgraph cluster_16 {
color=blue
46 [label="Enter when branch condition else"];
47 [label="Exit when branch condition"];
}
48 [label="Enter when branch result"];
subgraph cluster_17 {
color=blue
49 [label="Enter block"];
50 [label="Access variable this@R|/test_2|"];
51 [label="Function call: this@R|/test_2|.R|/A.foo|()"];
52 [label="Function call: this@R|/A|.R|/A.foo|()"];
53 [label="Exit block"];
}
54 [label="Exit when branch result"];
55 [label="Enter when branch result"];
subgraph cluster_18 {
color=blue
56 [label="Enter block"];
57 [label="Access variable this@R|/test_2|"];
58 [label="Function call: this@R|/test_2|.<Unresolved name: foo>#()"];
59 [label="Function call: <Unresolved name: foo>#()"];
60 [label="Exit block"];
}
61 [label="Exit when branch result"];
62 [label="Exit when"];
}
63 [label="Access variable this@R|/test_2|"];
64 [label="Function call: this@R|/test_2|.<Unresolved name: foo>#()"];
65 [label="Function call: <Unresolved name: foo>#()"];
66 [label="Exit block"];
}
67 [label="Exit function test_2" style="filled" fillcolor=red];
}
38 -> {48 39};
39 -> {40};
40 -> {41};
41 -> {42};
42 -> {43};
43 -> {44};
44 -> {45};
45 -> {55 46};
45 -> {46};
46 -> {47};
47 -> {48};
47 -> {55};
48 -> {49};
49 -> {50};
50 -> {51};
51 -> {52};
52 -> {53};
53 -> {54};
54 -> {62};
54 -> {55};
55 -> {56};
56 -> {57};
57 -> {58};
58 -> {59};
59 -> {60};
60 -> {61};
61 -> {62};
62 -> {63};
63 -> {64};
64 -> {65};
65 -> {66};
66 -> {67};
subgraph cluster_19 {
subgraph cluster_15 {
color=red
68 [label="Enter function test_3" style="filled" fillcolor=red];
subgraph cluster_20 {
60 [label="Enter function test_3" style="filled" fillcolor=red];
61 [label="Access variable R|<local>/a|"];
subgraph cluster_16 {
color=blue
69 [label="Enter block"];
70 [label="Access variable R|<local>/a|"];
subgraph cluster_21 {
62 [label="Enter function anonymousFunction"];
63 [label="Access variable R|<local>/b|"];
subgraph cluster_17 {
color=blue
71 [label="Enter function anonymousFunction"];
subgraph cluster_22 {
64 [label="Enter function anonymousFunction"];
65 [label="Access variable R|<local>/c|"];
subgraph cluster_18 {
color=blue
72 [label="Enter block"];
73 [label="Access variable R|<local>/b|"];
subgraph cluster_23 {
color=blue
74 [label="Enter function anonymousFunction"];
subgraph cluster_24 {
color=blue
75 [label="Enter block"];
76 [label="Access variable R|<local>/c|"];
subgraph cluster_25 {
color=blue
77 [label="Enter function anonymousFunction"];
subgraph cluster_26 {
color=blue
78 [label="Enter block"];
79 [label="Access variable this@R|special/anonymous|"];
80 [label="Type operator: this@wb as A"];
81 [label="Access variable this@R|special/anonymous|"];
82 [label="Function call: this@R|special/anonymous|.R|/A.foo|()"];
83 [label="Function call: this@R|/A|.R|/A.foo|()"];
84 [label="Exit block"];
}
85 [label="Exit function anonymousFunction"];
}
86 [label="Function call: R|kotlin/with|<R|kotlin/Any|, R|kotlin/Unit|>(R|<local>/c|, <L> = wc@fun R|kotlin/Any|.<anonymous>(): R|kotlin/Unit| <kind=EXACTLY_ONCE> {
66 [label="Enter function anonymousFunction"];
67 [label="Access variable this@R|special/anonymous|"];
68 [label="Type operator: this@wb as A"];
69 [label="Access variable this@R|special/anonymous|"];
70 [label="Function call: this@R|special/anonymous|.R|/A.foo|()"];
71 [label="Function call: this@R|/A|.R|/A.foo|()"];
72 [label="Exit function anonymousFunction"];
}
73 [label="Function call: R|kotlin/with|<R|kotlin/Any|, R|kotlin/Unit|>(R|<local>/c|, <L> = wc@fun R|kotlin/Any|.<anonymous>(): R|kotlin/Unit| <kind=EXACTLY_ONCE> {
(this@R|special/anonymous| as R|A|)
this@R|special/anonymous|.R|/A.foo|()
this@R|/A|.R|/A.foo|()
}
)"];
87 [label="Access variable this@R|special/anonymous|"];
88 [label="Function call: this@R|special/anonymous|.R|/A.foo|()"];
89 [label="Function call: this@R|/A|.R|/A.foo|()"];
90 [label="Exit block"];
}
91 [label="Exit function anonymousFunction"];
}
92 [label="Function call: R|kotlin/with|<R|kotlin/Any|, R|kotlin/Unit|>(R|<local>/b|, <L> = wb@fun R|kotlin/Any|.<anonymous>(): R|kotlin/Unit| <kind=EXACTLY_ONCE> {
74 [label="Access variable this@R|special/anonymous|"];
75 [label="Function call: this@R|special/anonymous|.R|/A.foo|()"];
76 [label="Function call: this@R|/A|.R|/A.foo|()"];
77 [label="Exit function anonymousFunction"];
}
78 [label="Function call: R|kotlin/with|<R|kotlin/Any|, R|kotlin/Unit|>(R|<local>/b|, <L> = wb@fun R|kotlin/Any|.<anonymous>(): R|kotlin/Unit| <kind=EXACTLY_ONCE> {
R|kotlin/with|<R|kotlin/Any|, R|kotlin/Unit|>(R|<local>/c|, <L> = wc@fun R|kotlin/Any|.<anonymous>(): R|kotlin/Unit| <kind=EXACTLY_ONCE> {
(this@R|special/anonymous| as R|A|)
this@R|special/anonymous|.R|/A.foo|()
@@ -261,11 +217,9 @@ digraph implicitReceivers_kt {
this@R|/A|.R|/A.foo|()
}
)"];
93 [label="Exit block"];
}
94 [label="Exit function anonymousFunction"];
}
95 [label="Function call: R|kotlin/with|<R|kotlin/Any|, R|kotlin/Unit|>(R|<local>/a|, <L> = wa@fun R|kotlin/Any|.<anonymous>(): R|kotlin/Unit| <kind=EXACTLY_ONCE> {
79 [label="Exit function anonymousFunction"];
}
80 [label="Function call: R|kotlin/with|<R|kotlin/Any|, R|kotlin/Unit|>(R|<local>/a|, <L> = wa@fun R|kotlin/Any|.<anonymous>(): R|kotlin/Unit| <kind=EXACTLY_ONCE> {
R|kotlin/with|<R|kotlin/Any|, R|kotlin/Unit|>(R|<local>/b|, <L> = wb@fun R|kotlin/Any|.<anonymous>(): R|kotlin/Unit| <kind=EXACTLY_ONCE> {
R|kotlin/with|<R|kotlin/Any|, R|kotlin/Unit|>(R|<local>/c|, <L> = wc@fun R|kotlin/Any|.<anonymous>(): R|kotlin/Unit| <kind=EXACTLY_ONCE> {
(this@R|special/anonymous| as R|A|)
@@ -279,11 +233,17 @@ digraph implicitReceivers_kt {
)
}
)"];
96 [label="Exit block"];
}
97 [label="Exit function test_3" style="filled" fillcolor=red];
81 [label="Exit function test_3" style="filled" fillcolor=red];
}
60 -> {61};
61 -> {62};
62 -> {63};
63 -> {64};
64 -> {65};
65 -> {66};
66 -> {67};
67 -> {68};
68 -> {69};
69 -> {70};
70 -> {71};
@@ -297,21 +257,5 @@ digraph implicitReceivers_kt {
78 -> {79};
79 -> {80};
80 -> {81};
81 -> {82};
82 -> {83};
83 -> {84};
84 -> {85};
85 -> {86};
86 -> {87};
87 -> {88};
88 -> {89};
89 -> {90};
90 -> {91};
91 -> {92};
92 -> {93};
93 -> {94};
94 -> {95};
95 -> {96};
96 -> {97};
}
@@ -22,207 +22,158 @@ digraph inPlaceLambdas_kt {
subgraph cluster_2 {
color=red
4 [label="Enter function run" style="filled" fillcolor=red];
subgraph cluster_3 {
color=blue
5 [label="Enter block"];
6 [label="Function call: R|<local>/block|.R|FakeOverride<kotlin/Function0.invoke: R|kotlin/Unit|>|()"];
7 [label="Exit block"];
}
8 [label="Exit function run" style="filled" fillcolor=red];
5 [label="Function call: R|<local>/block|.R|FakeOverride<kotlin/Function0.invoke: R|kotlin/Unit|>|()"];
6 [label="Exit function run" style="filled" fillcolor=red];
}
4 -> {5};
5 -> {6};
6 -> {7};
7 -> {8};
subgraph cluster_4 {
subgraph cluster_3 {
color=red
9 [label="Enter function test_1" style="filled" fillcolor=red];
subgraph cluster_5 {
7 [label="Enter function test_1" style="filled" fillcolor=red];
subgraph cluster_4 {
color=blue
10 [label="Enter block"];
8 [label="Enter when"];
subgraph cluster_5 {
color=blue
9 [label="Enter when branch condition "];
10 [label="Access variable R|<local>/x|"];
11 [label="Type operator: x is A"];
12 [label="Exit when branch condition"];
}
13 [label="Synthetic else branch"];
14 [label="Enter when branch result"];
subgraph cluster_6 {
color=blue
11 [label="Enter when"];
15 [label="Enter block"];
subgraph cluster_7 {
color=blue
12 [label="Enter when branch condition "];
13 [label="Access variable R|<local>/x|"];
14 [label="Type operator: x is A"];
15 [label="Exit when branch condition"];
16 [label="Enter function anonymousFunction"];
17 [label="Access variable R|<local>/x|"];
18 [label="Function call: R|<local>/x|.R|/A.foo|()"];
19 [label="Exit function anonymousFunction"];
}
16 [label="Synthetic else branch"];
17 [label="Enter when branch result"];
subgraph cluster_8 {
color=blue
18 [label="Enter block"];
subgraph cluster_9 {
color=blue
19 [label="Enter function anonymousFunction"];
subgraph cluster_10 {
color=blue
20 [label="Enter block"];
21 [label="Access variable R|<local>/x|"];
22 [label="Function call: R|<local>/x|.R|/A.foo|()"];
23 [label="Exit block"];
}
24 [label="Exit function anonymousFunction"];
}
25 [label="Function call: R|/run|(<L> = run@fun <anonymous>(): R|kotlin/Unit| <kind=UNKNOWN> {
20 [label="Function call: R|/run|(<L> = run@fun <anonymous>(): R|kotlin/Unit| <kind=UNKNOWN> {
R|<local>/x|.R|/A.foo|()
}
)"];
26 [label="Exit block"];
}
27 [label="Exit when branch result"];
28 [label="Exit when"];
21 [label="Exit block"];
}
29 [label="Exit block"];
22 [label="Exit when branch result"];
23 [label="Exit when"];
}
30 [label="Exit function test_1" style="filled" fillcolor=red];
24 [label="Exit function test_1" style="filled" fillcolor=red];
}
7 -> {8};
8 -> {9};
9 -> {10};
10 -> {11};
11 -> {12};
12 -> {13};
13 -> {14};
12 -> {14 13};
13 -> {23};
14 -> {15};
15 -> {17 16};
16 -> {28};
15 -> {16};
16 -> {19 17};
17 -> {18};
18 -> {19};
19 -> {24 20};
19 -> {16 20};
20 -> {21};
21 -> {22};
22 -> {23};
23 -> {24};
24 -> {19 25};
25 -> {26};
26 -> {27};
27 -> {28};
28 -> {29};
29 -> {30};
subgraph cluster_11 {
subgraph cluster_8 {
color=red
31 [label="Enter function test_2" style="filled" fillcolor=red];
subgraph cluster_12 {
25 [label="Enter function test_2" style="filled" fillcolor=red];
subgraph cluster_9 {
color=blue
32 [label="Enter block"];
subgraph cluster_13 {
color=blue
33 [label="Enter function anonymousFunction"];
subgraph cluster_14 {
color=blue
34 [label="Enter block"];
35 [label="Access variable R|<local>/x|"];
36 [label="Type operator: x as B"];
37 [label="Exit block"];
}
38 [label="Exit function anonymousFunction"];
}
39 [label="Function call: R|/run|(<L> = run@fun <anonymous>(): R|kotlin/Unit| <kind=UNKNOWN> {
26 [label="Enter function anonymousFunction"];
27 [label="Access variable R|<local>/x|"];
28 [label="Type operator: x as B"];
29 [label="Exit function anonymousFunction"];
}
30 [label="Function call: R|/run|(<L> = run@fun <anonymous>(): R|kotlin/Unit| <kind=UNKNOWN> {
(R|<local>/x| as R|B|)
}
)"];
40 [label="Access variable R|<local>/x|"];
41 [label="Function call: R|<local>/x|.R|/B.bar|()"];
42 [label="Exit block"];
}
43 [label="Exit function test_2" style="filled" fillcolor=red];
31 [label="Access variable R|<local>/x|"];
32 [label="Function call: R|<local>/x|.R|/B.bar|()"];
33 [label="Exit function test_2" style="filled" fillcolor=red];
}
25 -> {26};
26 -> {29 27};
27 -> {28};
28 -> {29};
29 -> {26 30};
30 -> {31};
31 -> {32};
32 -> {33};
33 -> {38 34};
34 -> {35};
35 -> {36};
36 -> {37};
37 -> {38};
38 -> {33 39};
39 -> {40};
40 -> {41};
41 -> {42};
42 -> {43};
subgraph cluster_15 {
subgraph cluster_10 {
color=red
44 [label="Enter function test_3" style="filled" fillcolor=red];
subgraph cluster_16 {
34 [label="Enter function test_3" style="filled" fillcolor=red];
subgraph cluster_11 {
color=blue
45 [label="Enter block"];
subgraph cluster_17 {
35 [label="Enter when"];
subgraph cluster_12 {
color=blue
46 [label="Enter when"];
subgraph cluster_18 {
36 [label="Enter when branch condition "];
37 [label="Access variable R|<local>/x|"];
38 [label="Type operator: x is A"];
39 [label="Exit when branch condition"];
}
40 [label="Synthetic else branch"];
41 [label="Enter when branch result"];
subgraph cluster_13 {
color=blue
42 [label="Enter block"];
subgraph cluster_14 {
color=blue
47 [label="Enter when branch condition "];
48 [label="Access variable R|<local>/x|"];
49 [label="Type operator: x is A"];
50 [label="Exit when branch condition"];
43 [label="Enter function anonymousFunction"];
44 [label="Access variable R|<local>/x|"];
45 [label="Function call: R|<local>/x|.R|/A.foo|()"];
46 [label="Access variable R|<local>/x|"];
47 [label="Type operator: x as B"];
48 [label="Exit function anonymousFunction"];
}
51 [label="Synthetic else branch"];
52 [label="Enter when branch result"];
subgraph cluster_19 {
color=blue
53 [label="Enter block"];
subgraph cluster_20 {
color=blue
54 [label="Enter function anonymousFunction"];
subgraph cluster_21 {
color=blue
55 [label="Enter block"];
56 [label="Access variable R|<local>/x|"];
57 [label="Function call: R|<local>/x|.R|/A.foo|()"];
58 [label="Access variable R|<local>/x|"];
59 [label="Type operator: x as B"];
60 [label="Exit block"];
}
61 [label="Exit function anonymousFunction"];
}
62 [label="Function call: R|/run|(<L> = run@fun <anonymous>(): R|kotlin/Unit| <kind=UNKNOWN> {
49 [label="Function call: R|/run|(<L> = run@fun <anonymous>(): R|kotlin/Unit| <kind=UNKNOWN> {
R|<local>/x|.R|/A.foo|()
(R|<local>/x| as R|B|)
}
)"];
63 [label="Access variable R|<local>/x|"];
64 [label="Function call: R|<local>/x|.R|/B.bar|()"];
65 [label="Exit block"];
}
66 [label="Exit when branch result"];
67 [label="Exit when"];
50 [label="Access variable R|<local>/x|"];
51 [label="Function call: R|<local>/x|.R|/B.bar|()"];
52 [label="Exit block"];
}
68 [label="Exit block"];
53 [label="Exit when branch result"];
54 [label="Exit when"];
}
69 [label="Exit function test_3" style="filled" fillcolor=red];
55 [label="Exit function test_3" style="filled" fillcolor=red];
}
34 -> {35};
35 -> {36};
36 -> {37};
37 -> {38};
38 -> {39};
39 -> {41 40};
40 -> {54};
41 -> {42};
42 -> {43};
43 -> {48 44};
44 -> {45};
45 -> {46};
46 -> {47};
47 -> {48};
48 -> {49};
48 -> {43 49};
49 -> {50};
50 -> {52 51};
51 -> {67};
50 -> {51};
51 -> {52};
52 -> {53};
53 -> {54};
54 -> {61 55};
55 -> {56};
56 -> {57};
57 -> {58};
58 -> {59};
59 -> {60};
60 -> {61};
61 -> {54 62};
62 -> {63};
63 -> {64};
64 -> {65};
65 -> {66};
66 -> {67};
67 -> {68};
68 -> {69};
54 -> {55};
}
File diff suppressed because it is too large Load Diff
+230 -258
View File
@@ -8,45 +8,40 @@ digraph returns_kt {
0 [label="Enter function test_0" style="filled" fillcolor=red];
subgraph cluster_1 {
color=blue
1 [label="Enter block"];
1 [label="Enter when"];
subgraph cluster_2 {
color=blue
2 [label="Enter when"];
subgraph cluster_3 {
color=blue
3 [label="Enter when branch condition "];
4 [label="Access variable R|<local>/x|"];
5 [label="Type operator: x is String"];
6 [label="Exit when branch condition"];
}
subgraph cluster_4 {
color=blue
7 [label="Enter when branch condition else"];
8 [label="Exit when branch condition"];
}
9 [label="Enter when branch result"];
subgraph cluster_5 {
color=blue
10 [label="Enter block"];
11 [label="Exit block"];
}
12 [label="Exit when branch result"];
13 [label="Enter when branch result"];
subgraph cluster_6 {
color=blue
14 [label="Enter block"];
15 [label="Access variable R|<local>/x|"];
16 [label="Access variable R|kotlin/String.length|"];
17 [label="Exit block"];
}
18 [label="Exit when branch result"];
19 [label="Exit when"];
2 [label="Enter when branch condition "];
3 [label="Access variable R|<local>/x|"];
4 [label="Type operator: x is String"];
5 [label="Exit when branch condition"];
}
20 [label="Access variable R|<local>/x|"];
21 [label="Access variable <Unresolved name: length>#"];
22 [label="Exit block"];
subgraph cluster_3 {
color=blue
6 [label="Enter when branch condition else"];
7 [label="Exit when branch condition"];
}
8 [label="Enter when branch result"];
subgraph cluster_4 {
color=blue
9 [label="Enter block"];
10 [label="Exit block"];
}
11 [label="Exit when branch result"];
12 [label="Enter when branch result"];
subgraph cluster_5 {
color=blue
13 [label="Enter block"];
14 [label="Access variable R|<local>/x|"];
15 [label="Access variable R|kotlin/String.length|"];
16 [label="Exit block"];
}
17 [label="Exit when branch result"];
18 [label="Exit when"];
}
23 [label="Exit function test_0" style="filled" fillcolor=red];
19 [label="Access variable R|<local>/x|"];
20 [label="Access variable <Unresolved name: length>#"];
21 [label="Exit function test_0" style="filled" fillcolor=red];
}
0 -> {1};
@@ -54,14 +49,14 @@ digraph returns_kt {
2 -> {3};
3 -> {4};
4 -> {5};
5 -> {6};
6 -> {13 7};
5 -> {12 6};
6 -> {7};
7 -> {8};
8 -> {9};
9 -> {10};
10 -> {11};
11 -> {12};
12 -> {19};
11 -> {18};
12 -> {13};
13 -> {14};
14 -> {15};
15 -> {16};
@@ -70,202 +65,192 @@ digraph returns_kt {
18 -> {19};
19 -> {20};
20 -> {21};
21 -> {22};
22 -> {23};
subgraph cluster_7 {
subgraph cluster_6 {
color=red
24 [label="Enter function test_1" style="filled" fillcolor=red];
subgraph cluster_8 {
22 [label="Enter function test_1" style="filled" fillcolor=red];
subgraph cluster_7 {
color=blue
25 [label="Enter block"];
23 [label="Enter when"];
subgraph cluster_8 {
color=blue
24 [label="Enter when branch condition "];
25 [label="Access variable R|<local>/x|"];
26 [label="Type operator: x is String"];
27 [label="Exit when branch condition"];
}
subgraph cluster_9 {
color=blue
26 [label="Enter when"];
subgraph cluster_10 {
color=blue
27 [label="Enter when branch condition "];
28 [label="Access variable R|<local>/x|"];
29 [label="Type operator: x is String"];
30 [label="Exit when branch condition"];
}
subgraph cluster_11 {
color=blue
31 [label="Enter when branch condition else"];
32 [label="Exit when branch condition"];
}
33 [label="Enter when branch result"];
subgraph cluster_12 {
color=blue
34 [label="Enter block"];
35 [label="Jump: ^test_1 Unit"];
36 [label="Stub" style="filled" fillcolor=gray];
37 [label="Exit block" style="filled" fillcolor=gray];
}
38 [label="Exit when branch result" style="filled" fillcolor=gray];
39 [label="Enter when branch result"];
subgraph cluster_13 {
color=blue
40 [label="Enter block"];
41 [label="Access variable R|<local>/x|"];
42 [label="Access variable R|kotlin/String.length|"];
43 [label="Exit block"];
}
44 [label="Exit when branch result"];
45 [label="Exit when"];
28 [label="Enter when branch condition else"];
29 [label="Exit when branch condition"];
}
46 [label="Access variable R|<local>/x|"];
47 [label="Access variable R|kotlin/String.length|"];
48 [label="Exit block"];
30 [label="Enter when branch result"];
subgraph cluster_10 {
color=blue
31 [label="Enter block"];
32 [label="Jump: ^test_1 Unit"];
33 [label="Stub" style="filled" fillcolor=gray];
34 [label="Exit block" style="filled" fillcolor=gray];
}
35 [label="Exit when branch result" style="filled" fillcolor=gray];
36 [label="Enter when branch result"];
subgraph cluster_11 {
color=blue
37 [label="Enter block"];
38 [label="Access variable R|<local>/x|"];
39 [label="Access variable R|kotlin/String.length|"];
40 [label="Exit block"];
}
41 [label="Exit when branch result"];
42 [label="Exit when"];
}
49 [label="Exit function test_1" style="filled" fillcolor=red];
43 [label="Access variable R|<local>/x|"];
44 [label="Access variable R|kotlin/String.length|"];
45 [label="Exit function test_1" style="filled" fillcolor=red];
}
22 -> {23};
23 -> {24};
24 -> {25};
25 -> {26};
26 -> {27};
27 -> {28};
27 -> {36 28};
28 -> {29};
29 -> {30};
30 -> {39 31};
30 -> {31};
31 -> {32};
32 -> {33};
33 -> {34};
34 -> {35};
35 -> {49};
35 -> {36} [style=dotted];
36 -> {37} [style=dotted];
37 -> {38} [style=dotted];
38 -> {45} [style=dotted];
32 -> {45};
32 -> {33} [style=dotted];
33 -> {34} [style=dotted];
34 -> {35} [style=dotted];
35 -> {42} [style=dotted];
36 -> {37};
37 -> {38};
38 -> {39};
39 -> {40};
40 -> {41};
41 -> {42};
42 -> {43};
43 -> {44};
44 -> {45};
45 -> {46};
subgraph cluster_12 {
color=red
46 [label="Enter function foo" style="filled" fillcolor=red];
47 [label="Exit function foo" style="filled" fillcolor=red];
}
46 -> {47};
47 -> {48};
subgraph cluster_13 {
color=red
48 [label="Enter function bar" style="filled" fillcolor=red];
49 [label="Exit function bar" style="filled" fillcolor=red];
}
48 -> {49};
subgraph cluster_14 {
color=red
50 [label="Enter function foo" style="filled" fillcolor=red];
51 [label="Exit function foo" style="filled" fillcolor=red];
50 [label="Enter function baz" style="filled" fillcolor=red];
51 [label="Exit function baz" style="filled" fillcolor=red];
}
50 -> {51};
subgraph cluster_15 {
color=red
52 [label="Enter function bar" style="filled" fillcolor=red];
53 [label="Exit function bar" style="filled" fillcolor=red];
52 [label="Enter function test_2" style="filled" fillcolor=red];
subgraph cluster_16 {
color=blue
53 [label="Enter when"];
subgraph cluster_17 {
color=blue
54 [label="Enter when branch condition "];
55 [label="Access variable R|<local>/x|"];
56 [label="Type operator: x is B"];
57 [label="Exit when branch condition"];
}
subgraph cluster_18 {
color=blue
58 [label="Enter when branch condition "];
59 [label="Access variable R|<local>/x|"];
60 [label="Type operator: x is C"];
61 [label="Exit when branch condition"];
}
subgraph cluster_19 {
color=blue
62 [label="Enter when branch condition else"];
63 [label="Exit when branch condition"];
}
64 [label="Enter when branch result"];
subgraph cluster_20 {
color=blue
65 [label="Enter block"];
66 [label="Jump: ^test_2 Unit"];
67 [label="Stub" style="filled" fillcolor=gray];
68 [label="Exit block" style="filled" fillcolor=gray];
}
69 [label="Exit when branch result" style="filled" fillcolor=gray];
70 [label="Enter when branch result"];
subgraph cluster_21 {
color=blue
71 [label="Enter block"];
72 [label="Access variable R|<local>/x|"];
73 [label="Function call: R|<local>/x|.R|/C.baz|()"];
74 [label="Exit block"];
}
75 [label="Exit when branch result"];
76 [label="Enter when branch result"];
subgraph cluster_22 {
color=blue
77 [label="Enter block"];
78 [label="Access variable R|<local>/x|"];
79 [label="Function call: R|<local>/x|.R|/B.bar|()"];
80 [label="Exit block"];
}
81 [label="Exit when branch result"];
82 [label="Exit when"];
}
83 [label="Access variable R|<local>/x|"];
84 [label="Function call: R|<local>/x|.R|/A.foo|()"];
85 [label="Access variable R|<local>/x|"];
86 [label="Function call: R|<local>/x|.<Unresolved name: bar>#()"];
87 [label="Access variable R|<local>/x|"];
88 [label="Function call: R|<local>/x|.<Unresolved name: baz>#()"];
89 [label="Exit function test_2" style="filled" fillcolor=red];
}
52 -> {53};
subgraph cluster_16 {
color=red
54 [label="Enter function baz" style="filled" fillcolor=red];
55 [label="Exit function baz" style="filled" fillcolor=red];
}
53 -> {54};
54 -> {55};
subgraph cluster_17 {
color=red
56 [label="Enter function test_2" style="filled" fillcolor=red];
subgraph cluster_18 {
color=blue
57 [label="Enter block"];
subgraph cluster_19 {
color=blue
58 [label="Enter when"];
subgraph cluster_20 {
color=blue
59 [label="Enter when branch condition "];
60 [label="Access variable R|<local>/x|"];
61 [label="Type operator: x is B"];
62 [label="Exit when branch condition"];
}
subgraph cluster_21 {
color=blue
63 [label="Enter when branch condition "];
64 [label="Access variable R|<local>/x|"];
65 [label="Type operator: x is C"];
66 [label="Exit when branch condition"];
}
subgraph cluster_22 {
color=blue
67 [label="Enter when branch condition else"];
68 [label="Exit when branch condition"];
}
69 [label="Enter when branch result"];
subgraph cluster_23 {
color=blue
70 [label="Enter block"];
71 [label="Jump: ^test_2 Unit"];
72 [label="Stub" style="filled" fillcolor=gray];
73 [label="Exit block" style="filled" fillcolor=gray];
}
74 [label="Exit when branch result" style="filled" fillcolor=gray];
75 [label="Enter when branch result"];
subgraph cluster_24 {
color=blue
76 [label="Enter block"];
77 [label="Access variable R|<local>/x|"];
78 [label="Function call: R|<local>/x|.R|/C.baz|()"];
79 [label="Exit block"];
}
80 [label="Exit when branch result"];
81 [label="Enter when branch result"];
subgraph cluster_25 {
color=blue
82 [label="Enter block"];
83 [label="Access variable R|<local>/x|"];
84 [label="Function call: R|<local>/x|.R|/B.bar|()"];
85 [label="Exit block"];
}
86 [label="Exit when branch result"];
87 [label="Exit when"];
}
88 [label="Access variable R|<local>/x|"];
89 [label="Function call: R|<local>/x|.R|/A.foo|()"];
90 [label="Access variable R|<local>/x|"];
91 [label="Function call: R|<local>/x|.<Unresolved name: bar>#()"];
92 [label="Access variable R|<local>/x|"];
93 [label="Function call: R|<local>/x|.<Unresolved name: baz>#()"];
94 [label="Exit block"];
}
95 [label="Exit function test_2" style="filled" fillcolor=red];
}
55 -> {56};
56 -> {57};
57 -> {58};
57 -> {76 58};
58 -> {59};
59 -> {60};
60 -> {61};
61 -> {62};
62 -> {81 63};
61 -> {70 62};
62 -> {63};
63 -> {64};
64 -> {65};
65 -> {66};
66 -> {75 67};
67 -> {68};
68 -> {69};
69 -> {70};
66 -> {89};
66 -> {67} [style=dotted];
67 -> {68} [style=dotted];
68 -> {69} [style=dotted];
69 -> {82} [style=dotted];
70 -> {71};
71 -> {95};
71 -> {72} [style=dotted];
72 -> {73} [style=dotted];
73 -> {74} [style=dotted];
74 -> {87} [style=dotted];
75 -> {76};
71 -> {72};
72 -> {73};
73 -> {74};
74 -> {75};
75 -> {82};
76 -> {77};
77 -> {78};
78 -> {79};
79 -> {80};
80 -> {87};
80 -> {81};
81 -> {82};
82 -> {83};
83 -> {84};
@@ -274,99 +259,86 @@ digraph returns_kt {
86 -> {87};
87 -> {88};
88 -> {89};
89 -> {90};
subgraph cluster_23 {
color=red
90 [label="Enter function test_3" style="filled" fillcolor=red];
subgraph cluster_24 {
color=blue
91 [label="Enter when"];
subgraph cluster_25 {
color=blue
92 [label="Enter when branch condition "];
93 [label="Access variable R|<local>/x|"];
94 [label="Type operator: x is B"];
95 [label="Exit when branch condition"];
}
subgraph cluster_26 {
color=blue
96 [label="Enter when branch condition "];
97 [label="Access variable R|<local>/x|"];
98 [label="Type operator: x is C"];
99 [label="Exit when branch condition"];
}
100 [label="Synthetic else branch"];
101 [label="Enter when branch result"];
subgraph cluster_27 {
color=blue
102 [label="Enter block"];
103 [label="Access variable R|<local>/x|"];
104 [label="Function call: R|<local>/x|.R|/C.baz|()"];
105 [label="Exit block"];
}
106 [label="Exit when branch result"];
107 [label="Enter when branch result"];
subgraph cluster_28 {
color=blue
108 [label="Enter block"];
109 [label="Access variable R|<local>/x|"];
110 [label="Function call: R|<local>/x|.R|/B.bar|()"];
111 [label="Exit block"];
}
112 [label="Exit when branch result"];
113 [label="Exit when"];
}
114 [label="Access variable R|<local>/x|"];
115 [label="Function call: R|<local>/x|.<Unresolved name: foo>#()"];
116 [label="Access variable R|<local>/x|"];
117 [label="Function call: R|<local>/x|.<Unresolved name: bar>#()"];
118 [label="Access variable R|<local>/x|"];
119 [label="Function call: R|<local>/x|.<Unresolved name: baz>#()"];
120 [label="Exit function test_3" style="filled" fillcolor=red];
}
90 -> {91};
91 -> {92};
92 -> {93};
93 -> {94};
94 -> {95};
subgraph cluster_26 {
color=red
96 [label="Enter function test_3" style="filled" fillcolor=red];
subgraph cluster_27 {
color=blue
97 [label="Enter block"];
subgraph cluster_28 {
color=blue
98 [label="Enter when"];
subgraph cluster_29 {
color=blue
99 [label="Enter when branch condition "];
100 [label="Access variable R|<local>/x|"];
101 [label="Type operator: x is B"];
102 [label="Exit when branch condition"];
}
subgraph cluster_30 {
color=blue
103 [label="Enter when branch condition "];
104 [label="Access variable R|<local>/x|"];
105 [label="Type operator: x is C"];
106 [label="Exit when branch condition"];
}
107 [label="Synthetic else branch"];
108 [label="Enter when branch result"];
subgraph cluster_31 {
color=blue
109 [label="Enter block"];
110 [label="Access variable R|<local>/x|"];
111 [label="Function call: R|<local>/x|.R|/C.baz|()"];
112 [label="Exit block"];
}
113 [label="Exit when branch result"];
114 [label="Enter when branch result"];
subgraph cluster_32 {
color=blue
115 [label="Enter block"];
116 [label="Access variable R|<local>/x|"];
117 [label="Function call: R|<local>/x|.R|/B.bar|()"];
118 [label="Exit block"];
}
119 [label="Exit when branch result"];
120 [label="Exit when"];
}
121 [label="Access variable R|<local>/x|"];
122 [label="Function call: R|<local>/x|.<Unresolved name: foo>#()"];
123 [label="Access variable R|<local>/x|"];
124 [label="Function call: R|<local>/x|.<Unresolved name: bar>#()"];
125 [label="Access variable R|<local>/x|"];
126 [label="Function call: R|<local>/x|.<Unresolved name: baz>#()"];
127 [label="Exit block"];
}
128 [label="Exit function test_3" style="filled" fillcolor=red];
}
95 -> {107 96};
96 -> {97};
97 -> {98};
98 -> {99};
99 -> {100};
100 -> {101};
99 -> {101 100};
100 -> {113};
101 -> {102};
102 -> {114 103};
102 -> {103};
103 -> {104};
104 -> {105};
105 -> {106};
106 -> {108 107};
107 -> {120};
106 -> {113};
107 -> {108};
108 -> {109};
109 -> {110};
110 -> {111};
111 -> {112};
112 -> {113};
113 -> {120};
113 -> {114};
114 -> {115};
115 -> {116};
116 -> {117};
117 -> {118};
118 -> {119};
119 -> {120};
120 -> {121};
121 -> {122};
122 -> {123};
123 -> {124};
124 -> {125};
125 -> {126};
126 -> {127};
127 -> {128};
}
+164 -227
View File
@@ -6,296 +6,233 @@ digraph safeCalls_kt {
subgraph cluster_0 {
color=red
0 [label="Enter function foo" style="filled" fillcolor=red];
subgraph cluster_1 {
color=blue
1 [label="Enter block"];
2 [label="Const: String()"];
3 [label="Jump: ^foo String()"];
4 [label="Stub" style="filled" fillcolor=gray];
5 [label="Exit block" style="filled" fillcolor=gray];
}
6 [label="Exit function foo" style="filled" fillcolor=red];
1 [label="Const: String()"];
2 [label="Jump: ^foo String()"];
3 [label="Stub" style="filled" fillcolor=gray];
4 [label="Exit function foo" style="filled" fillcolor=red];
}
0 -> {1};
1 -> {2};
2 -> {3};
3 -> {6};
2 -> {4};
2 -> {3} [style=dotted];
3 -> {4} [style=dotted];
4 -> {5} [style=dotted];
5 -> {6} [style=dotted];
subgraph cluster_1 {
color=red
5 [label="Enter function let" style="filled" fillcolor=red];
6 [label="Exit function let" style="filled" fillcolor=red];
}
5 -> {6};
subgraph cluster_2 {
color=red
7 [label="Enter function let" style="filled" fillcolor=red];
subgraph cluster_3 {
color=blue
8 [label="Enter block"];
9 [label="Exit block"];
}
10 [label="Exit function let" style="filled" fillcolor=red];
7 [label="Enter function test" style="filled" fillcolor=red];
8 [label="Access variable R|<local>/x|"];
9 [label="Enter safe call"];
10 [label="Access variable R|<local>/x|"];
11 [label="Access variable R|kotlin/String.length|"];
12 [label="Const: Int(1)"];
13 [label="Operator =="];
14 [label="Function call: R|<local>/x|?.R|/foo|(==(R|<local>/x|.R|kotlin/String.length|, Int(1)))"];
15 [label="Exit safe call"];
16 [label="Access variable R|<local>/x|"];
17 [label="Access variable <Inapplicable(WRONG_RECEIVER): [kotlin/String.length]>#"];
18 [label="Exit function test" style="filled" fillcolor=red];
}
7 -> {8};
8 -> {9};
8 -> {9 15};
9 -> {10};
subgraph cluster_4 {
color=red
11 [label="Enter function test" style="filled" fillcolor=red];
subgraph cluster_5 {
color=blue
12 [label="Enter block"];
13 [label="Access variable R|<local>/x|"];
14 [label="Enter safe call"];
15 [label="Access variable R|<local>/x|"];
16 [label="Access variable R|kotlin/String.length|"];
17 [label="Const: Int(1)"];
18 [label="Operator =="];
19 [label="Function call: R|<local>/x|?.R|/foo|(==(R|<local>/x|.R|kotlin/String.length|, Int(1)))"];
20 [label="Exit safe call"];
21 [label="Access variable R|<local>/x|"];
22 [label="Access variable <Inapplicable(WRONG_RECEIVER): [kotlin/String.length]>#"];
23 [label="Exit block"];
}
24 [label="Exit function test" style="filled" fillcolor=red];
}
10 -> {11};
11 -> {12};
12 -> {13};
13 -> {14 20};
13 -> {14};
14 -> {15};
15 -> {16};
16 -> {17};
17 -> {18};
18 -> {19};
subgraph cluster_3 {
color=red
19 [label="Enter function bar" style="filled" fillcolor=red];
20 [label="Exit function bar" style="filled" fillcolor=red];
}
19 -> {20};
20 -> {21};
subgraph cluster_4 {
color=red
21 [label="Enter function bool" style="filled" fillcolor=red];
22 [label="Exit function bool" style="filled" fillcolor=red];
}
21 -> {22};
22 -> {23};
subgraph cluster_5 {
color=red
23 [label="Enter function id" style="filled" fillcolor=red];
24 [label="Exit function id" style="filled" fillcolor=red];
}
23 -> {24};
subgraph cluster_6 {
color=red
25 [label="Enter function bar" style="filled" fillcolor=red];
26 [label="Exit function bar" style="filled" fillcolor=red];
25 [label="Enter function test_2" style="filled" fillcolor=red];
26 [label="Access variable R|<local>/x|"];
27 [label="Type operator: x as? A"];
28 [label="Enter safe call"];
29 [label="Access variable R|<local>/x|"];
30 [label="Function call: (R|<local>/x| as? R|A|)?.R|/A.bar|(R|<local>/x|)"];
31 [label="Exit safe call"];
32 [label="Exit function test_2" style="filled" fillcolor=red];
}
25 -> {26};
26 -> {27};
27 -> {28 31};
28 -> {29};
29 -> {30};
30 -> {31};
31 -> {32};
subgraph cluster_7 {
color=red
27 [label="Enter function bool" style="filled" fillcolor=red];
28 [label="Exit function bool" style="filled" fillcolor=red];
}
27 -> {28};
subgraph cluster_8 {
color=red
29 [label="Enter function id" style="filled" fillcolor=red];
30 [label="Exit function id" style="filled" fillcolor=red];
}
29 -> {30};
subgraph cluster_9 {
color=red
31 [label="Enter function test_2" style="filled" fillcolor=red];
subgraph cluster_10 {
color=blue
32 [label="Enter block"];
33 [label="Access variable R|<local>/x|"];
34 [label="Type operator: x as? A"];
35 [label="Enter safe call"];
36 [label="Access variable R|<local>/x|"];
37 [label="Function call: (R|<local>/x| as? R|A|)?.R|/A.bar|(R|<local>/x|)"];
38 [label="Exit safe call"];
39 [label="Exit block"];
}
40 [label="Exit function test_2" style="filled" fillcolor=red];
}
31 -> {32};
32 -> {33};
33 -> {34};
34 -> {35 38};
35 -> {36};
36 -> {37};
37 -> {38};
38 -> {39};
39 -> {40};
subgraph cluster_11 {
color=red
41 [label="Enter function test_3" style="filled" fillcolor=red];
subgraph cluster_12 {
color=blue
42 [label="Enter block"];
43 [label="Access variable R|<local>/x|"];
44 [label="Type operator: x as? A"];
45 [label="Enter safe call"];
46 [label="Access variable R|<local>/x|"];
47 [label="Function call: (R|<local>/x| as? R|A|)?.R|/A.bar|(R|<local>/x|)"];
48 [label="Exit safe call"];
49 [label="Enter safe call"];
50 [label="Access variable R|<local>/x|"];
51 [label="Function call: R|<local>/x|.R|/A.bool|()"];
52 [label="Function call: (R|<local>/x| as? R|A|)?.R|/A.bar|(R|<local>/x|)?.R|/foo|(R|<local>/x|.R|/A.bool|())"];
53 [label="Exit safe call"];
54 [label="Enter safe call"];
55 [label="Function call: (R|<local>/x| as? R|A|)?.R|/A.bar|(R|<local>/x|)?.R|/foo|(R|<local>/x|.R|/A.bool|())?.R|/let|(<L> = let@fun <anonymous>(): R|kotlin/Unit| {
33 [label="Enter function test_3" style="filled" fillcolor=red];
34 [label="Access variable R|<local>/x|"];
35 [label="Type operator: x as? A"];
36 [label="Enter safe call"];
37 [label="Access variable R|<local>/x|"];
38 [label="Function call: (R|<local>/x| as? R|A|)?.R|/A.bar|(R|<local>/x|)"];
39 [label="Exit safe call"];
40 [label="Enter safe call"];
41 [label="Access variable R|<local>/x|"];
42 [label="Function call: R|<local>/x|.R|/A.bool|()"];
43 [label="Function call: (R|<local>/x| as? R|A|)?.R|/A.bar|(R|<local>/x|)?.R|/foo|(R|<local>/x|.R|/A.bool|())"];
44 [label="Exit safe call"];
45 [label="Enter safe call"];
46 [label="Function call: (R|<local>/x| as? R|A|)?.R|/A.bar|(R|<local>/x|)?.R|/foo|(R|<local>/x|.R|/A.bool|())?.R|/let|(<L> = let@fun <anonymous>(): R|kotlin/Unit| {
R|<local>/x|.R|/A.bool|()
}
)"];
56 [label="Exit safe call"];
57 [label="Access variable R|<local>/x|"];
58 [label="Function call: R|<local>/x|.<Unresolved name: bool>#()"];
59 [label="Exit block"];
}
60 [label="Exit function test_3" style="filled" fillcolor=red];
47 [label="Exit safe call"];
48 [label="Access variable R|<local>/x|"];
49 [label="Function call: R|<local>/x|.<Unresolved name: bool>#()"];
50 [label="Exit function test_3" style="filled" fillcolor=red];
}
33 -> {34};
34 -> {35};
35 -> {36 39};
36 -> {37};
37 -> {38};
38 -> {39};
39 -> {40 44};
40 -> {41};
41 -> {42};
42 -> {43};
43 -> {44};
44 -> {45 48};
44 -> {45 47};
45 -> {46};
46 -> {47};
47 -> {48};
48 -> {49 53};
48 -> {49};
49 -> {50};
50 -> {51};
51 -> {52};
52 -> {53};
53 -> {54 56};
54 -> {55};
55 -> {56};
56 -> {57};
57 -> {58};
58 -> {59};
59 -> {60};
subgraph cluster_13 {
subgraph cluster_8 {
color=red
61 [label="Enter function anonymousFunction" style="filled" fillcolor=red];
subgraph cluster_14 {
color=blue
62 [label="Enter block"];
63 [label="Access variable R|<local>/x|"];
64 [label="Function call: R|<local>/x|.R|/A.bool|()"];
65 [label="Exit block"];
}
66 [label="Exit function anonymousFunction" style="filled" fillcolor=red];
51 [label="Enter function anonymousFunction" style="filled" fillcolor=red];
52 [label="Access variable R|<local>/x|"];
53 [label="Function call: R|<local>/x|.R|/A.bool|()"];
54 [label="Exit function anonymousFunction" style="filled" fillcolor=red];
}
51 -> {52};
52 -> {53};
53 -> {54};
subgraph cluster_9 {
color=red
55 [label="Enter function test_4" style="filled" fillcolor=red];
56 [label="Access variable R|<local>/x|"];
57 [label="Enter safe call"];
58 [label="Function call: R|<local>/x|?.R|/A.id|()"];
59 [label="Exit safe call"];
60 [label="Enter safe call"];
61 [label="Function call: R|<local>/x|?.R|/A.id|()?.R|/A.bool|()"];
62 [label="Exit safe call"];
63 [label="Access variable R|<local>/x|"];
64 [label="Function call: R|<local>/x|.<Inapplicable(WRONG_RECEIVER): [/A.id]>#()"];
65 [label="Exit function test_4" style="filled" fillcolor=red];
}
55 -> {56};
56 -> {57 59};
57 -> {58};
58 -> {59};
59 -> {60 62};
60 -> {61};
61 -> {62};
62 -> {63};
63 -> {64};
64 -> {65};
65 -> {66};
subgraph cluster_15 {
subgraph cluster_10 {
color=red
67 [label="Enter function test_4" style="filled" fillcolor=red];
subgraph cluster_16 {
66 [label="Enter function boo" style="filled" fillcolor=red];
67 [label="Exit function boo" style="filled" fillcolor=red];
}
66 -> {67};
subgraph cluster_11 {
color=red
68 [label="Enter function test_5" style="filled" fillcolor=red];
69 [label="Access variable R|<local>/x|"];
70 [label="Enter safe call"];
subgraph cluster_12 {
color=blue
68 [label="Enter block"];
69 [label="Access variable R|<local>/x|"];
70 [label="Enter safe call"];
71 [label="Function call: R|<local>/x|?.R|/A.id|()"];
72 [label="Exit safe call"];
73 [label="Enter safe call"];
74 [label="Function call: R|<local>/x|?.R|/A.id|()?.R|/A.bool|()"];
75 [label="Exit safe call"];
76 [label="Access variable R|<local>/x|"];
77 [label="Function call: R|<local>/x|.<Inapplicable(WRONG_RECEIVER): [/A.id]>#()"];
78 [label="Exit block"];
71 [label="Enter function anonymousFunction"];
72 [label="Jump: ^ Unit"];
73 [label="Stub" style="filled" fillcolor=gray];
74 [label="Exit function anonymousFunction"];
}
79 [label="Exit function test_4" style="filled" fillcolor=red];
}
67 -> {68};
68 -> {69};
69 -> {70 72};
70 -> {71};
71 -> {72};
72 -> {73 75};
73 -> {74};
74 -> {75};
75 -> {76};
76 -> {77};
77 -> {78};
78 -> {79};
subgraph cluster_17 {
color=red
80 [label="Enter function boo" style="filled" fillcolor=red];
81 [label="Exit function boo" style="filled" fillcolor=red];
}
80 -> {81};
subgraph cluster_18 {
color=red
82 [label="Enter function test_5" style="filled" fillcolor=red];
subgraph cluster_19 {
color=blue
83 [label="Enter block"];
84 [label="Access variable R|<local>/x|"];
85 [label="Enter safe call"];
subgraph cluster_20 {
color=blue
86 [label="Enter function anonymousFunction"];
subgraph cluster_21 {
color=blue
87 [label="Enter block"];
88 [label="Jump: ^ Unit"];
89 [label="Stub" style="filled" fillcolor=gray];
90 [label="Exit block" style="filled" fillcolor=gray];
}
91 [label="Exit function anonymousFunction"];
}
92 [label="Function call: R|<local>/x|?.R|kotlin/let|<R|A|, R|kotlin/Nothing|>(<L> = let@fun <anonymous>(it: R|A|): R|kotlin/Unit| <kind=EXACTLY_ONCE> {
75 [label="Function call: R|<local>/x|?.R|kotlin/let|<R|A|, R|kotlin/Unit|>(<L> = let@fun <anonymous>(it: R|A|): R|kotlin/Unit| <kind=EXACTLY_ONCE> {
^ Unit
}
)"];
93 [label="Exit safe call"];
94 [label="Enter safe call"];
95 [label="Access variable R|<local>/x|"];
96 [label="Function call: R|<local>/x|.R|/A.bool|()"];
97 [label="Function call: R|<local>/x|?.R|kotlin/let|<R|A|, R|kotlin/Nothing|>(<L> = let@fun <anonymous>(it: R|A|): R|kotlin/Unit| <kind=EXACTLY_ONCE> {
76 [label="Exit safe call"];
77 [label="Enter safe call"];
78 [label="Access variable R|<local>/x|"];
79 [label="Function call: R|<local>/x|.R|/A.bool|()"];
80 [label="Function call: R|<local>/x|?.R|kotlin/let|<R|A|, R|kotlin/Unit|>(<L> = let@fun <anonymous>(it: R|A|): R|kotlin/Unit| <kind=EXACTLY_ONCE> {
^ Unit
}
)?.R|/boo|(R|<local>/x|.R|/A.bool|())"];
98 [label="Exit safe call"];
99 [label="Access variable R|<local>/x|"];
100 [label="Function call: R|<local>/x|.<Inapplicable(WRONG_RECEIVER): [/A.id]>#()"];
101 [label="Exit block"];
}
102 [label="Exit function test_5" style="filled" fillcolor=red];
81 [label="Exit safe call"];
82 [label="Access variable R|<local>/x|"];
83 [label="Function call: R|<local>/x|.<Inapplicable(WRONG_RECEIVER): [/A.id]>#()"];
84 [label="Exit function test_5" style="filled" fillcolor=red];
}
68 -> {69};
69 -> {70 76};
70 -> {71};
71 -> {72};
72 -> {74};
72 -> {73} [style=dotted];
73 -> {74} [style=dotted];
74 -> {75};
75 -> {76};
76 -> {77 81};
77 -> {78};
78 -> {79};
79 -> {80};
80 -> {81};
81 -> {82};
82 -> {83};
83 -> {84};
84 -> {85 93};
85 -> {86};
86 -> {87};
87 -> {88};
88 -> {91};
88 -> {89} [style=dotted];
89 -> {90} [style=dotted];
90 -> {91} [style=dotted];
91 -> {92};
92 -> {93};
93 -> {94 98};
94 -> {95};
95 -> {96};
96 -> {97};
97 -> {98};
98 -> {99};
99 -> {100};
100 -> {101};
101 -> {102};
}
@@ -32,7 +32,7 @@ FILE: safeCalls.kt
}
public final fun R|kotlin/Any?|.boo(b: R|kotlin/Boolean|): R|kotlin/Unit|
public final fun test_5(x: R|A?|): R|kotlin/Unit| {
R|<local>/x|?.R|kotlin/let|<R|A|, R|kotlin/Nothing|>(<L> = let@fun <anonymous>(it: R|A|): R|kotlin/Unit| <kind=EXACTLY_ONCE> {
R|<local>/x|?.R|kotlin/let|<R|A|, R|kotlin/Unit|>(<L> = let@fun <anonymous>(it: R|A|): R|kotlin/Unit| <kind=EXACTLY_ONCE> {
^ Unit
}
)?.R|/boo|(R|<local>/x|.R|/A.bool|())
+117 -138
View File
@@ -8,34 +8,29 @@ digraph simpleIf_kt {
0 [label="Enter function test_1" style="filled" fillcolor=red];
subgraph cluster_1 {
color=blue
1 [label="Enter block"];
1 [label="Enter when"];
subgraph cluster_2 {
color=blue
2 [label="Enter when"];
subgraph cluster_3 {
color=blue
3 [label="Enter when branch condition "];
4 [label="Access variable R|<local>/x|"];
5 [label="Type operator: x is String"];
6 [label="Exit when branch condition"];
}
7 [label="Synthetic else branch"];
8 [label="Enter when branch result"];
subgraph cluster_4 {
color=blue
9 [label="Enter block"];
10 [label="Access variable R|<local>/x|"];
11 [label="Access variable R|kotlin/String.length|"];
12 [label="Exit block"];
}
13 [label="Exit when branch result"];
14 [label="Exit when"];
2 [label="Enter when branch condition "];
3 [label="Access variable R|<local>/x|"];
4 [label="Type operator: x is String"];
5 [label="Exit when branch condition"];
}
15 [label="Access variable R|<local>/x|"];
16 [label="Access variable <Unresolved name: length>#"];
17 [label="Exit block"];
6 [label="Synthetic else branch"];
7 [label="Enter when branch result"];
subgraph cluster_3 {
color=blue
8 [label="Enter block"];
9 [label="Access variable R|<local>/x|"];
10 [label="Access variable R|kotlin/String.length|"];
11 [label="Exit block"];
}
12 [label="Exit when branch result"];
13 [label="Exit when"];
}
18 [label="Exit function test_1" style="filled" fillcolor=red];
14 [label="Access variable R|<local>/x|"];
15 [label="Access variable <Unresolved name: length>#"];
16 [label="Exit function test_1" style="filled" fillcolor=red];
}
0 -> {1};
@@ -43,9 +38,9 @@ digraph simpleIf_kt {
2 -> {3};
3 -> {4};
4 -> {5};
5 -> {6};
6 -> {8 7};
7 -> {14};
5 -> {7 6};
6 -> {13};
7 -> {8};
8 -> {9};
9 -> {10};
10 -> {11};
@@ -54,157 +49,141 @@ digraph simpleIf_kt {
13 -> {14};
14 -> {15};
15 -> {16};
16 -> {17};
17 -> {18};
subgraph cluster_5 {
subgraph cluster_4 {
color=red
19 [label="Enter function test_2" style="filled" fillcolor=red];
subgraph cluster_6 {
17 [label="Enter function test_2" style="filled" fillcolor=red];
18 [label="Access variable R|<local>/x|"];
19 [label="Type operator: x is String"];
20 [label="Variable declaration: lval b: R|kotlin/Boolean|"];
subgraph cluster_5 {
color=blue
20 [label="Enter block"];
21 [label="Access variable R|<local>/x|"];
22 [label="Type operator: x is String"];
23 [label="Variable declaration: lval b: R|kotlin/Boolean|"];
21 [label="Enter when"];
subgraph cluster_6 {
color=blue
22 [label="Enter when branch condition "];
23 [label="Access variable R|<local>/b|"];
24 [label="Exit when branch condition"];
}
25 [label="Synthetic else branch"];
26 [label="Enter when branch result"];
subgraph cluster_7 {
color=blue
24 [label="Enter when"];
subgraph cluster_8 {
color=blue
25 [label="Enter when branch condition "];
26 [label="Access variable R|<local>/b|"];
27 [label="Exit when branch condition"];
}
28 [label="Synthetic else branch"];
29 [label="Enter when branch result"];
subgraph cluster_9 {
color=blue
30 [label="Enter block"];
31 [label="Access variable R|<local>/x|"];
32 [label="Access variable R|kotlin/String.length|"];
33 [label="Exit block"];
}
34 [label="Exit when branch result"];
35 [label="Exit when"];
27 [label="Enter block"];
28 [label="Access variable R|<local>/x|"];
29 [label="Access variable R|kotlin/String.length|"];
30 [label="Exit block"];
}
36 [label="Access variable R|<local>/x|"];
37 [label="Access variable <Unresolved name: length>#"];
38 [label="Exit block"];
31 [label="Exit when branch result"];
32 [label="Exit when"];
}
39 [label="Exit function test_2" style="filled" fillcolor=red];
33 [label="Access variable R|<local>/x|"];
34 [label="Access variable <Unresolved name: length>#"];
35 [label="Exit function test_2" style="filled" fillcolor=red];
}
17 -> {18};
18 -> {19};
19 -> {20};
20 -> {21};
21 -> {22};
22 -> {23};
23 -> {24};
24 -> {25};
25 -> {26};
24 -> {26 25};
25 -> {32};
26 -> {27};
27 -> {29 28};
28 -> {35};
27 -> {28};
28 -> {29};
29 -> {30};
30 -> {31};
31 -> {32};
32 -> {33};
33 -> {34};
34 -> {35};
35 -> {36};
subgraph cluster_8 {
color=red
36 [label="Enter function test_3" style="filled" fillcolor=red];
subgraph cluster_9 {
color=blue
37 [label="Enter when"];
subgraph cluster_10 {
color=blue
38 [label="Enter when branch condition "];
39 [label="Access variable R|<local>/x|"];
40 [label="Type operator: x !is String"];
41 [label="Exit when branch condition"];
}
subgraph cluster_11 {
color=blue
42 [label="Enter when branch condition "];
43 [label="Access variable R|<local>/x|"];
44 [label="Type operator: x !is Int"];
45 [label="Exit when branch condition"];
}
subgraph cluster_12 {
color=blue
46 [label="Enter when branch condition else"];
47 [label="Exit when branch condition"];
}
48 [label="Enter when branch result"];
subgraph cluster_13 {
color=blue
49 [label="Enter block"];
50 [label="Access variable R|<local>/x|"];
51 [label="Access variable R|kotlin/String.length|"];
52 [label="Access variable R|<local>/x|"];
53 [label="Function call: R|<local>/x|.R|kotlin/Int.inc|()"];
54 [label="Exit block"];
}
55 [label="Exit when branch result"];
56 [label="Enter when branch result"];
subgraph cluster_14 {
color=blue
57 [label="Enter block"];
58 [label="Exit block"];
}
59 [label="Exit when branch result"];
60 [label="Enter when branch result"];
subgraph cluster_15 {
color=blue
61 [label="Enter block"];
62 [label="Exit block"];
}
63 [label="Exit when branch result"];
64 [label="Exit when"];
}
65 [label="Exit function test_3" style="filled" fillcolor=red];
}
36 -> {37};
37 -> {38};
38 -> {39};
subgraph cluster_10 {
color=red
40 [label="Enter function test_3" style="filled" fillcolor=red];
subgraph cluster_11 {
color=blue
41 [label="Enter block"];
subgraph cluster_12 {
color=blue
42 [label="Enter when"];
subgraph cluster_13 {
color=blue
43 [label="Enter when branch condition "];
44 [label="Access variable R|<local>/x|"];
45 [label="Type operator: x !is String"];
46 [label="Exit when branch condition"];
}
subgraph cluster_14 {
color=blue
47 [label="Enter when branch condition "];
48 [label="Access variable R|<local>/x|"];
49 [label="Type operator: x !is Int"];
50 [label="Exit when branch condition"];
}
subgraph cluster_15 {
color=blue
51 [label="Enter when branch condition else"];
52 [label="Exit when branch condition"];
}
53 [label="Enter when branch result"];
subgraph cluster_16 {
color=blue
54 [label="Enter block"];
55 [label="Access variable R|<local>/x|"];
56 [label="Access variable R|kotlin/String.length|"];
57 [label="Access variable R|<local>/x|"];
58 [label="Function call: R|<local>/x|.R|kotlin/Int.inc|()"];
59 [label="Exit block"];
}
60 [label="Exit when branch result"];
61 [label="Enter when branch result"];
subgraph cluster_17 {
color=blue
62 [label="Enter block"];
63 [label="Exit block"];
}
64 [label="Exit when branch result"];
65 [label="Enter when branch result"];
subgraph cluster_18 {
color=blue
66 [label="Enter block"];
67 [label="Exit block"];
}
68 [label="Exit when branch result"];
69 [label="Exit when"];
}
70 [label="Exit block"];
}
71 [label="Exit function test_3" style="filled" fillcolor=red];
}
39 -> {40};
40 -> {41};
41 -> {42};
41 -> {60 42};
42 -> {43};
43 -> {44};
44 -> {45};
45 -> {46};
46 -> {65 47};
45 -> {56 46};
46 -> {47};
47 -> {48};
48 -> {49};
49 -> {50};
50 -> {61 51};
50 -> {51};
51 -> {52};
52 -> {53};
53 -> {54};
54 -> {55};
55 -> {56};
55 -> {64};
56 -> {57};
57 -> {58};
58 -> {59};
59 -> {60};
60 -> {69};
59 -> {64};
60 -> {61};
61 -> {62};
62 -> {63};
63 -> {64};
64 -> {69};
65 -> {66};
66 -> {67};
67 -> {68};
68 -> {69};
69 -> {70};
70 -> {71};
64 -> {65};
}
@@ -6,18 +6,13 @@ digraph smartcastAfterReassignment_kt {
subgraph cluster_0 {
color=red
0 [label="Enter function test_1" style="filled" fillcolor=red];
subgraph cluster_1 {
color=blue
1 [label="Enter block"];
2 [label="Const: Int(1)"];
3 [label="Variable declaration: lvar x: R|kotlin/Any|"];
4 [label="Const: String()"];
5 [label="Assignmenet: R|<local>/x|"];
6 [label="Access variable R|<local>/x|"];
7 [label="Access variable R|kotlin/String.length|"];
8 [label="Exit block"];
}
9 [label="Exit function test_1" style="filled" fillcolor=red];
1 [label="Const: Int(1)"];
2 [label="Variable declaration: lvar x: R|kotlin/Any|"];
3 [label="Const: String()"];
4 [label="Assignmenet: R|<local>/x|"];
5 [label="Access variable R|<local>/x|"];
6 [label="Access variable R|kotlin/String.length|"];
7 [label="Exit function test_1" style="filled" fillcolor=red];
}
0 -> {1};
@@ -27,105 +22,89 @@ digraph smartcastAfterReassignment_kt {
4 -> {5};
5 -> {6};
6 -> {7};
7 -> {8};
8 -> {9};
subgraph cluster_2 {
subgraph cluster_1 {
color=red
10 [label="Enter function test_2" style="filled" fillcolor=red];
subgraph cluster_3 {
8 [label="Enter function test_2" style="filled" fillcolor=red];
9 [label="Const: Null(null)"];
10 [label="Variable declaration: lvar x: R|kotlin/String?|"];
subgraph cluster_2 {
color=blue
11 [label="Enter block"];
12 [label="Const: Null(null)"];
13 [label="Variable declaration: lvar x: R|kotlin/String?|"];
11 [label="Enter when"];
subgraph cluster_3 {
color=blue
12 [label="Enter when branch condition "];
13 [label="Access variable R|<local>/x|"];
14 [label="Const: Null(null)"];
15 [label="Operator =="];
16 [label="Exit when branch condition"];
}
17 [label="Synthetic else branch"];
18 [label="Enter when branch result"];
subgraph cluster_4 {
color=blue
14 [label="Enter when"];
subgraph cluster_5 {
color=blue
15 [label="Enter when branch condition "];
16 [label="Access variable R|<local>/x|"];
17 [label="Const: Null(null)"];
18 [label="Operator =="];
19 [label="Exit when branch condition"];
}
20 [label="Synthetic else branch"];
21 [label="Enter when branch result"];
subgraph cluster_6 {
color=blue
22 [label="Enter block"];
23 [label="Const: String()"];
24 [label="Assignmenet: R|<local>/x|"];
25 [label="Exit block"];
}
26 [label="Exit when branch result"];
27 [label="Exit when"];
19 [label="Enter block"];
20 [label="Const: String()"];
21 [label="Assignmenet: R|<local>/x|"];
22 [label="Exit block"];
}
28 [label="Access variable R|<local>/x|"];
29 [label="Access variable R|kotlin/String.length|"];
30 [label="Exit block"];
23 [label="Exit when branch result"];
24 [label="Exit when"];
}
31 [label="Exit function test_2" style="filled" fillcolor=red];
25 [label="Access variable R|<local>/x|"];
26 [label="Access variable R|kotlin/String.length|"];
27 [label="Exit function test_2" style="filled" fillcolor=red];
}
8 -> {9};
9 -> {10};
10 -> {11};
11 -> {12};
12 -> {13};
13 -> {14};
14 -> {15};
15 -> {16};
16 -> {17};
17 -> {18};
16 -> {18 17};
17 -> {24};
18 -> {19};
19 -> {21 20};
20 -> {27};
19 -> {20};
20 -> {21};
21 -> {22};
22 -> {23};
23 -> {24};
24 -> {25};
25 -> {26};
26 -> {27};
27 -> {28};
subgraph cluster_5 {
color=red
28 [label="Enter function test_3" style="filled" fillcolor=red];
29 [label="Const: Null(null)"];
30 [label="Variable declaration: lvar x: R|kotlin/String?|"];
31 [label="Const: String()"];
32 [label="Assignmenet: R|<local>/x|"];
33 [label="Access variable R|<local>/x|"];
34 [label="Access variable R|kotlin/String.length|"];
35 [label="Const: Null(null)"];
36 [label="Assignmenet: R|<local>/x|"];
37 [label="Access variable R|<local>/x|"];
38 [label="Stub" style="filled" fillcolor=gray];
39 [label="Access variable <Unresolved name: length>#" style="filled" fillcolor=gray];
40 [label="Exit function test_3" style="filled" fillcolor=red];
}
28 -> {29};
29 -> {30};
30 -> {31};
subgraph cluster_7 {
color=red
32 [label="Enter function test_3" style="filled" fillcolor=red];
subgraph cluster_8 {
color=blue
33 [label="Enter block"];
34 [label="Const: Null(null)"];
35 [label="Variable declaration: lvar x: R|kotlin/String?|"];
36 [label="Const: String()"];
37 [label="Assignmenet: R|<local>/x|"];
38 [label="Access variable R|<local>/x|"];
39 [label="Access variable R|kotlin/String.length|"];
40 [label="Const: Null(null)"];
41 [label="Assignmenet: R|<local>/x|"];
42 [label="Access variable R|<local>/x|"];
43 [label="Stub" style="filled" fillcolor=gray];
44 [label="Access variable <Unresolved name: length>#" style="filled" fillcolor=gray];
45 [label="Exit block" style="filled" fillcolor=gray];
}
46 [label="Exit function test_3" style="filled" fillcolor=red];
}
31 -> {32};
32 -> {33};
33 -> {34};
34 -> {35};
35 -> {36};
36 -> {37};
37 -> {38};
38 -> {39};
39 -> {40};
40 -> {41};
41 -> {42};
42 -> {46};
42 -> {43} [style=dotted];
43 -> {44} [style=dotted];
44 -> {45} [style=dotted];
45 -> {46} [style=dotted];
37 -> {40};
37 -> {38} [style=dotted];
38 -> {39} [style=dotted];
39 -> {40} [style=dotted];
}
@@ -8,32 +8,27 @@ digraph smartcastOnLambda_kt {
0 [label="Enter function test" style="filled" fillcolor=red];
subgraph cluster_1 {
color=blue
1 [label="Enter block"];
1 [label="Enter when"];
subgraph cluster_2 {
color=blue
2 [label="Enter when"];
subgraph cluster_3 {
color=blue
3 [label="Enter when branch condition "];
4 [label="Access variable R|<local>/func|"];
5 [label="Const: Null(null)"];
6 [label="Operator !="];
7 [label="Exit when branch condition"];
}
8 [label="Synthetic else branch"];
9 [label="Enter when branch result"];
subgraph cluster_4 {
color=blue
10 [label="Enter block"];
11 [label="Function call: R|<local>/func|.R|FakeOverride<kotlin/Function0.invoke: R|kotlin/Unit|>|()"];
12 [label="Exit block"];
}
13 [label="Exit when branch result"];
14 [label="Exit when"];
2 [label="Enter when branch condition "];
3 [label="Access variable R|<local>/func|"];
4 [label="Const: Null(null)"];
5 [label="Operator !="];
6 [label="Exit when branch condition"];
}
15 [label="Exit block"];
7 [label="Synthetic else branch"];
8 [label="Enter when branch result"];
subgraph cluster_3 {
color=blue
9 [label="Enter block"];
10 [label="Function call: R|<local>/func|.R|FakeOverride<kotlin/Function0.invoke: R|kotlin/Unit|>|()"];
11 [label="Exit block"];
}
12 [label="Exit when branch result"];
13 [label="Exit when"];
}
16 [label="Exit function test" style="filled" fillcolor=red];
14 [label="Exit function test" style="filled" fillcolor=red];
}
0 -> {1};
@@ -42,15 +37,13 @@ digraph smartcastOnLambda_kt {
3 -> {4};
4 -> {5};
5 -> {6};
6 -> {7};
7 -> {9 8};
8 -> {14};
6 -> {8 7};
7 -> {13};
8 -> {9};
9 -> {10};
10 -> {11};
11 -> {12};
12 -> {13};
13 -> {14};
14 -> {15};
15 -> {16};
}
File diff suppressed because it is too large Load Diff
@@ -6,31 +6,21 @@ digraph callsInPlace_kt {
subgraph cluster_0 {
color=red
0 [label="Enter function test" style="filled" fillcolor=red];
1 [label="Variable declaration: lval x: R|kotlin/Int|"];
subgraph cluster_1 {
color=blue
1 [label="Enter block"];
2 [label="Variable declaration: lval x: R|kotlin/Int|"];
subgraph cluster_2 {
color=blue
3 [label="Enter function anonymousFunction"];
subgraph cluster_3 {
color=blue
4 [label="Enter block"];
5 [label="Const: Int(1)"];
6 [label="Assignmenet: R|<local>/x|"];
7 [label="Exit block"];
}
8 [label="Exit function anonymousFunction"];
}
9 [label="Function call: R|kotlin/run|<R|kotlin/Unit|>(<L> = run@fun <anonymous>(): R|kotlin/Unit| <kind=EXACTLY_ONCE> {
2 [label="Enter function anonymousFunction"];
3 [label="Const: Int(1)"];
4 [label="Assignmenet: R|<local>/x|"];
5 [label="Exit function anonymousFunction"];
}
6 [label="Function call: R|kotlin/run|<R|kotlin/Unit|>(<L> = run@fun <anonymous>(): R|kotlin/Unit| <kind=EXACTLY_ONCE> {
R|<local>/x| = Int(1)
}
)"];
10 [label="Access variable R|<local>/x|"];
11 [label="Function call: R|<local>/x|.R|kotlin/Int.inc|()"];
12 [label="Exit block"];
}
13 [label="Exit function test" style="filled" fillcolor=red];
7 [label="Access variable R|<local>/x|"];
8 [label="Function call: R|<local>/x|.R|kotlin/Int.inc|()"];
9 [label="Exit function test" style="filled" fillcolor=red];
}
0 -> {1};
@@ -42,118 +32,109 @@ digraph callsInPlace_kt {
6 -> {7};
7 -> {8};
8 -> {9};
9 -> {10};
10 -> {11};
11 -> {12};
12 -> {13};
subgraph cluster_4 {
subgraph cluster_2 {
color=red
14 [label="Enter function test_2" style="filled" fillcolor=red];
subgraph cluster_5 {
10 [label="Enter function test_2" style="filled" fillcolor=red];
11 [label="Const: Int(10)"];
subgraph cluster_3 {
color=blue
15 [label="Enter block"];
16 [label="Const: Int(10)"];
subgraph cluster_6 {
color=blue
17 [label="Enter function anonymousFunction"];
subgraph cluster_7 {
color=blue
18 [label="Enter block"];
19 [label="Const: String(test_2)"];
20 [label="Exit block"];
}
21 [label="Exit function anonymousFunction"];
}
22 [label="Function call: R|kotlin/repeat|(Int(10), <L> = repeat@fun <anonymous>(it: R|kotlin/Int|): R|kotlin/Unit| <kind=UNKNOWN> {
12 [label="Enter function anonymousFunction"];
13 [label="Const: String(test_2)"];
14 [label="Exit function anonymousFunction"];
}
15 [label="Function call: R|kotlin/repeat|(Int(10), <L> = repeat@fun <anonymous>(it: R|kotlin/Int|): R|kotlin/Unit| <kind=UNKNOWN> {
String(test_2)
}
)"];
23 [label="Exit block"];
}
24 [label="Exit function test_2" style="filled" fillcolor=red];
16 [label="Exit function test_2" style="filled" fillcolor=red];
}
14 -> {15};
10 -> {11};
11 -> {12};
12 -> {14 13};
13 -> {14};
14 -> {12 15};
15 -> {16};
16 -> {17};
17 -> {21 18};
18 -> {19};
19 -> {20};
20 -> {21};
21 -> {17 22};
22 -> {23};
23 -> {24};
subgraph cluster_8 {
subgraph cluster_4 {
color=red
25 [label="Enter function test_3" style="filled" fillcolor=red];
subgraph cluster_9 {
17 [label="Enter function test_3" style="filled" fillcolor=red];
18 [label="Const: Int(10)"];
subgraph cluster_5 {
color=blue
26 [label="Enter block"];
27 [label="Const: Int(10)"];
subgraph cluster_10 {
color=blue
28 [label="Enter function anonymousFunction"];
subgraph cluster_11 {
color=blue
29 [label="Enter block"];
30 [label="Const: String(test_3)"];
31 [label="Exit block"];
}
32 [label="Exit function anonymousFunction"];
}
33 [label="Function call: R|kotlin/repeat|(action = repeat@fun <anonymous>(it: R|kotlin/Int|): R|kotlin/Unit| <kind=UNKNOWN> {
19 [label="Enter function anonymousFunction"];
20 [label="Const: String(test_3)"];
21 [label="Exit function anonymousFunction"];
}
22 [label="Function call: R|kotlin/repeat|(action = repeat@fun <anonymous>(it: R|kotlin/Int|): R|kotlin/Unit| <kind=UNKNOWN> {
String(test_3)
}
, times = Int(10))"];
34 [label="Exit block"];
}
35 [label="Exit function test_3" style="filled" fillcolor=red];
23 [label="Exit function test_3" style="filled" fillcolor=red];
}
25 -> {26};
26 -> {27};
27 -> {28};
28 -> {32 29};
29 -> {30};
30 -> {31};
31 -> {32};
32 -> {28 33};
33 -> {34};
34 -> {35};
17 -> {18};
18 -> {19};
19 -> {21 20};
20 -> {21};
21 -> {19 22};
22 -> {23};
subgraph cluster_12 {
subgraph cluster_6 {
color=red
36 [label="Enter function test_4" style="filled" fillcolor=red];
subgraph cluster_13 {
24 [label="Enter function test_4" style="filled" fillcolor=red];
25 [label="Const: Int(1)"];
subgraph cluster_7 {
color=blue
37 [label="Enter block"];
38 [label="Const: Int(1)"];
subgraph cluster_14 {
color=blue
39 [label="Enter function anonymousFunction"];
subgraph cluster_15 {
color=blue
40 [label="Enter block"];
41 [label="Const: String(test_4)"];
42 [label="Access variable R|<local>/it|"];
43 [label="Const: Int(0)"];
44 [label="Operator >"];
45 [label="Exit block"];
}
46 [label="Exit function anonymousFunction"];
}
47 [label="Function call: Int(1).R|kotlin/takeUnless|<R|kotlin/Int|>(<L> = takeUnless@fun <anonymous>(it: R|kotlin/Int|): R|kotlin/Boolean| <kind=EXACTLY_ONCE> {
26 [label="Enter function anonymousFunction"];
27 [label="Const: String(test_4)"];
28 [label="Access variable R|<local>/it|"];
29 [label="Const: Int(0)"];
30 [label="Operator >"];
31 [label="Exit function anonymousFunction"];
}
32 [label="Function call: Int(1).R|kotlin/takeUnless|<R|kotlin/Int|>(<L> = takeUnless@fun <anonymous>(it: R|kotlin/Int|): R|kotlin/Boolean| <kind=EXACTLY_ONCE> {
String(test_4)
>(R|<local>/it|, Int(0))
}
)"];
48 [label="Exit block"];
}
49 [label="Exit function test_4" style="filled" fillcolor=red];
33 [label="Exit function test_4" style="filled" fillcolor=red];
}
24 -> {25};
25 -> {26};
26 -> {27};
27 -> {28};
28 -> {29};
29 -> {30};
30 -> {31};
31 -> {32};
32 -> {33};
subgraph cluster_8 {
color=red
34 [label="Enter function test_5" style="filled" fillcolor=red];
35 [label="Const: Int(1)"];
subgraph cluster_9 {
color=blue
36 [label="Enter function anonymousFunction"];
37 [label="Const: String(test_5)"];
38 [label="Access variable R|<local>/it|"];
39 [label="Const: Int(0)"];
40 [label="Operator >"];
41 [label="Exit function anonymousFunction"];
}
42 [label="Function call: Int(1).R|kotlin/takeUnless|<R|kotlin/Int|>(predicate = takeUnless@fun <anonymous>(it: R|kotlin/Int|): R|kotlin/Boolean| <kind=EXACTLY_ONCE> {
String(test_5)
>(R|<local>/it|, Int(0))
}
)"];
43 [label="Exit function test_5" style="filled" fillcolor=red];
}
34 -> {35};
35 -> {36};
36 -> {37};
37 -> {38};
38 -> {39};
@@ -161,239 +142,118 @@ digraph callsInPlace_kt {
40 -> {41};
41 -> {42};
42 -> {43};
43 -> {44};
subgraph cluster_10 {
color=red
44 [label="Enter function myRun" style="filled" fillcolor=red];
45 [label="Function call: R|<local>/block1|.R|FakeOverride<kotlin/Function0.invoke: R|kotlin/Unit|>|()"];
46 [label="Function call: R|<local>/block2|.R|FakeOverride<kotlin/Function0.invoke: R|kotlin/Unit|>|()"];
47 [label="Exit function myRun" style="filled" fillcolor=red];
}
44 -> {45};
45 -> {46};
46 -> {47};
47 -> {48};
48 -> {49};
subgraph cluster_16 {
subgraph cluster_11 {
color=red
50 [label="Enter function test_5" style="filled" fillcolor=red];
subgraph cluster_17 {
48 [label="Enter function test_6" style="filled" fillcolor=red];
subgraph cluster_12 {
color=blue
51 [label="Enter block"];
52 [label="Const: Int(1)"];
subgraph cluster_18 {
color=blue
53 [label="Enter function anonymousFunction"];
subgraph cluster_19 {
color=blue
54 [label="Enter block"];
55 [label="Const: String(test_5)"];
56 [label="Access variable R|<local>/it|"];
57 [label="Const: Int(0)"];
58 [label="Operator >"];
59 [label="Exit block"];
}
60 [label="Exit function anonymousFunction"];
}
61 [label="Function call: Int(1).R|kotlin/takeUnless|<R|kotlin/Int|>(predicate = takeUnless@fun <anonymous>(it: R|kotlin/Int|): R|kotlin/Boolean| <kind=EXACTLY_ONCE> {
String(test_5)
>(R|<local>/it|, Int(0))
}
)"];
62 [label="Exit block"];
49 [label="Enter function anonymousFunction"];
50 [label="Const: String(test_6_1)"];
51 [label="Exit function anonymousFunction"];
}
63 [label="Exit function test_5" style="filled" fillcolor=red];
}
50 -> {51};
51 -> {52};
52 -> {53};
53 -> {54};
54 -> {55};
55 -> {56};
56 -> {57};
57 -> {58};
58 -> {59};
59 -> {60};
60 -> {61};
61 -> {62};
62 -> {63};
subgraph cluster_20 {
color=red
64 [label="Enter function myRun" style="filled" fillcolor=red];
subgraph cluster_21 {
subgraph cluster_13 {
color=blue
65 [label="Enter block"];
66 [label="Function call: R|<local>/block1|.R|FakeOverride<kotlin/Function0.invoke: R|kotlin/Unit|>|()"];
67 [label="Function call: R|<local>/block2|.R|FakeOverride<kotlin/Function0.invoke: R|kotlin/Unit|>|()"];
68 [label="Exit block"];
52 [label="Enter function anonymousFunction"];
53 [label="Const: String(test_6_2)"];
54 [label="Exit function anonymousFunction"];
}
69 [label="Exit function myRun" style="filled" fillcolor=red];
}
64 -> {65};
65 -> {66};
66 -> {67};
67 -> {68};
68 -> {69};
subgraph cluster_22 {
color=red
70 [label="Enter function test_6" style="filled" fillcolor=red];
subgraph cluster_23 {
color=blue
71 [label="Enter block"];
subgraph cluster_24 {
color=blue
72 [label="Enter function anonymousFunction"];
subgraph cluster_25 {
color=blue
73 [label="Enter block"];
74 [label="Const: String(test_6_1)"];
75 [label="Exit block"];
}
76 [label="Exit function anonymousFunction"];
}
subgraph cluster_26 {
color=blue
77 [label="Enter function anonymousFunction"];
subgraph cluster_27 {
color=blue
78 [label="Enter block"];
79 [label="Const: String(test_6_2)"];
80 [label="Exit block"];
}
81 [label="Exit function anonymousFunction"];
}
82 [label="Function call: R|/myRun|(myRun@fun <anonymous>(): R|kotlin/Unit| <kind=UNKNOWN> {
55 [label="Function call: R|/myRun|(myRun@fun <anonymous>(): R|kotlin/Unit| <kind=UNKNOWN> {
String(test_6_1)
}
, <L> = myRun@fun <anonymous>(): R|kotlin/Unit| <kind=UNKNOWN> {
String(test_6_2)
}
)"];
83 [label="Exit block"];
}
84 [label="Exit function test_6" style="filled" fillcolor=red];
56 [label="Exit function test_6" style="filled" fillcolor=red];
}
70 -> {71};
71 -> {72};
72 -> {76 73};
73 -> {74};
74 -> {75};
75 -> {76};
76 -> {72 77};
77 -> {81 78};
78 -> {79};
79 -> {80};
80 -> {81};
81 -> {77 82};
82 -> {83};
83 -> {84};
48 -> {49};
49 -> {51 50};
50 -> {51};
51 -> {49 52};
52 -> {54 53};
53 -> {54};
54 -> {52 55};
55 -> {56};
subgraph cluster_28 {
subgraph cluster_14 {
color=red
85 [label="Enter function test_7" style="filled" fillcolor=red];
subgraph cluster_29 {
57 [label="Enter function test_7" style="filled" fillcolor=red];
subgraph cluster_15 {
color=blue
86 [label="Enter block"];
subgraph cluster_30 {
color=blue
87 [label="Enter function anonymousFunction"];
subgraph cluster_31 {
color=blue
88 [label="Enter block"];
89 [label="Const: String(test_7_2)"];
90 [label="Exit block"];
}
91 [label="Exit function anonymousFunction"];
}
subgraph cluster_32 {
color=blue
92 [label="Enter function anonymousFunction"];
subgraph cluster_33 {
color=blue
93 [label="Enter block"];
94 [label="Const: String(test_7_1)"];
95 [label="Exit block"];
}
96 [label="Exit function anonymousFunction"];
}
97 [label="Function call: R|/myRun|(block2 = myRun@fun <anonymous>(): R|kotlin/Unit| <kind=UNKNOWN> {
58 [label="Enter function anonymousFunction"];
59 [label="Const: String(test_7_2)"];
60 [label="Exit function anonymousFunction"];
}
subgraph cluster_16 {
color=blue
61 [label="Enter function anonymousFunction"];
62 [label="Const: String(test_7_1)"];
63 [label="Exit function anonymousFunction"];
}
64 [label="Function call: R|/myRun|(block2 = myRun@fun <anonymous>(): R|kotlin/Unit| <kind=UNKNOWN> {
String(test_7_2)
}
, block1 = myRun@fun <anonymous>(): R|kotlin/Unit| <kind=UNKNOWN> {
String(test_7_1)
}
)"];
98 [label="Exit block"];
}
99 [label="Exit function test_7" style="filled" fillcolor=red];
65 [label="Exit function test_7" style="filled" fillcolor=red];
}
85 -> {86};
86 -> {87};
87 -> {91 88};
88 -> {89};
89 -> {90};
90 -> {91};
91 -> {87 92};
92 -> {96 93};
93 -> {94};
94 -> {95};
95 -> {96};
96 -> {92 97};
97 -> {98};
98 -> {99};
57 -> {58};
58 -> {60 59};
59 -> {60};
60 -> {58 61};
61 -> {63 62};
62 -> {63};
63 -> {61 64};
64 -> {65};
subgraph cluster_34 {
subgraph cluster_17 {
color=red
100 [label="Enter function myDummyRun" style="filled" fillcolor=red];
subgraph cluster_35 {
color=blue
101 [label="Enter block"];
102 [label="Function call: R|<local>/block|.R|FakeOverride<kotlin/Function0.invoke: R|kotlin/Unit|>|()"];
103 [label="Exit block"];
}
104 [label="Exit function myDummyRun" style="filled" fillcolor=red];
66 [label="Enter function myDummyRun" style="filled" fillcolor=red];
67 [label="Function call: R|<local>/block|.R|FakeOverride<kotlin/Function0.invoke: R|kotlin/Unit|>|()"];
68 [label="Exit function myDummyRun" style="filled" fillcolor=red];
}
100 -> {101};
101 -> {102};
102 -> {103};
103 -> {104};
66 -> {67};
67 -> {68};
subgraph cluster_36 {
subgraph cluster_18 {
color=red
105 [label="Enter function test_8" style="filled" fillcolor=red];
subgraph cluster_37 {
color=blue
106 [label="Enter block"];
107 [label="Function call: R|/myDummyRun|(<L> = myDummyRun@fun <anonymous>(): R|kotlin/Unit| {
69 [label="Enter function test_8" style="filled" fillcolor=red];
70 [label="Function call: R|/myDummyRun|(<L> = myDummyRun@fun <anonymous>(): R|kotlin/Unit| {
String(test_8)
}
)"];
108 [label="Exit block"];
}
109 [label="Exit function test_8" style="filled" fillcolor=red];
71 [label="Exit function test_8" style="filled" fillcolor=red];
}
105 -> {106};
106 -> {107};
107 -> {108};
108 -> {109};
69 -> {70};
70 -> {71};
subgraph cluster_38 {
subgraph cluster_19 {
color=red
110 [label="Enter function anonymousFunction" style="filled" fillcolor=red];
subgraph cluster_39 {
color=blue
111 [label="Enter block"];
112 [label="Const: String(test_8)"];
113 [label="Exit block"];
}
114 [label="Exit function anonymousFunction" style="filled" fillcolor=red];
72 [label="Enter function anonymousFunction" style="filled" fillcolor=red];
73 [label="Const: String(test_8)"];
74 [label="Exit function anonymousFunction" style="filled" fillcolor=red];
}
110 -> {111};
111 -> {112};
112 -> {113};
113 -> {114};
72 -> {73};
73 -> {74};
}
@@ -6,24 +6,19 @@ digraph conditionalEffects_kt {
subgraph cluster_0 {
color=red
0 [label="Enter function test_1" style="filled" fillcolor=red];
1 [label="Access variable R|<local>/x|"];
2 [label="Type operator: x is Int"];
3 [label="Function call: R|kotlin/require|((R|<local>/x| is R|kotlin/Int|))"];
subgraph cluster_1 {
color=blue
1 [label="Enter block"];
2 [label="Access variable R|<local>/x|"];
3 [label="Type operator: x is Int"];
4 [label="Function call: R|kotlin/require|((R|<local>/x| is R|kotlin/Int|))"];
subgraph cluster_2 {
color=blue
5 [label="Enter contract"];
6 [label="Access variable R|<local>/x|"];
7 [label="Type operator: x is Int"];
8 [label="Exit contract"];
}
9 [label="Access variable R|<local>/x|"];
10 [label="Function call: R|<local>/x|.R|kotlin/Int.inc|()"];
11 [label="Exit block"];
4 [label="Enter contract"];
5 [label="Access variable R|<local>/x|"];
6 [label="Type operator: x is Int"];
7 [label="Exit contract"];
}
12 [label="Exit function test_1" style="filled" fillcolor=red];
8 [label="Access variable R|<local>/x|"];
9 [label="Function call: R|<local>/x|.R|kotlin/Int.inc|()"];
10 [label="Exit function test_1" style="filled" fillcolor=red];
}
0 -> {1};
@@ -36,32 +31,27 @@ digraph conditionalEffects_kt {
7 -> {8};
8 -> {9};
9 -> {10};
10 -> {11};
11 -> {12};
subgraph cluster_3 {
subgraph cluster_2 {
color=red
13 [label="Enter function test_2" style="filled" fillcolor=red];
subgraph cluster_4 {
11 [label="Enter function test_2" style="filled" fillcolor=red];
12 [label="Access variable R|<local>/x|"];
13 [label="Function call: R|kotlin/requireNotNull|<R|kotlin/String|>(R|<local>/x|)"];
subgraph cluster_3 {
color=blue
14 [label="Enter block"];
14 [label="Enter contract"];
15 [label="Access variable R|<local>/x|"];
16 [label="Function call: R|kotlin/requireNotNull|<R|kotlin/String|>(R|<local>/x|)"];
subgraph cluster_5 {
color=blue
17 [label="Enter contract"];
18 [label="Access variable R|<local>/x|"];
19 [label="Const: Null(null)"];
20 [label="Operator !="];
21 [label="Exit contract"];
}
22 [label="Access variable R|<local>/x|"];
23 [label="Access variable R|kotlin/String.length|"];
24 [label="Exit block"];
16 [label="Const: Null(null)"];
17 [label="Operator !="];
18 [label="Exit contract"];
}
25 [label="Exit function test_2" style="filled" fillcolor=red];
19 [label="Access variable R|<local>/x|"];
20 [label="Access variable R|kotlin/String.length|"];
21 [label="Exit function test_2" style="filled" fillcolor=red];
}
11 -> {12};
12 -> {13};
13 -> {14};
14 -> {15};
15 -> {16};
@@ -70,36 +60,31 @@ digraph conditionalEffects_kt {
18 -> {19};
19 -> {20};
20 -> {21};
21 -> {22};
22 -> {23};
23 -> {24};
24 -> {25};
subgraph cluster_6 {
subgraph cluster_4 {
color=red
26 [label="Enter function test_3" style="filled" fillcolor=red];
subgraph cluster_7 {
22 [label="Enter function test_3" style="filled" fillcolor=red];
23 [label="Access variable R|<local>/x|"];
24 [label="Const: Null(null)"];
25 [label="Operator !="];
26 [label="Function call: R|kotlin/require|(!=(R|<local>/x|, Null(null)))"];
subgraph cluster_5 {
color=blue
27 [label="Enter block"];
27 [label="Enter contract"];
28 [label="Access variable R|<local>/x|"];
29 [label="Const: Null(null)"];
30 [label="Operator !="];
31 [label="Function call: R|kotlin/require|(!=(R|<local>/x|, Null(null)))"];
subgraph cluster_8 {
color=blue
32 [label="Enter contract"];
33 [label="Access variable R|<local>/x|"];
34 [label="Const: Null(null)"];
35 [label="Operator !="];
36 [label="Exit contract"];
}
37 [label="Access variable R|<local>/x|"];
38 [label="Access variable R|kotlin/String.length|"];
39 [label="Exit block"];
31 [label="Exit contract"];
}
40 [label="Exit function test_3" style="filled" fillcolor=red];
32 [label="Access variable R|<local>/x|"];
33 [label="Access variable R|kotlin/String.length|"];
34 [label="Exit function test_3" style="filled" fillcolor=red];
}
22 -> {23};
23 -> {24};
24 -> {25};
25 -> {26};
26 -> {27};
27 -> {28};
28 -> {29};
@@ -108,150 +93,140 @@ digraph conditionalEffects_kt {
31 -> {32};
32 -> {33};
33 -> {34};
34 -> {35};
subgraph cluster_6 {
color=red
35 [label="Enter function test_4" style="filled" fillcolor=red];
subgraph cluster_7 {
color=blue
36 [label="Enter &&"];
37 [label="Access variable R|<local>/x|"];
38 [label="Type operator: x is String"];
39 [label="Exit left part of &&"];
40 [label="Enter right part of &&"];
41 [label="Access variable R|<local>/y|"];
42 [label="Const: Null(null)"];
43 [label="Operator !="];
44 [label="Exit &&"];
}
45 [label="Function call: R|kotlin/require|((R|<local>/x| is R|kotlin/String|) && !=(R|<local>/y|, Null(null)))"];
subgraph cluster_8 {
color=blue
46 [label="Enter contract"];
subgraph cluster_9 {
color=blue
47 [label="Enter &&"];
48 [label="Access variable R|<local>/x|"];
49 [label="Type operator: x is String"];
50 [label="Exit left part of &&"];
51 [label="Enter right part of &&"];
52 [label="Access variable R|<local>/y|"];
53 [label="Const: Null(null)"];
54 [label="Operator !="];
55 [label="Exit &&"];
}
56 [label="Exit contract"];
}
57 [label="Access variable R|<local>/x|"];
58 [label="Access variable R|kotlin/String.length|"];
59 [label="Access variable R|<local>/y|"];
60 [label="Access variable R|kotlin/String.length|"];
61 [label="Exit function test_4" style="filled" fillcolor=red];
}
35 -> {36};
36 -> {37};
37 -> {38};
38 -> {39};
39 -> {40};
subgraph cluster_9 {
color=red
41 [label="Enter function test_4" style="filled" fillcolor=red];
subgraph cluster_10 {
color=blue
42 [label="Enter block"];
subgraph cluster_11 {
color=blue
43 [label="Enter &&"];
44 [label="Access variable R|<local>/x|"];
45 [label="Type operator: x is String"];
46 [label="Exit left part of &&"];
47 [label="Enter right part of &&"];
48 [label="Access variable R|<local>/y|"];
49 [label="Const: Null(null)"];
50 [label="Operator !="];
51 [label="Exit &&"];
}
52 [label="Function call: R|kotlin/require|((R|<local>/x| is R|kotlin/String|) && !=(R|<local>/y|, Null(null)))"];
subgraph cluster_12 {
color=blue
53 [label="Enter contract"];
subgraph cluster_13 {
color=blue
54 [label="Enter &&"];
55 [label="Access variable R|<local>/x|"];
56 [label="Type operator: x is String"];
57 [label="Exit left part of &&"];
58 [label="Enter right part of &&"];
59 [label="Access variable R|<local>/y|"];
60 [label="Const: Null(null)"];
61 [label="Operator !="];
62 [label="Exit &&"];
}
63 [label="Exit contract"];
}
64 [label="Access variable R|<local>/x|"];
65 [label="Access variable R|kotlin/String.length|"];
66 [label="Access variable R|<local>/y|"];
67 [label="Access variable R|kotlin/String.length|"];
68 [label="Exit block"];
}
69 [label="Exit function test_4" style="filled" fillcolor=red];
}
39 -> {44 40};
40 -> {41};
41 -> {42};
42 -> {43};
43 -> {44};
44 -> {45};
45 -> {46};
46 -> {51 47};
46 -> {47};
47 -> {48};
48 -> {49};
49 -> {50};
50 -> {51};
50 -> {55 51};
51 -> {52};
52 -> {53};
53 -> {54};
54 -> {55};
55 -> {56};
56 -> {57};
57 -> {62 58};
57 -> {58};
58 -> {59};
59 -> {60};
60 -> {61};
61 -> {62};
subgraph cluster_10 {
color=red
62 [label="Enter function test_5" style="filled" fillcolor=red];
subgraph cluster_11 {
color=blue
63 [label="Enter when"];
subgraph cluster_12 {
color=blue
64 [label="Enter when branch condition "];
65 [label="Access variable R|<local>/b|"];
66 [label="Exit when branch condition"];
}
subgraph cluster_13 {
color=blue
67 [label="Enter when branch condition else"];
68 [label="Exit when branch condition"];
}
69 [label="Enter when branch result"];
subgraph cluster_14 {
color=blue
70 [label="Enter block"];
71 [label="Access variable R|<local>/x|"];
72 [label="Access variable <Unresolved name: length>#"];
73 [label="Exit block"];
}
74 [label="Exit when branch result"];
75 [label="Enter when branch result"];
subgraph cluster_15 {
color=blue
76 [label="Enter block"];
77 [label="Access variable R|<local>/x|"];
78 [label="Type operator: x is String"];
79 [label="Function call: R|kotlin/require|((R|<local>/x| is R|kotlin/String|))"];
subgraph cluster_16 {
color=blue
80 [label="Enter contract"];
81 [label="Access variable R|<local>/x|"];
82 [label="Type operator: x is String"];
83 [label="Exit contract"];
}
84 [label="Access variable R|<local>/x|"];
85 [label="Access variable R|kotlin/String.length|"];
86 [label="Exit block"];
}
87 [label="Exit when branch result"];
88 [label="Exit when"];
}
89 [label="Access variable R|<local>/x|"];
90 [label="Access variable <Unresolved name: length>#"];
91 [label="Exit function test_5" style="filled" fillcolor=red];
}
62 -> {63};
63 -> {64};
64 -> {65};
65 -> {66};
66 -> {67};
66 -> {75 67};
67 -> {68};
68 -> {69};
subgraph cluster_14 {
color=red
70 [label="Enter function test_5" style="filled" fillcolor=red];
subgraph cluster_15 {
color=blue
71 [label="Enter block"];
subgraph cluster_16 {
color=blue
72 [label="Enter when"];
subgraph cluster_17 {
color=blue
73 [label="Enter when branch condition "];
74 [label="Access variable R|<local>/b|"];
75 [label="Exit when branch condition"];
}
subgraph cluster_18 {
color=blue
76 [label="Enter when branch condition else"];
77 [label="Exit when branch condition"];
}
78 [label="Enter when branch result"];
subgraph cluster_19 {
color=blue
79 [label="Enter block"];
80 [label="Access variable R|<local>/x|"];
81 [label="Access variable <Unresolved name: length>#"];
82 [label="Exit block"];
}
83 [label="Exit when branch result"];
84 [label="Enter when branch result"];
subgraph cluster_20 {
color=blue
85 [label="Enter block"];
86 [label="Access variable R|<local>/x|"];
87 [label="Type operator: x is String"];
88 [label="Function call: R|kotlin/require|((R|<local>/x| is R|kotlin/String|))"];
subgraph cluster_21 {
color=blue
89 [label="Enter contract"];
90 [label="Access variable R|<local>/x|"];
91 [label="Type operator: x is String"];
92 [label="Exit contract"];
}
93 [label="Access variable R|<local>/x|"];
94 [label="Access variable R|kotlin/String.length|"];
95 [label="Exit block"];
}
96 [label="Exit when branch result"];
97 [label="Exit when"];
}
98 [label="Access variable R|<local>/x|"];
99 [label="Access variable <Unresolved name: length>#"];
100 [label="Exit block"];
}
101 [label="Exit function test_5" style="filled" fillcolor=red];
}
69 -> {70};
70 -> {71};
71 -> {72};
72 -> {73};
73 -> {74};
74 -> {75};
75 -> {84 76};
74 -> {88};
75 -> {76};
76 -> {77};
77 -> {78};
78 -> {79};
@@ -259,7 +234,7 @@ digraph conditionalEffects_kt {
80 -> {81};
81 -> {82};
82 -> {83};
83 -> {97};
83 -> {84};
84 -> {85};
85 -> {86};
86 -> {87};
@@ -267,94 +242,89 @@ digraph conditionalEffects_kt {
88 -> {89};
89 -> {90};
90 -> {91};
91 -> {92};
subgraph cluster_17 {
color=red
92 [label="Enter function test_6" style="filled" fillcolor=red];
subgraph cluster_18 {
color=blue
93 [label="Enter when"];
subgraph cluster_19 {
color=blue
94 [label="Enter when branch condition "];
95 [label="Access variable R|<local>/b|"];
96 [label="Exit when branch condition"];
}
subgraph cluster_20 {
color=blue
97 [label="Enter when branch condition else"];
98 [label="Exit when branch condition"];
}
99 [label="Enter when branch result"];
subgraph cluster_21 {
color=blue
100 [label="Enter block"];
101 [label="Access variable R|<local>/x|"];
102 [label="Type operator: x is String"];
103 [label="Function call: R|kotlin/require|((R|<local>/x| is R|kotlin/String|))"];
subgraph cluster_22 {
color=blue
104 [label="Enter contract"];
105 [label="Access variable R|<local>/x|"];
106 [label="Type operator: x is String"];
107 [label="Exit contract"];
}
108 [label="Access variable R|<local>/x|"];
109 [label="Access variable R|kotlin/String.length|"];
110 [label="Exit block"];
}
111 [label="Exit when branch result"];
112 [label="Enter when branch result"];
subgraph cluster_23 {
color=blue
113 [label="Enter block"];
114 [label="Access variable R|<local>/x|"];
115 [label="Type operator: x is String"];
116 [label="Function call: R|kotlin/require|((R|<local>/x| is R|kotlin/String|))"];
subgraph cluster_24 {
color=blue
117 [label="Enter contract"];
118 [label="Access variable R|<local>/x|"];
119 [label="Type operator: x is String"];
120 [label="Exit contract"];
}
121 [label="Access variable R|<local>/x|"];
122 [label="Access variable R|kotlin/String.length|"];
123 [label="Exit block"];
}
124 [label="Exit when branch result"];
125 [label="Exit when"];
}
126 [label="Access variable R|<local>/x|"];
127 [label="Access variable R|kotlin/String.length|"];
128 [label="Exit function test_6" style="filled" fillcolor=red];
}
92 -> {93};
93 -> {94};
94 -> {95};
95 -> {96};
96 -> {97};
96 -> {112 97};
97 -> {98};
98 -> {99};
99 -> {100};
100 -> {101};
subgraph cluster_22 {
color=red
102 [label="Enter function test_6" style="filled" fillcolor=red];
subgraph cluster_23 {
color=blue
103 [label="Enter block"];
subgraph cluster_24 {
color=blue
104 [label="Enter when"];
subgraph cluster_25 {
color=blue
105 [label="Enter when branch condition "];
106 [label="Access variable R|<local>/b|"];
107 [label="Exit when branch condition"];
}
subgraph cluster_26 {
color=blue
108 [label="Enter when branch condition else"];
109 [label="Exit when branch condition"];
}
110 [label="Enter when branch result"];
subgraph cluster_27 {
color=blue
111 [label="Enter block"];
112 [label="Access variable R|<local>/x|"];
113 [label="Type operator: x is String"];
114 [label="Function call: R|kotlin/require|((R|<local>/x| is R|kotlin/String|))"];
subgraph cluster_28 {
color=blue
115 [label="Enter contract"];
116 [label="Access variable R|<local>/x|"];
117 [label="Type operator: x is String"];
118 [label="Exit contract"];
}
119 [label="Access variable R|<local>/x|"];
120 [label="Access variable R|kotlin/String.length|"];
121 [label="Exit block"];
}
122 [label="Exit when branch result"];
123 [label="Enter when branch result"];
subgraph cluster_29 {
color=blue
124 [label="Enter block"];
125 [label="Access variable R|<local>/x|"];
126 [label="Type operator: x is String"];
127 [label="Function call: R|kotlin/require|((R|<local>/x| is R|kotlin/String|))"];
subgraph cluster_30 {
color=blue
128 [label="Enter contract"];
129 [label="Access variable R|<local>/x|"];
130 [label="Type operator: x is String"];
131 [label="Exit contract"];
}
132 [label="Access variable R|<local>/x|"];
133 [label="Access variable R|kotlin/String.length|"];
134 [label="Exit block"];
}
135 [label="Exit when branch result"];
136 [label="Exit when"];
}
137 [label="Access variable R|<local>/x|"];
138 [label="Access variable R|kotlin/String.length|"];
139 [label="Exit block"];
}
140 [label="Exit function test_6" style="filled" fillcolor=red];
}
101 -> {102};
102 -> {103};
103 -> {104};
104 -> {105};
105 -> {106};
106 -> {107};
107 -> {123 108};
107 -> {108};
108 -> {109};
109 -> {110};
110 -> {111};
111 -> {112};
111 -> {125};
112 -> {113};
113 -> {114};
114 -> {115};
@@ -365,23 +335,11 @@ digraph conditionalEffects_kt {
119 -> {120};
120 -> {121};
121 -> {122};
122 -> {136};
122 -> {123};
123 -> {124};
124 -> {125};
125 -> {126};
126 -> {127};
127 -> {128};
128 -> {129};
129 -> {130};
130 -> {131};
131 -> {132};
132 -> {133};
133 -> {134};
134 -> {135};
135 -> {136};
136 -> {137};
137 -> {138};
138 -> {139};
139 -> {140};
}
@@ -260,6 +260,16 @@ public class FirDiagnosticsTestGenerated extends AbstractFirDiagnosticsTest {
runTest("compiler/fir/resolve/testData/resolve/arguments/lambda.kt");
}
@TestMetadata("lambdaInLambda.kt")
public void testLambdaInLambda() throws Exception {
runTest("compiler/fir/resolve/testData/resolve/arguments/lambdaInLambda.kt");
}
@TestMetadata("lambdaInLambda2.kt")
public void testLambdaInLambda2() throws Exception {
runTest("compiler/fir/resolve/testData/resolve/arguments/lambdaInLambda2.kt");
}
@TestMetadata("overloadByReceiver.kt")
public void testOverloadByReceiver() throws Exception {
runTest("compiler/fir/resolve/testData/resolve/arguments/overloadByReceiver.kt");
@@ -275,6 +285,11 @@ public class FirDiagnosticsTestGenerated extends AbstractFirDiagnosticsTest {
runTest("compiler/fir/resolve/testData/resolve/arguments/simple.kt");
}
@TestMetadata("tryInLambda.kt")
public void testTryInLambda() throws Exception {
runTest("compiler/fir/resolve/testData/resolve/arguments/tryInLambda.kt");
}
@TestMetadata("vararg.kt")
public void testVararg() throws Exception {
runTest("compiler/fir/resolve/testData/resolve/arguments/vararg.kt");
@@ -80,6 +80,11 @@ public class FirDiagnosticsWithCfgTestGenerated extends AbstractFirDiagnosticsWi
runTest("compiler/fir/resolve/testData/resolve/cfg/propertiesAndInitBlocks.kt");
}
@TestMetadata("returnValuesFromLambda.kt")
public void testReturnValuesFromLambda() throws Exception {
runTest("compiler/fir/resolve/testData/resolve/cfg/returnValuesFromLambda.kt");
}
@TestMetadata("safeCalls.kt")
public void testSafeCalls() throws Exception {
runTest("compiler/fir/resolve/testData/resolve/cfg/safeCalls.kt");