[FIR] Add cfg for delegating constructor calls
This commit is contained in:
+9
-2
@@ -576,8 +576,8 @@ abstract class FirDataFlowAnalyzer<FLOW : Flow>(
|
|||||||
exitSafeCall(qualifiedAccessExpression)
|
exitSafeCall(qualifiedAccessExpression)
|
||||||
}
|
}
|
||||||
|
|
||||||
fun enterFunctionCall(functionCall: FirFunctionCall) {
|
fun enterCall(functionCall: FirCall) {
|
||||||
graphBuilder.enterFunctionCall(functionCall)
|
graphBuilder.enterCall(functionCall)
|
||||||
}
|
}
|
||||||
|
|
||||||
fun exitFunctionCall(functionCall: FirFunctionCall, callCompleted: Boolean) {
|
fun exitFunctionCall(functionCall: FirFunctionCall, callCompleted: Boolean) {
|
||||||
@@ -593,6 +593,13 @@ abstract class FirDataFlowAnalyzer<FLOW : Flow>(
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
fun exitDelegatedConstructorCall(call: FirDelegatedConstructorCall, callCompleted: Boolean) {
|
||||||
|
val (callNode, unionNode) = graphBuilder.exitDelegatedConstructorCall(call, callCompleted)
|
||||||
|
unionNode?.let { unionFlowFromArguments(it) }
|
||||||
|
callNode.mergeIncomingFlow()
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
private fun unionFlowFromArguments(node: UnionFunctionCallArgumentsNode) {
|
private fun unionFlowFromArguments(node: UnionFunctionCallArgumentsNode) {
|
||||||
node.flow = logicSystem.unionFlow(node.previousNodes.map { it.flow }).also {
|
node.flow = logicSystem.unionFlow(node.previousNodes.map { it.flow }).also {
|
||||||
logicSystem.updateAllReceivers(it)
|
logicSystem.updateAllReceivers(it)
|
||||||
|
|||||||
@@ -208,6 +208,13 @@ class FunctionCallNode(
|
|||||||
level: Int, id: Int
|
level: Int, id: Int
|
||||||
) : CFGNode<FirFunctionCall>(owner, level, id)
|
) : CFGNode<FirFunctionCall>(owner, level, id)
|
||||||
|
|
||||||
|
class DelegatedConstructorCallNode(
|
||||||
|
owner: ControlFlowGraph,
|
||||||
|
override val fir: FirDelegatedConstructorCall,
|
||||||
|
level: Int,
|
||||||
|
id: Int
|
||||||
|
) : CFGNode<FirDelegatedConstructorCall>(owner, level, id)
|
||||||
|
|
||||||
class ThrowExceptionNode(
|
class ThrowExceptionNode(
|
||||||
owner: ControlFlowGraph,
|
owner: ControlFlowGraph,
|
||||||
override val fir: FirThrowExpression,
|
override val fir: FirThrowExpression,
|
||||||
|
|||||||
+9
-1
@@ -610,7 +610,7 @@ class ControlFlowGraphBuilder {
|
|||||||
return node
|
return node
|
||||||
}
|
}
|
||||||
|
|
||||||
fun enterFunctionCall(functionCall: FirFunctionCall) {
|
fun enterCall(call: FirCall) {
|
||||||
levelCounter++
|
levelCounter++
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -627,6 +627,14 @@ class ControlFlowGraphBuilder {
|
|||||||
return node to unionNode
|
return node to unionNode
|
||||||
}
|
}
|
||||||
|
|
||||||
|
fun exitDelegatedConstructorCall(call: FirDelegatedConstructorCall, callCompleted: Boolean): Pair<DelegatedConstructorCallNode, UnionFunctionCallArgumentsNode?> {
|
||||||
|
levelCounter--
|
||||||
|
val node = createDelegatedConstructorCallNode(call)
|
||||||
|
val (kind, unionNode) = processUnionOfArguments(node, callCompleted)
|
||||||
|
addNewSimpleNode(node, preferredKind = kind)
|
||||||
|
return node to unionNode
|
||||||
|
}
|
||||||
|
|
||||||
private fun processUnionOfArguments(
|
private fun processUnionOfArguments(
|
||||||
node: CFGNode<*>,
|
node: CFGNode<*>,
|
||||||
callCompleted: Boolean
|
callCompleted: Boolean
|
||||||
|
|||||||
+3
@@ -111,6 +111,9 @@ fun ControlFlowGraphBuilder.createLoopBlockExitNode(fir: FirLoop): LoopBlockExit
|
|||||||
fun ControlFlowGraphBuilder.createFunctionCallNode(fir: FirFunctionCall): FunctionCallNode =
|
fun ControlFlowGraphBuilder.createFunctionCallNode(fir: FirFunctionCall): FunctionCallNode =
|
||||||
FunctionCallNode(graph, fir, levelCounter, createId())
|
FunctionCallNode(graph, fir, levelCounter, createId())
|
||||||
|
|
||||||
|
fun ControlFlowGraphBuilder.createDelegatedConstructorCallNode(fir: FirDelegatedConstructorCall): DelegatedConstructorCallNode =
|
||||||
|
DelegatedConstructorCallNode(graph, fir, levelCounter, createId())
|
||||||
|
|
||||||
fun ControlFlowGraphBuilder.createVariableAssignmentNode(fir: FirVariableAssignment): VariableAssignmentNode =
|
fun ControlFlowGraphBuilder.createVariableAssignmentNode(fir: FirVariableAssignment): VariableAssignmentNode =
|
||||||
VariableAssignmentNode(graph, fir, levelCounter, createId())
|
VariableAssignmentNode(graph, fir, levelCounter, createId())
|
||||||
|
|
||||||
|
|||||||
+1
@@ -184,6 +184,7 @@ private fun CFGNode<*>.render(): String =
|
|||||||
|
|
||||||
is VariableAssignmentNode -> "Assignmenet: ${fir.lValue.render(CfgRenderMode)}"
|
is VariableAssignmentNode -> "Assignmenet: ${fir.lValue.render(CfgRenderMode)}"
|
||||||
is FunctionCallNode -> "Function call: ${fir.render(CfgRenderMode)}"
|
is FunctionCallNode -> "Function call: ${fir.render(CfgRenderMode)}"
|
||||||
|
is DelegatedConstructorCallNode -> "Delegated constructor call: ${fir.render(CfgRenderMode)}"
|
||||||
is ThrowExceptionNode -> "Throw: ${fir.render(CfgRenderMode)}"
|
is ThrowExceptionNode -> "Throw: ${fir.render(CfgRenderMode)}"
|
||||||
|
|
||||||
is TryExpressionEnterNode -> "Try expression enter"
|
is TryExpressionEnterNode -> "Try expression enter"
|
||||||
|
|||||||
+41
-29
@@ -153,7 +153,7 @@ class FirExpressionsResolveTransformer(transformer: FirBodyResolveTransformer) :
|
|||||||
storeTypeFromCallee(functionCall)
|
storeTypeFromCallee(functionCall)
|
||||||
}
|
}
|
||||||
if (functionCall.calleeReference !is FirSimpleNamedReference) return functionCall.compose()
|
if (functionCall.calleeReference !is FirSimpleNamedReference) return functionCall.compose()
|
||||||
dataFlowAnalyzer.enterFunctionCall(functionCall)
|
dataFlowAnalyzer.enterCall(functionCall)
|
||||||
functionCall.annotations.forEach { it.accept(this, data) }
|
functionCall.annotations.forEach { it.accept(this, data) }
|
||||||
functionCall.transform<FirFunctionCall, Nothing?>(InvocationKindTransformer, null)
|
functionCall.transform<FirFunctionCall, Nothing?>(InvocationKindTransformer, null)
|
||||||
functionCall.transformTypeArguments(transformer, ResolutionMode.ContextIndependent)
|
functionCall.transformTypeArguments(transformer, ResolutionMode.ContextIndependent)
|
||||||
@@ -574,37 +574,49 @@ class FirExpressionsResolveTransformer(transformer: FirBodyResolveTransformer) :
|
|||||||
data: ResolutionMode,
|
data: ResolutionMode,
|
||||||
): CompositeTransformResult<FirStatement> {
|
): CompositeTransformResult<FirStatement> {
|
||||||
if (transformer.implicitTypeOnly) return delegatedConstructorCall.compose()
|
if (transformer.implicitTypeOnly) return delegatedConstructorCall.compose()
|
||||||
delegatedConstructorCall.transformChildren(transformer, ResolutionMode.ContextDependent)
|
dataFlowAnalyzer.enterCall(delegatedConstructorCall)
|
||||||
val typeArguments: List<FirTypeProjection>
|
var callCompleted = true
|
||||||
val symbol: FirClassSymbol<*> = when (val reference = delegatedConstructorCall.calleeReference) {
|
var result = delegatedConstructorCall
|
||||||
is FirThisReference -> {
|
try {
|
||||||
typeArguments = emptyList()
|
delegatedConstructorCall.transformChildren(transformer, ResolutionMode.ContextDependent)
|
||||||
if (reference.boundSymbol == null) {
|
val typeArguments: List<FirTypeProjection>
|
||||||
implicitReceiverStack.lastDispatchReceiver()?.boundSymbol?.also {
|
val symbol: FirClassSymbol<*> = when (val reference = delegatedConstructorCall.calleeReference) {
|
||||||
reference.replaceBoundSymbol(it)
|
is FirThisReference -> {
|
||||||
} ?: return delegatedConstructorCall.compose()
|
typeArguments = emptyList()
|
||||||
} else {
|
if (reference.boundSymbol == null) {
|
||||||
reference.boundSymbol!! as FirClassSymbol<*>
|
implicitReceiverStack.lastDispatchReceiver()?.boundSymbol?.also {
|
||||||
|
reference.replaceBoundSymbol(it)
|
||||||
|
} ?: return delegatedConstructorCall.compose()
|
||||||
|
} else {
|
||||||
|
reference.boundSymbol!! as FirClassSymbol<*>
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
is FirSuperReference -> {
|
||||||
|
// TODO: unresolved supertype
|
||||||
|
val supertype = reference.superTypeRef.coneTypeSafe<ConeClassLikeType>() ?: return delegatedConstructorCall.compose()
|
||||||
|
typeArguments = supertype.typeArguments.takeIf { it.isNotEmpty() }?.map { it.toFirTypeProjection() } ?: emptyList()
|
||||||
|
val expandedSupertype = supertype.fullyExpandedType(session)
|
||||||
|
val lookupTag = expandedSupertype.lookupTag
|
||||||
|
if (lookupTag is ConeClassLookupTagWithFixedSymbol) {
|
||||||
|
lookupTag.symbol
|
||||||
|
} else {
|
||||||
|
// TODO: support locals
|
||||||
|
symbolProvider.getSymbolByLookupTag(lookupTag) ?: return delegatedConstructorCall.compose()
|
||||||
|
} as FirClassSymbol<*>
|
||||||
|
}
|
||||||
|
else -> return delegatedConstructorCall.compose()
|
||||||
}
|
}
|
||||||
is FirSuperReference -> {
|
val resolvedCall = callResolver.resolveDelegatingConstructorCall(delegatedConstructorCall, symbol, typeArguments)
|
||||||
// TODO: unresolved supertype
|
?: return delegatedConstructorCall.compose()
|
||||||
val supertype = reference.superTypeRef.coneTypeSafe<ConeClassLikeType>() ?: return delegatedConstructorCall.compose()
|
|
||||||
typeArguments = supertype.typeArguments.takeIf { it.isNotEmpty() }?.map { it.toFirTypeProjection() } ?: emptyList()
|
|
||||||
val expandedSupertype = supertype.fullyExpandedType(session)
|
val completionResult = callCompleter.completeCall(resolvedCall, noExpectedType)
|
||||||
val lookupTag = expandedSupertype.lookupTag
|
result = completionResult.result
|
||||||
if (lookupTag is ConeClassLookupTagWithFixedSymbol) {
|
callCompleted = completionResult.callCompleted
|
||||||
lookupTag.symbol
|
return result.compose()
|
||||||
} else {
|
} finally {
|
||||||
// TODO: support locals
|
dataFlowAnalyzer.exitDelegatedConstructorCall(result, callCompleted)
|
||||||
symbolProvider.getSymbolByLookupTag(lookupTag) ?: return delegatedConstructorCall.compose()
|
|
||||||
} as FirClassSymbol<*>
|
|
||||||
}
|
|
||||||
else -> return delegatedConstructorCall.compose()
|
|
||||||
}
|
}
|
||||||
val result = callResolver.resolveDelegatingConstructorCall(delegatedConstructorCall, symbol, typeArguments)
|
|
||||||
?: return delegatedConstructorCall.compose()
|
|
||||||
return callCompleter.completeCall(result, noExpectedType).result.compose()
|
|
||||||
}
|
}
|
||||||
|
|
||||||
// ------------------------------------------------------------------------------------------------
|
// ------------------------------------------------------------------------------------------------
|
||||||
|
|||||||
+8
-4
@@ -6,17 +6,21 @@ digraph initBlock_kt {
|
|||||||
subgraph cluster_0 {
|
subgraph cluster_0 {
|
||||||
color=red
|
color=red
|
||||||
0 [label="Enter function <init>" style="filled" fillcolor=red];
|
0 [label="Enter function <init>" style="filled" fillcolor=red];
|
||||||
1 [label="Exit function <init>" style="filled" fillcolor=red];
|
1 [label="Delegated constructor call: super<R|kotlin/Any|>()"];
|
||||||
|
2 [label="Exit function <init>" style="filled" fillcolor=red];
|
||||||
}
|
}
|
||||||
|
|
||||||
0 -> {1};
|
0 -> {1};
|
||||||
|
1 -> {2};
|
||||||
|
|
||||||
subgraph cluster_1 {
|
subgraph cluster_1 {
|
||||||
color=red
|
color=red
|
||||||
2 [label="Enter function <init>" style="filled" fillcolor=red];
|
3 [label="Enter function <init>" style="filled" fillcolor=red];
|
||||||
3 [label="Exit function <init>" style="filled" fillcolor=red];
|
4 [label="Delegated constructor call: super<R|kotlin/Any|>()"];
|
||||||
|
5 [label="Exit function <init>" style="filled" fillcolor=red];
|
||||||
}
|
}
|
||||||
|
|
||||||
2 -> {3};
|
3 -> {4};
|
||||||
|
4 -> {5};
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -22,9 +22,11 @@ digraph initBlockAndInPlaceLambda_kt {
|
|||||||
subgraph cluster_2 {
|
subgraph cluster_2 {
|
||||||
color=red
|
color=red
|
||||||
4 [label="Enter function <init>" style="filled" fillcolor=red];
|
4 [label="Enter function <init>" style="filled" fillcolor=red];
|
||||||
5 [label="Exit function <init>" style="filled" fillcolor=red];
|
5 [label="Delegated constructor call: super<R|kotlin/Any|>()"];
|
||||||
|
6 [label="Exit function <init>" style="filled" fillcolor=red];
|
||||||
}
|
}
|
||||||
|
|
||||||
4 -> {5};
|
4 -> {5};
|
||||||
|
5 -> {6};
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -0,0 +1,84 @@
|
|||||||
|
digraph postponedLambdaInConstructor_kt {
|
||||||
|
graph [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="Delegated constructor call: super<R|kotlin/Any|>()"];
|
||||||
|
2 [label="Exit function <init>" style="filled" fillcolor=red];
|
||||||
|
}
|
||||||
|
|
||||||
|
0 -> {1};
|
||||||
|
1 -> {2};
|
||||||
|
|
||||||
|
subgraph cluster_1 {
|
||||||
|
color=red
|
||||||
|
3 [label="Enter function <init>" style="filled" fillcolor=red];
|
||||||
|
4 [label="Access variable R|<local>/s|"];
|
||||||
|
5 [label="Postponed enter to lambda"];
|
||||||
|
subgraph cluster_2 {
|
||||||
|
color=blue
|
||||||
|
6 [label="Enter function anonymousFunction"];
|
||||||
|
7 [label="Postponed enter to lambda"];
|
||||||
|
8 [label="Postponed exit from lambda"];
|
||||||
|
9 [label="Exit function anonymousFunction"];
|
||||||
|
}
|
||||||
|
10 [label="Postponed exit from lambda"];
|
||||||
|
11 [label="Function call: R|<local>/s|.R|kotlin/let|<R|kotlin/String|, R|() -> kotlin/String|>(...)"];
|
||||||
|
12 [label="Delegated constructor call: super<R|A|>(...)"];
|
||||||
|
13 [label="Exit function <init>" style="filled" fillcolor=red];
|
||||||
|
}
|
||||||
|
|
||||||
|
3 -> {4};
|
||||||
|
4 -> {5};
|
||||||
|
5 -> {6};
|
||||||
|
5 -> {10} [color=red];
|
||||||
|
6 -> {7};
|
||||||
|
7 -> {8 8} [color=green];
|
||||||
|
8 -> {9};
|
||||||
|
9 -> {10} [color=green];
|
||||||
|
10 -> {11};
|
||||||
|
11 -> {12};
|
||||||
|
12 -> {13};
|
||||||
|
|
||||||
|
subgraph cluster_3 {
|
||||||
|
color=red
|
||||||
|
14 [label="Enter function anonymousFunction" style="filled" fillcolor=red];
|
||||||
|
15 [label="Access variable R|<local>/it|"];
|
||||||
|
16 [label="Exit function anonymousFunction" style="filled" fillcolor=red];
|
||||||
|
}
|
||||||
|
|
||||||
|
14 -> {15};
|
||||||
|
15 -> {16};
|
||||||
|
|
||||||
|
subgraph cluster_4 {
|
||||||
|
color=red
|
||||||
|
17 [label="Enter function getter" style="filled" fillcolor=red];
|
||||||
|
18 [label="Exit function getter" style="filled" fillcolor=red];
|
||||||
|
}
|
||||||
|
|
||||||
|
17 -> {18};
|
||||||
|
|
||||||
|
subgraph cluster_5 {
|
||||||
|
color=red
|
||||||
|
19 [label="Enter property" style="filled" fillcolor=red];
|
||||||
|
20 [label="Access variable R|<local>/s|"];
|
||||||
|
21 [label="Exit property" style="filled" fillcolor=red];
|
||||||
|
}
|
||||||
|
|
||||||
|
19 -> {20};
|
||||||
|
20 -> {21};
|
||||||
|
|
||||||
|
subgraph cluster_6 {
|
||||||
|
color=red
|
||||||
|
22 [label="Enter function foo" style="filled" fillcolor=red];
|
||||||
|
23 [label="Function call: this@R|/B|.R|/B.foo|()"];
|
||||||
|
24 [label="Exit function foo" style="filled" fillcolor=red];
|
||||||
|
}
|
||||||
|
|
||||||
|
22 -> {23};
|
||||||
|
23 -> {24};
|
||||||
|
|
||||||
|
}
|
||||||
@@ -0,0 +1,9 @@
|
|||||||
|
// !DUMP_CFG
|
||||||
|
|
||||||
|
abstract class A(func: () -> String)
|
||||||
|
|
||||||
|
class B(val s: String) : A(s.let { { it } }) {
|
||||||
|
fun foo() {
|
||||||
|
foo()
|
||||||
|
}
|
||||||
|
}
|
||||||
@@ -0,0 +1,26 @@
|
|||||||
|
FILE: postponedLambdaInConstructor.kt
|
||||||
|
public abstract class A : R|kotlin/Any| {
|
||||||
|
public constructor(func: R|() -> kotlin/String|): R|A| {
|
||||||
|
super<R|kotlin/Any|>()
|
||||||
|
}
|
||||||
|
|
||||||
|
}
|
||||||
|
public final class B : R|A| {
|
||||||
|
public constructor(s: R|kotlin/String|): R|B| {
|
||||||
|
super<R|A|>(R|<local>/s|.R|kotlin/let|<R|kotlin/String|, R|() -> kotlin/String|>(<L> = let@fun <anonymous>(it: R|kotlin/String|): R|() -> kotlin/String| <kind=EXACTLY_ONCE> {
|
||||||
|
^ let@fun <anonymous>(): R|kotlin/String| {
|
||||||
|
^ R|<local>/it|
|
||||||
|
}
|
||||||
|
|
||||||
|
}
|
||||||
|
))
|
||||||
|
}
|
||||||
|
|
||||||
|
public final val s: R|kotlin/String| = R|<local>/s|
|
||||||
|
public get(): R|kotlin/String|
|
||||||
|
|
||||||
|
public final fun foo(): R|kotlin/Unit| {
|
||||||
|
this@R|/B|.R|/B.foo|()
|
||||||
|
}
|
||||||
|
|
||||||
|
}
|
||||||
@@ -94,126 +94,130 @@ digraph propertiesAndInitBlocks_kt {
|
|||||||
subgraph cluster_7 {
|
subgraph cluster_7 {
|
||||||
color=red
|
color=red
|
||||||
29 [label="Enter function <init>" style="filled" fillcolor=red];
|
29 [label="Enter function <init>" style="filled" fillcolor=red];
|
||||||
30 [label="Exit function <init>" style="filled" fillcolor=red];
|
30 [label="Delegated constructor call: super<R|kotlin/Any|>()"];
|
||||||
|
31 [label="Exit function <init>" style="filled" fillcolor=red];
|
||||||
}
|
}
|
||||||
|
|
||||||
29 -> {30};
|
29 -> {30};
|
||||||
|
30 -> {31};
|
||||||
|
|
||||||
subgraph cluster_8 {
|
subgraph cluster_8 {
|
||||||
color=red
|
color=red
|
||||||
31 [label="Enter function getter" style="filled" fillcolor=red];
|
32 [label="Enter function getter" style="filled" fillcolor=red];
|
||||||
32 [label="Exit function getter" style="filled" fillcolor=red];
|
33 [label="Exit function getter" style="filled" fillcolor=red];
|
||||||
}
|
}
|
||||||
|
|
||||||
31 -> {32};
|
32 -> {33};
|
||||||
|
|
||||||
subgraph cluster_9 {
|
subgraph cluster_9 {
|
||||||
color=red
|
color=red
|
||||||
33 [label="Enter function <init>" style="filled" fillcolor=red];
|
34 [label="Enter function <init>" style="filled" fillcolor=red];
|
||||||
34 [label="Exit function <init>" style="filled" fillcolor=red];
|
35 [label="Delegated constructor call: super<R|kotlin/Any|>()"];
|
||||||
|
36 [label="Exit function <init>" style="filled" fillcolor=red];
|
||||||
}
|
}
|
||||||
|
|
||||||
33 -> {34};
|
34 -> {35};
|
||||||
|
35 -> {36};
|
||||||
|
|
||||||
subgraph cluster_10 {
|
subgraph cluster_10 {
|
||||||
color=red
|
color=red
|
||||||
35 [label="Enter property" style="filled" fillcolor=red];
|
37 [label="Enter property" style="filled" fillcolor=red];
|
||||||
36 [label="Postponed enter to lambda"];
|
38 [label="Postponed enter to lambda"];
|
||||||
subgraph cluster_11 {
|
subgraph cluster_11 {
|
||||||
color=blue
|
color=blue
|
||||||
37 [label="Enter function anonymousFunction"];
|
39 [label="Enter function anonymousFunction"];
|
||||||
38 [label="Function call: R|java/lang/Exception.Exception|()"];
|
40 [label="Function call: R|java/lang/Exception.Exception|()"];
|
||||||
39 [label="Throw: throw R|java/lang/Exception.Exception|()"];
|
41 [label="Throw: throw R|java/lang/Exception.Exception|()"];
|
||||||
40 [label="Stub" style="filled" fillcolor=gray];
|
42 [label="Stub" style="filled" fillcolor=gray];
|
||||||
41 [label="Exit function anonymousFunction"];
|
43 [label="Exit function anonymousFunction"];
|
||||||
}
|
}
|
||||||
42 [label="Postponed exit from lambda"];
|
44 [label="Postponed exit from lambda"];
|
||||||
43 [label="Function call: R|/run|(...)"];
|
45 [label="Function call: R|/run|(...)"];
|
||||||
44 [label="Exit property" style="filled" fillcolor=red];
|
46 [label="Exit property" style="filled" fillcolor=red];
|
||||||
}
|
}
|
||||||
|
|
||||||
35 -> {36};
|
37 -> {38};
|
||||||
36 -> {37};
|
|
||||||
36 -> {42} [color=red];
|
|
||||||
37 -> {41 38};
|
|
||||||
38 -> {39};
|
38 -> {39};
|
||||||
39 -> {44};
|
38 -> {44} [color=red];
|
||||||
39 -> {40} [style=dotted];
|
39 -> {43 40};
|
||||||
40 -> {41} [style=dotted];
|
40 -> {41};
|
||||||
41 -> {37};
|
41 -> {46};
|
||||||
41 -> {42} [color=green];
|
41 -> {42} [style=dotted];
|
||||||
42 -> {43};
|
42 -> {43} [style=dotted];
|
||||||
43 -> {44};
|
43 -> {39};
|
||||||
|
43 -> {44} [color=green];
|
||||||
|
44 -> {45};
|
||||||
|
45 -> {46};
|
||||||
|
|
||||||
subgraph cluster_12 {
|
subgraph cluster_12 {
|
||||||
color=red
|
color=red
|
||||||
45 [label="Enter function getter" style="filled" fillcolor=red];
|
47 [label="Enter function getter" style="filled" fillcolor=red];
|
||||||
46 [label="Exit function getter" style="filled" fillcolor=red];
|
48 [label="Exit function getter" style="filled" fillcolor=red];
|
||||||
}
|
|
||||||
|
|
||||||
45 -> {46};
|
|
||||||
|
|
||||||
subgraph cluster_13 {
|
|
||||||
color=red
|
|
||||||
47 [label="Enter property" style="filled" fillcolor=red];
|
|
||||||
subgraph cluster_14 {
|
|
||||||
color=blue
|
|
||||||
48 [label="Try expression enter"];
|
|
||||||
subgraph cluster_15 {
|
|
||||||
color=blue
|
|
||||||
49 [label="Try main block enter"];
|
|
||||||
subgraph cluster_16 {
|
|
||||||
color=blue
|
|
||||||
50 [label="Enter block"];
|
|
||||||
51 [label="Const: Int(1)"];
|
|
||||||
52 [label="Exit block"];
|
|
||||||
}
|
|
||||||
53 [label="Try main block exit"];
|
|
||||||
}
|
|
||||||
subgraph cluster_17 {
|
|
||||||
color=blue
|
|
||||||
54 [label="Enter finally"];
|
|
||||||
subgraph cluster_18 {
|
|
||||||
color=blue
|
|
||||||
55 [label="Enter block"];
|
|
||||||
56 [label="Const: IntegerLiteral(0)"];
|
|
||||||
57 [label="Exit block"];
|
|
||||||
}
|
|
||||||
58 [label="Exit finally"];
|
|
||||||
}
|
|
||||||
subgraph cluster_19 {
|
|
||||||
color=blue
|
|
||||||
59 [label="Catch enter"];
|
|
||||||
subgraph cluster_20 {
|
|
||||||
color=blue
|
|
||||||
60 [label="Enter block"];
|
|
||||||
61 [label="Const: Int(2)"];
|
|
||||||
62 [label="Exit block"];
|
|
||||||
}
|
|
||||||
63 [label="Catch exit"];
|
|
||||||
}
|
|
||||||
64 [label="Try expression exit"];
|
|
||||||
}
|
|
||||||
65 [label="Exit property" style="filled" fillcolor=red];
|
|
||||||
}
|
}
|
||||||
|
|
||||||
47 -> {48};
|
47 -> {48};
|
||||||
48 -> {49};
|
|
||||||
49 -> {65 59 54 50};
|
subgraph cluster_13 {
|
||||||
|
color=red
|
||||||
|
49 [label="Enter property" style="filled" fillcolor=red];
|
||||||
|
subgraph cluster_14 {
|
||||||
|
color=blue
|
||||||
|
50 [label="Try expression enter"];
|
||||||
|
subgraph cluster_15 {
|
||||||
|
color=blue
|
||||||
|
51 [label="Try main block enter"];
|
||||||
|
subgraph cluster_16 {
|
||||||
|
color=blue
|
||||||
|
52 [label="Enter block"];
|
||||||
|
53 [label="Const: Int(1)"];
|
||||||
|
54 [label="Exit block"];
|
||||||
|
}
|
||||||
|
55 [label="Try main block exit"];
|
||||||
|
}
|
||||||
|
subgraph cluster_17 {
|
||||||
|
color=blue
|
||||||
|
56 [label="Enter finally"];
|
||||||
|
subgraph cluster_18 {
|
||||||
|
color=blue
|
||||||
|
57 [label="Enter block"];
|
||||||
|
58 [label="Const: IntegerLiteral(0)"];
|
||||||
|
59 [label="Exit block"];
|
||||||
|
}
|
||||||
|
60 [label="Exit finally"];
|
||||||
|
}
|
||||||
|
subgraph cluster_19 {
|
||||||
|
color=blue
|
||||||
|
61 [label="Catch enter"];
|
||||||
|
subgraph cluster_20 {
|
||||||
|
color=blue
|
||||||
|
62 [label="Enter block"];
|
||||||
|
63 [label="Const: Int(2)"];
|
||||||
|
64 [label="Exit block"];
|
||||||
|
}
|
||||||
|
65 [label="Catch exit"];
|
||||||
|
}
|
||||||
|
66 [label="Try expression exit"];
|
||||||
|
}
|
||||||
|
67 [label="Exit property" style="filled" fillcolor=red];
|
||||||
|
}
|
||||||
|
|
||||||
|
49 -> {50};
|
||||||
50 -> {51};
|
50 -> {51};
|
||||||
51 -> {52};
|
51 -> {67 61 56 52};
|
||||||
52 -> {53};
|
52 -> {53};
|
||||||
53 -> {64};
|
53 -> {54};
|
||||||
54 -> {55};
|
54 -> {55};
|
||||||
55 -> {56};
|
55 -> {66};
|
||||||
56 -> {57};
|
56 -> {57};
|
||||||
57 -> {58};
|
57 -> {58};
|
||||||
58 -> {64};
|
58 -> {59};
|
||||||
59 -> {65 60};
|
59 -> {60};
|
||||||
60 -> {61};
|
60 -> {66};
|
||||||
61 -> {62};
|
61 -> {67 62};
|
||||||
62 -> {63};
|
62 -> {63};
|
||||||
63 -> {64};
|
63 -> {64};
|
||||||
64 -> {65};
|
64 -> {65};
|
||||||
|
65 -> {66};
|
||||||
|
66 -> {67};
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -6,150 +6,154 @@ digraph returnValuesFromLambda_kt {
|
|||||||
subgraph cluster_0 {
|
subgraph cluster_0 {
|
||||||
color=red
|
color=red
|
||||||
0 [label="Enter function <init>" style="filled" fillcolor=red];
|
0 [label="Enter function <init>" style="filled" fillcolor=red];
|
||||||
1 [label="Exit function <init>" style="filled" fillcolor=red];
|
1 [label="Delegated constructor call: super<R|kotlin/Any|>()"];
|
||||||
|
2 [label="Exit function <init>" style="filled" fillcolor=red];
|
||||||
}
|
}
|
||||||
|
|
||||||
0 -> {1};
|
0 -> {1};
|
||||||
|
1 -> {2};
|
||||||
|
|
||||||
subgraph cluster_1 {
|
subgraph cluster_1 {
|
||||||
color=red
|
color=red
|
||||||
2 [label="Enter function <init>" style="filled" fillcolor=red];
|
3 [label="Enter function <init>" style="filled" fillcolor=red];
|
||||||
3 [label="Exit function <init>" style="filled" fillcolor=red];
|
4 [label="Delegated constructor call: super<R|kotlin/Any|>()"];
|
||||||
|
5 [label="Exit function <init>" style="filled" fillcolor=red];
|
||||||
}
|
}
|
||||||
|
|
||||||
2 -> {3};
|
3 -> {4};
|
||||||
|
4 -> {5};
|
||||||
|
|
||||||
subgraph cluster_2 {
|
subgraph cluster_2 {
|
||||||
color=red
|
color=red
|
||||||
4 [label="Enter function test_1" style="filled" fillcolor=red];
|
6 [label="Enter function test_1" style="filled" fillcolor=red];
|
||||||
5 [label="Postponed enter to lambda"];
|
7 [label="Postponed enter to lambda"];
|
||||||
subgraph cluster_3 {
|
subgraph cluster_3 {
|
||||||
color=blue
|
color=blue
|
||||||
6 [label="Enter function anonymousFunction"];
|
8 [label="Enter function anonymousFunction"];
|
||||||
subgraph cluster_4 {
|
subgraph cluster_4 {
|
||||||
color=blue
|
color=blue
|
||||||
7 [label="Enter when"];
|
9 [label="Enter when"];
|
||||||
subgraph cluster_5 {
|
subgraph cluster_5 {
|
||||||
color=blue
|
color=blue
|
||||||
8 [label="Enter when branch condition "];
|
10 [label="Enter when branch condition "];
|
||||||
9 [label="Access variable R|<local>/b|"];
|
11 [label="Access variable R|<local>/b|"];
|
||||||
10 [label="Exit when branch condition"];
|
12 [label="Exit when branch condition"];
|
||||||
}
|
}
|
||||||
11 [label="Synthetic else branch"];
|
13 [label="Synthetic else branch"];
|
||||||
12 [label="Enter when branch result"];
|
14 [label="Enter when branch result"];
|
||||||
subgraph cluster_6 {
|
subgraph cluster_6 {
|
||||||
color=blue
|
color=blue
|
||||||
13 [label="Enter block"];
|
15 [label="Enter block"];
|
||||||
14 [label="Function call: R|/B.B|()"];
|
16 [label="Function call: R|/B.B|()"];
|
||||||
15 [label="Jump: ^@run R|/B.B|()"];
|
17 [label="Jump: ^@run R|/B.B|()"];
|
||||||
16 [label="Stub" style="filled" fillcolor=gray];
|
18 [label="Stub" style="filled" fillcolor=gray];
|
||||||
17 [label="Exit block" style="filled" fillcolor=gray];
|
19 [label="Exit block" style="filled" fillcolor=gray];
|
||||||
}
|
}
|
||||||
18 [label="Exit when branch result" style="filled" fillcolor=gray];
|
20 [label="Exit when branch result" style="filled" fillcolor=gray];
|
||||||
19 [label="Exit when"];
|
21 [label="Exit when"];
|
||||||
}
|
}
|
||||||
20 [label="Function call: R|/C.C|()"];
|
22 [label="Function call: R|/C.C|()"];
|
||||||
21 [label="Exit function anonymousFunction"];
|
23 [label="Exit function anonymousFunction"];
|
||||||
}
|
}
|
||||||
22 [label="Call arguments union" style="filled" fillcolor=yellow];
|
24 [label="Call arguments union" style="filled" fillcolor=yellow];
|
||||||
23 [label="Postponed exit from lambda"];
|
25 [label="Postponed exit from lambda"];
|
||||||
24 [label="Function call: R|kotlin/run|<R|A|>(...)"];
|
26 [label="Function call: R|kotlin/run|<R|A|>(...)"];
|
||||||
25 [label="Variable declaration: lval x: R|A|"];
|
27 [label="Variable declaration: lval x: R|A|"];
|
||||||
26 [label="Exit function test_1" style="filled" fillcolor=red];
|
28 [label="Exit function test_1" style="filled" fillcolor=red];
|
||||||
}
|
}
|
||||||
|
|
||||||
4 -> {5};
|
|
||||||
5 -> {6};
|
|
||||||
5 -> {23} [color=red];
|
|
||||||
6 -> {7};
|
6 -> {7};
|
||||||
7 -> {8};
|
7 -> {8};
|
||||||
|
7 -> {25} [color=red];
|
||||||
8 -> {9};
|
8 -> {9};
|
||||||
9 -> {10};
|
9 -> {10};
|
||||||
10 -> {12 11};
|
10 -> {11};
|
||||||
11 -> {19};
|
11 -> {12};
|
||||||
12 -> {13};
|
12 -> {14 13};
|
||||||
13 -> {14};
|
13 -> {21};
|
||||||
14 -> {15};
|
14 -> {15};
|
||||||
15 -> {21};
|
15 -> {16};
|
||||||
15 -> {16} [style=dotted];
|
16 -> {17};
|
||||||
16 -> {17} [style=dotted];
|
17 -> {23};
|
||||||
17 -> {18} [style=dotted];
|
17 -> {18} [style=dotted];
|
||||||
18 -> {19} [style=dotted];
|
18 -> {19} [style=dotted];
|
||||||
19 -> {20};
|
19 -> {20} [style=dotted];
|
||||||
20 -> {21};
|
20 -> {21} [style=dotted];
|
||||||
21 -> {23} [color=green];
|
21 -> {22};
|
||||||
21 -> {22} [color=red];
|
22 -> {23};
|
||||||
22 -> {24} [color=red];
|
23 -> {25} [color=green];
|
||||||
23 -> {24} [color=green];
|
23 -> {24} [color=red];
|
||||||
24 -> {25};
|
24 -> {26} [color=red];
|
||||||
25 -> {26};
|
25 -> {26} [color=green];
|
||||||
|
26 -> {27};
|
||||||
|
27 -> {28};
|
||||||
|
|
||||||
subgraph cluster_7 {
|
subgraph cluster_7 {
|
||||||
color=red
|
color=red
|
||||||
27 [label="Enter function test_2" style="filled" fillcolor=red];
|
29 [label="Enter function test_2" style="filled" fillcolor=red];
|
||||||
28 [label="Postponed enter to lambda"];
|
30 [label="Postponed enter to lambda"];
|
||||||
subgraph cluster_8 {
|
subgraph cluster_8 {
|
||||||
color=blue
|
color=blue
|
||||||
29 [label="Enter function anonymousFunction"];
|
31 [label="Enter function anonymousFunction"];
|
||||||
30 [label="Function call: R|/C.C|()"];
|
32 [label="Function call: R|/C.C|()"];
|
||||||
31 [label="Jump: ^@run R|/C.C|()"];
|
33 [label="Jump: ^@run R|/C.C|()"];
|
||||||
32 [label="Stub" style="filled" fillcolor=gray];
|
34 [label="Stub" style="filled" fillcolor=gray];
|
||||||
33 [label="Exit function anonymousFunction"];
|
35 [label="Exit function anonymousFunction"];
|
||||||
}
|
}
|
||||||
34 [label="Call arguments union" style="filled" fillcolor=yellow];
|
36 [label="Call arguments union" style="filled" fillcolor=yellow];
|
||||||
35 [label="Postponed exit from lambda"];
|
37 [label="Postponed exit from lambda"];
|
||||||
36 [label="Function call: R|kotlin/run|<R|C|>(...)"];
|
38 [label="Function call: R|kotlin/run|<R|C|>(...)"];
|
||||||
37 [label="Variable declaration: lval x: R|C|"];
|
39 [label="Variable declaration: lval x: R|C|"];
|
||||||
38 [label="Exit function test_2" style="filled" fillcolor=red];
|
40 [label="Exit function test_2" style="filled" fillcolor=red];
|
||||||
}
|
}
|
||||||
|
|
||||||
27 -> {28};
|
|
||||||
28 -> {29};
|
|
||||||
28 -> {35} [color=red];
|
|
||||||
29 -> {30};
|
29 -> {30};
|
||||||
30 -> {31};
|
30 -> {31};
|
||||||
31 -> {33};
|
30 -> {37} [color=red];
|
||||||
31 -> {32} [style=dotted];
|
31 -> {32};
|
||||||
32 -> {33} [style=dotted];
|
32 -> {33};
|
||||||
33 -> {35} [color=green];
|
33 -> {35};
|
||||||
33 -> {34} [color=red];
|
33 -> {34} [style=dotted];
|
||||||
34 -> {36} [color=red];
|
34 -> {35} [style=dotted];
|
||||||
35 -> {36} [color=green];
|
35 -> {37} [color=green];
|
||||||
36 -> {37};
|
35 -> {36} [color=red];
|
||||||
37 -> {38};
|
36 -> {38} [color=red];
|
||||||
|
37 -> {38} [color=green];
|
||||||
|
38 -> {39};
|
||||||
|
39 -> {40};
|
||||||
|
|
||||||
subgraph cluster_9 {
|
subgraph cluster_9 {
|
||||||
color=red
|
color=red
|
||||||
39 [label="Enter function test_3" style="filled" fillcolor=red];
|
41 [label="Enter function test_3" style="filled" fillcolor=red];
|
||||||
40 [label="Postponed enter to lambda"];
|
42 [label="Postponed enter to lambda"];
|
||||||
subgraph cluster_10 {
|
subgraph cluster_10 {
|
||||||
color=blue
|
color=blue
|
||||||
41 [label="Enter function anonymousFunction"];
|
43 [label="Enter function anonymousFunction"];
|
||||||
42 [label="Jump: ^test_3 Unit"];
|
44 [label="Jump: ^test_3 Unit"];
|
||||||
43 [label="Stub" style="filled" fillcolor=gray];
|
45 [label="Stub" style="filled" fillcolor=gray];
|
||||||
44 [label="Exit function anonymousFunction" style="filled" fillcolor=gray];
|
46 [label="Exit function anonymousFunction" style="filled" fillcolor=gray];
|
||||||
}
|
}
|
||||||
45 [label="Call arguments union" style="filled" fillcolor=gray];
|
47 [label="Call arguments union" style="filled" fillcolor=gray];
|
||||||
46 [label="Postponed exit from lambda"];
|
48 [label="Postponed exit from lambda"];
|
||||||
47 [label="Function call: R|kotlin/run|<R|kotlin/Nothing|>(...)" style="filled" fillcolor=gray];
|
49 [label="Function call: R|kotlin/run|<R|kotlin/Nothing|>(...)" style="filled" fillcolor=gray];
|
||||||
48 [label="Stub" style="filled" fillcolor=gray];
|
50 [label="Stub" style="filled" fillcolor=gray];
|
||||||
49 [label="Variable declaration: lval x: R|kotlin/Nothing|" style="filled" fillcolor=gray];
|
51 [label="Variable declaration: lval x: R|kotlin/Nothing|" style="filled" fillcolor=gray];
|
||||||
50 [label="Exit function test_3" style="filled" fillcolor=red];
|
52 [label="Exit function test_3" style="filled" fillcolor=red];
|
||||||
}
|
}
|
||||||
|
|
||||||
39 -> {40};
|
|
||||||
40 -> {41};
|
|
||||||
40 -> {46} [color=red];
|
|
||||||
41 -> {42};
|
41 -> {42};
|
||||||
42 -> {50};
|
42 -> {43};
|
||||||
42 -> {43} [style=dotted];
|
42 -> {48} [color=red];
|
||||||
43 -> {44} [style=dotted];
|
43 -> {44};
|
||||||
|
44 -> {52};
|
||||||
44 -> {45} [style=dotted];
|
44 -> {45} [style=dotted];
|
||||||
44 -> {46} [color=green];
|
45 -> {46} [style=dotted];
|
||||||
45 -> {47} [style=dotted];
|
46 -> {47} [style=dotted];
|
||||||
46 -> {47} [color=green];
|
46 -> {48} [color=green];
|
||||||
47 -> {50 48} [style=dotted];
|
47 -> {49} [style=dotted];
|
||||||
48 -> {49} [style=dotted];
|
48 -> {49} [color=green];
|
||||||
49 -> {50} [style=dotted];
|
49 -> {52 50} [style=dotted];
|
||||||
|
50 -> {51} [style=dotted];
|
||||||
|
51 -> {52} [style=dotted];
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|||||||
+140
-136
@@ -6,93 +6,95 @@ digraph exhaustiveWhenAndDNNType_kt {
|
|||||||
subgraph cluster_0 {
|
subgraph cluster_0 {
|
||||||
color=red
|
color=red
|
||||||
0 [label="Enter function <init>" style="filled" fillcolor=red];
|
0 [label="Enter function <init>" style="filled" fillcolor=red];
|
||||||
1 [label="Exit function <init>" style="filled" fillcolor=red];
|
1 [label="Delegated constructor call: super<R|kotlin/Enum<SomeEnum>|>()"];
|
||||||
|
2 [label="Exit function <init>" style="filled" fillcolor=red];
|
||||||
}
|
}
|
||||||
|
|
||||||
0 -> {1};
|
0 -> {1};
|
||||||
|
1 -> {2};
|
||||||
|
|
||||||
subgraph cluster_1 {
|
subgraph cluster_1 {
|
||||||
color=red
|
color=red
|
||||||
2 [label="Enter function values" style="filled" fillcolor=red];
|
3 [label="Enter function values" style="filled" fillcolor=red];
|
||||||
3 [label="Exit function values" style="filled" fillcolor=red];
|
4 [label="Exit function values" style="filled" fillcolor=red];
|
||||||
}
|
}
|
||||||
|
|
||||||
2 -> {3};
|
3 -> {4};
|
||||||
|
|
||||||
subgraph cluster_2 {
|
subgraph cluster_2 {
|
||||||
color=red
|
color=red
|
||||||
4 [label="Enter function valueOf" style="filled" fillcolor=red];
|
5 [label="Enter function valueOf" style="filled" fillcolor=red];
|
||||||
5 [label="Exit function valueOf" style="filled" fillcolor=red];
|
6 [label="Exit function valueOf" style="filled" fillcolor=red];
|
||||||
}
|
}
|
||||||
|
|
||||||
4 -> {5};
|
5 -> {6};
|
||||||
|
|
||||||
subgraph cluster_3 {
|
subgraph cluster_3 {
|
||||||
color=red
|
color=red
|
||||||
6 [label="Enter function <init>" style="filled" fillcolor=red];
|
7 [label="Enter function <init>" style="filled" fillcolor=red];
|
||||||
7 [label="Exit function <init>" style="filled" fillcolor=red];
|
8 [label="Delegated constructor call: super<R|kotlin/Any|>()"];
|
||||||
|
9 [label="Exit function <init>" style="filled" fillcolor=red];
|
||||||
}
|
}
|
||||||
|
|
||||||
6 -> {7};
|
7 -> {8};
|
||||||
|
8 -> {9};
|
||||||
|
|
||||||
subgraph cluster_4 {
|
subgraph cluster_4 {
|
||||||
color=red
|
color=red
|
||||||
8 [label="Enter function takeB" style="filled" fillcolor=red];
|
10 [label="Enter function takeB" style="filled" fillcolor=red];
|
||||||
9 [label="Exit function takeB" style="filled" fillcolor=red];
|
11 [label="Exit function takeB" style="filled" fillcolor=red];
|
||||||
}
|
|
||||||
|
|
||||||
8 -> {9};
|
|
||||||
|
|
||||||
subgraph cluster_5 {
|
|
||||||
color=red
|
|
||||||
10 [label="Enter function test_1" style="filled" fillcolor=red];
|
|
||||||
11 [label="Access variable R|/SomeEnum.A1|"];
|
|
||||||
12 [label="Variable declaration: lval flag: R|SomeEnum|"];
|
|
||||||
subgraph cluster_6 {
|
|
||||||
color=blue
|
|
||||||
13 [label="Enter when"];
|
|
||||||
14 [label="Access variable R|<local>/flag|"];
|
|
||||||
15 [label="Check not null: R|<local>/flag|!!"];
|
|
||||||
subgraph cluster_7 {
|
|
||||||
color=blue
|
|
||||||
16 [label="Enter when branch condition "];
|
|
||||||
17 [label="Access variable R|/SomeEnum.A1|"];
|
|
||||||
18 [label="Operator =="];
|
|
||||||
19 [label="Exit when branch condition"];
|
|
||||||
}
|
|
||||||
subgraph cluster_8 {
|
|
||||||
color=blue
|
|
||||||
20 [label="Enter when branch condition "];
|
|
||||||
21 [label="Access variable R|/SomeEnum.A2|"];
|
|
||||||
22 [label="Operator =="];
|
|
||||||
23 [label="Exit when branch condition"];
|
|
||||||
}
|
|
||||||
24 [label="Enter when branch result"];
|
|
||||||
subgraph cluster_9 {
|
|
||||||
color=blue
|
|
||||||
25 [label="Enter block"];
|
|
||||||
26 [label="Function call: R|/B.B|()"];
|
|
||||||
27 [label="Exit block"];
|
|
||||||
}
|
|
||||||
28 [label="Exit when branch result"];
|
|
||||||
29 [label="Enter when branch result"];
|
|
||||||
subgraph cluster_10 {
|
|
||||||
color=blue
|
|
||||||
30 [label="Enter block"];
|
|
||||||
31 [label="Function call: R|/B.B|()"];
|
|
||||||
32 [label="Exit block"];
|
|
||||||
}
|
|
||||||
33 [label="Exit when branch result"];
|
|
||||||
34 [label="Exit when"];
|
|
||||||
}
|
|
||||||
35 [label="Variable declaration: lval b: R|B|"];
|
|
||||||
36 [label="Access variable R|<local>/b|"];
|
|
||||||
37 [label="Function call: R|/takeB|(...)"];
|
|
||||||
38 [label="Exit function test_1" style="filled" fillcolor=red];
|
|
||||||
}
|
}
|
||||||
|
|
||||||
10 -> {11};
|
10 -> {11};
|
||||||
11 -> {12};
|
|
||||||
|
subgraph cluster_5 {
|
||||||
|
color=red
|
||||||
|
12 [label="Enter function test_1" style="filled" fillcolor=red];
|
||||||
|
13 [label="Access variable R|/SomeEnum.A1|"];
|
||||||
|
14 [label="Variable declaration: lval flag: R|SomeEnum|"];
|
||||||
|
subgraph cluster_6 {
|
||||||
|
color=blue
|
||||||
|
15 [label="Enter when"];
|
||||||
|
16 [label="Access variable R|<local>/flag|"];
|
||||||
|
17 [label="Check not null: R|<local>/flag|!!"];
|
||||||
|
subgraph cluster_7 {
|
||||||
|
color=blue
|
||||||
|
18 [label="Enter when branch condition "];
|
||||||
|
19 [label="Access variable R|/SomeEnum.A1|"];
|
||||||
|
20 [label="Operator =="];
|
||||||
|
21 [label="Exit when branch condition"];
|
||||||
|
}
|
||||||
|
subgraph cluster_8 {
|
||||||
|
color=blue
|
||||||
|
22 [label="Enter when branch condition "];
|
||||||
|
23 [label="Access variable R|/SomeEnum.A2|"];
|
||||||
|
24 [label="Operator =="];
|
||||||
|
25 [label="Exit when branch condition"];
|
||||||
|
}
|
||||||
|
26 [label="Enter when branch result"];
|
||||||
|
subgraph cluster_9 {
|
||||||
|
color=blue
|
||||||
|
27 [label="Enter block"];
|
||||||
|
28 [label="Function call: R|/B.B|()"];
|
||||||
|
29 [label="Exit block"];
|
||||||
|
}
|
||||||
|
30 [label="Exit when branch result"];
|
||||||
|
31 [label="Enter when branch result"];
|
||||||
|
subgraph cluster_10 {
|
||||||
|
color=blue
|
||||||
|
32 [label="Enter block"];
|
||||||
|
33 [label="Function call: R|/B.B|()"];
|
||||||
|
34 [label="Exit block"];
|
||||||
|
}
|
||||||
|
35 [label="Exit when branch result"];
|
||||||
|
36 [label="Exit when"];
|
||||||
|
}
|
||||||
|
37 [label="Variable declaration: lval b: R|B|"];
|
||||||
|
38 [label="Access variable R|<local>/b|"];
|
||||||
|
39 [label="Function call: R|/takeB|(...)"];
|
||||||
|
40 [label="Exit function test_1" style="filled" fillcolor=red];
|
||||||
|
}
|
||||||
|
|
||||||
12 -> {13};
|
12 -> {13};
|
||||||
13 -> {14};
|
13 -> {14};
|
||||||
14 -> {15};
|
14 -> {15};
|
||||||
@@ -100,18 +102,18 @@ digraph exhaustiveWhenAndDNNType_kt {
|
|||||||
16 -> {17};
|
16 -> {17};
|
||||||
17 -> {18};
|
17 -> {18};
|
||||||
18 -> {19};
|
18 -> {19};
|
||||||
19 -> {29 20};
|
19 -> {20};
|
||||||
20 -> {21};
|
20 -> {21};
|
||||||
21 -> {22};
|
21 -> {31 22};
|
||||||
22 -> {23};
|
22 -> {23};
|
||||||
23 -> {24};
|
23 -> {24};
|
||||||
24 -> {25};
|
24 -> {25};
|
||||||
25 -> {26};
|
25 -> {26};
|
||||||
26 -> {27};
|
26 -> {27};
|
||||||
27 -> {28};
|
27 -> {28};
|
||||||
28 -> {34};
|
28 -> {29};
|
||||||
29 -> {30};
|
29 -> {30};
|
||||||
30 -> {31};
|
30 -> {36};
|
||||||
31 -> {32};
|
31 -> {32};
|
||||||
32 -> {33};
|
32 -> {33};
|
||||||
33 -> {34};
|
33 -> {34};
|
||||||
@@ -119,57 +121,57 @@ digraph exhaustiveWhenAndDNNType_kt {
|
|||||||
35 -> {36};
|
35 -> {36};
|
||||||
36 -> {37};
|
36 -> {37};
|
||||||
37 -> {38};
|
37 -> {38};
|
||||||
|
38 -> {39};
|
||||||
|
39 -> {40};
|
||||||
|
|
||||||
subgraph cluster_11 {
|
subgraph cluster_11 {
|
||||||
color=red
|
color=red
|
||||||
39 [label="Enter function test_2" style="filled" fillcolor=red];
|
41 [label="Enter function test_2" style="filled" fillcolor=red];
|
||||||
40 [label="Access variable R|/SomeEnum.A1|"];
|
42 [label="Access variable R|/SomeEnum.A1|"];
|
||||||
41 [label="Variable declaration: lval flag: R|SomeEnum|"];
|
43 [label="Variable declaration: lval flag: R|SomeEnum|"];
|
||||||
subgraph cluster_12 {
|
subgraph cluster_12 {
|
||||||
color=blue
|
color=blue
|
||||||
42 [label="Enter when"];
|
44 [label="Enter when"];
|
||||||
43 [label="Access variable R|<local>/flag|"];
|
45 [label="Access variable R|<local>/flag|"];
|
||||||
44 [label="Check not null: R|<local>/flag|!!"];
|
46 [label="Check not null: R|<local>/flag|!!"];
|
||||||
subgraph cluster_13 {
|
subgraph cluster_13 {
|
||||||
color=blue
|
color=blue
|
||||||
45 [label="Enter when branch condition "];
|
47 [label="Enter when branch condition "];
|
||||||
46 [label="Access variable R|/SomeEnum.A1|"];
|
48 [label="Access variable R|/SomeEnum.A1|"];
|
||||||
47 [label="Operator =="];
|
49 [label="Operator =="];
|
||||||
48 [label="Exit when branch condition"];
|
50 [label="Exit when branch condition"];
|
||||||
}
|
}
|
||||||
subgraph cluster_14 {
|
subgraph cluster_14 {
|
||||||
color=blue
|
color=blue
|
||||||
49 [label="Enter when branch condition "];
|
51 [label="Enter when branch condition "];
|
||||||
50 [label="Access variable R|/SomeEnum.A2|"];
|
52 [label="Access variable R|/SomeEnum.A2|"];
|
||||||
51 [label="Operator =="];
|
53 [label="Operator =="];
|
||||||
52 [label="Exit when branch condition"];
|
54 [label="Exit when branch condition"];
|
||||||
}
|
}
|
||||||
53 [label="Enter when branch result"];
|
55 [label="Enter when branch result"];
|
||||||
subgraph cluster_15 {
|
subgraph cluster_15 {
|
||||||
color=blue
|
color=blue
|
||||||
54 [label="Enter block"];
|
56 [label="Enter block"];
|
||||||
55 [label="Function call: R|/B.B|()"];
|
57 [label="Function call: R|/B.B|()"];
|
||||||
56 [label="Exit block"];
|
58 [label="Exit block"];
|
||||||
}
|
}
|
||||||
57 [label="Exit when branch result"];
|
59 [label="Exit when branch result"];
|
||||||
58 [label="Enter when branch result"];
|
60 [label="Enter when branch result"];
|
||||||
subgraph cluster_16 {
|
subgraph cluster_16 {
|
||||||
color=blue
|
color=blue
|
||||||
59 [label="Enter block"];
|
61 [label="Enter block"];
|
||||||
60 [label="Function call: R|/B.B|()"];
|
62 [label="Function call: R|/B.B|()"];
|
||||||
61 [label="Exit block"];
|
63 [label="Exit block"];
|
||||||
}
|
}
|
||||||
62 [label="Exit when branch result"];
|
64 [label="Exit when branch result"];
|
||||||
63 [label="Exit when"];
|
65 [label="Exit when"];
|
||||||
}
|
}
|
||||||
64 [label="Variable declaration: lval b: R|B|"];
|
66 [label="Variable declaration: lval b: R|B|"];
|
||||||
65 [label="Access variable R|<local>/b|"];
|
67 [label="Access variable R|<local>/b|"];
|
||||||
66 [label="Function call: R|/takeB|(...)"];
|
68 [label="Function call: R|/takeB|(...)"];
|
||||||
67 [label="Exit function test_2" style="filled" fillcolor=red];
|
69 [label="Exit function test_2" style="filled" fillcolor=red];
|
||||||
}
|
}
|
||||||
|
|
||||||
39 -> {40};
|
|
||||||
40 -> {41};
|
|
||||||
41 -> {42};
|
41 -> {42};
|
||||||
42 -> {43};
|
42 -> {43};
|
||||||
43 -> {44};
|
43 -> {44};
|
||||||
@@ -177,18 +179,18 @@ digraph exhaustiveWhenAndDNNType_kt {
|
|||||||
45 -> {46};
|
45 -> {46};
|
||||||
46 -> {47};
|
46 -> {47};
|
||||||
47 -> {48};
|
47 -> {48};
|
||||||
48 -> {58 49};
|
48 -> {49};
|
||||||
49 -> {50};
|
49 -> {50};
|
||||||
50 -> {51};
|
50 -> {60 51};
|
||||||
51 -> {52};
|
51 -> {52};
|
||||||
52 -> {53};
|
52 -> {53};
|
||||||
53 -> {54};
|
53 -> {54};
|
||||||
54 -> {55};
|
54 -> {55};
|
||||||
55 -> {56};
|
55 -> {56};
|
||||||
56 -> {57};
|
56 -> {57};
|
||||||
57 -> {63};
|
57 -> {58};
|
||||||
58 -> {59};
|
58 -> {59};
|
||||||
59 -> {60};
|
59 -> {65};
|
||||||
60 -> {61};
|
60 -> {61};
|
||||||
61 -> {62};
|
61 -> {62};
|
||||||
62 -> {63};
|
62 -> {63};
|
||||||
@@ -196,74 +198,74 @@ digraph exhaustiveWhenAndDNNType_kt {
|
|||||||
64 -> {65};
|
64 -> {65};
|
||||||
65 -> {66};
|
65 -> {66};
|
||||||
66 -> {67};
|
66 -> {67};
|
||||||
|
67 -> {68};
|
||||||
|
68 -> {69};
|
||||||
|
|
||||||
subgraph cluster_17 {
|
subgraph cluster_17 {
|
||||||
color=red
|
color=red
|
||||||
68 [label="Enter function test_3" style="filled" fillcolor=red];
|
70 [label="Enter function test_3" style="filled" fillcolor=red];
|
||||||
69 [label="Access variable R|/SomeEnum.A1|"];
|
71 [label="Access variable R|/SomeEnum.A1|"];
|
||||||
70 [label="Variable declaration: lval flag: R|SomeEnum|"];
|
72 [label="Variable declaration: lval flag: R|SomeEnum|"];
|
||||||
subgraph cluster_18 {
|
subgraph cluster_18 {
|
||||||
color=blue
|
color=blue
|
||||||
71 [label="Enter when"];
|
73 [label="Enter when"];
|
||||||
72 [label="Access variable R|<local>/flag|"];
|
74 [label="Access variable R|<local>/flag|"];
|
||||||
subgraph cluster_19 {
|
subgraph cluster_19 {
|
||||||
color=blue
|
color=blue
|
||||||
73 [label="Enter when branch condition "];
|
75 [label="Enter when branch condition "];
|
||||||
74 [label="Access variable R|/SomeEnum.A1|"];
|
76 [label="Access variable R|/SomeEnum.A1|"];
|
||||||
75 [label="Operator =="];
|
77 [label="Operator =="];
|
||||||
76 [label="Exit when branch condition"];
|
78 [label="Exit when branch condition"];
|
||||||
}
|
}
|
||||||
subgraph cluster_20 {
|
subgraph cluster_20 {
|
||||||
color=blue
|
color=blue
|
||||||
77 [label="Enter when branch condition "];
|
79 [label="Enter when branch condition "];
|
||||||
78 [label="Access variable R|/SomeEnum.A2|"];
|
80 [label="Access variable R|/SomeEnum.A2|"];
|
||||||
79 [label="Operator =="];
|
81 [label="Operator =="];
|
||||||
80 [label="Exit when branch condition"];
|
82 [label="Exit when branch condition"];
|
||||||
}
|
}
|
||||||
81 [label="Enter when branch result"];
|
83 [label="Enter when branch result"];
|
||||||
subgraph cluster_21 {
|
subgraph cluster_21 {
|
||||||
color=blue
|
color=blue
|
||||||
82 [label="Enter block"];
|
84 [label="Enter block"];
|
||||||
83 [label="Function call: R|/B.B|()"];
|
85 [label="Function call: R|/B.B|()"];
|
||||||
84 [label="Exit block"];
|
86 [label="Exit block"];
|
||||||
}
|
}
|
||||||
85 [label="Exit when branch result"];
|
87 [label="Exit when branch result"];
|
||||||
86 [label="Enter when branch result"];
|
88 [label="Enter when branch result"];
|
||||||
subgraph cluster_22 {
|
subgraph cluster_22 {
|
||||||
color=blue
|
color=blue
|
||||||
87 [label="Enter block"];
|
89 [label="Enter block"];
|
||||||
88 [label="Function call: R|/B.B|()"];
|
90 [label="Function call: R|/B.B|()"];
|
||||||
89 [label="Exit block"];
|
91 [label="Exit block"];
|
||||||
}
|
}
|
||||||
90 [label="Exit when branch result"];
|
92 [label="Exit when branch result"];
|
||||||
91 [label="Exit when"];
|
93 [label="Exit when"];
|
||||||
}
|
}
|
||||||
92 [label="Variable declaration: lval b: R|B|"];
|
94 [label="Variable declaration: lval b: R|B|"];
|
||||||
93 [label="Access variable R|<local>/b|"];
|
95 [label="Access variable R|<local>/b|"];
|
||||||
94 [label="Function call: R|/takeB|(...)"];
|
96 [label="Function call: R|/takeB|(...)"];
|
||||||
95 [label="Exit function test_3" style="filled" fillcolor=red];
|
97 [label="Exit function test_3" style="filled" fillcolor=red];
|
||||||
}
|
}
|
||||||
|
|
||||||
68 -> {69};
|
|
||||||
69 -> {70};
|
|
||||||
70 -> {71};
|
70 -> {71};
|
||||||
71 -> {72};
|
71 -> {72};
|
||||||
72 -> {73};
|
72 -> {73};
|
||||||
73 -> {74};
|
73 -> {74};
|
||||||
74 -> {75};
|
74 -> {75};
|
||||||
75 -> {76};
|
75 -> {76};
|
||||||
76 -> {86 77};
|
76 -> {77};
|
||||||
77 -> {78};
|
77 -> {78};
|
||||||
78 -> {79};
|
78 -> {88 79};
|
||||||
79 -> {80};
|
79 -> {80};
|
||||||
80 -> {81};
|
80 -> {81};
|
||||||
81 -> {82};
|
81 -> {82};
|
||||||
82 -> {83};
|
82 -> {83};
|
||||||
83 -> {84};
|
83 -> {84};
|
||||||
84 -> {85};
|
84 -> {85};
|
||||||
85 -> {91};
|
85 -> {86};
|
||||||
86 -> {87};
|
86 -> {87};
|
||||||
87 -> {88};
|
87 -> {93};
|
||||||
88 -> {89};
|
88 -> {89};
|
||||||
89 -> {90};
|
89 -> {90};
|
||||||
90 -> {91};
|
90 -> {91};
|
||||||
@@ -271,5 +273,7 @@ digraph exhaustiveWhenAndDNNType_kt {
|
|||||||
92 -> {93};
|
92 -> {93};
|
||||||
93 -> {94};
|
93 -> {94};
|
||||||
94 -> {95};
|
94 -> {95};
|
||||||
|
95 -> {96};
|
||||||
|
96 -> {97};
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|||||||
+96
-94
@@ -281,91 +281,92 @@ digraph boundSmartcasts_kt {
|
|||||||
subgraph cluster_21 {
|
subgraph cluster_21 {
|
||||||
color=red
|
color=red
|
||||||
103 [label="Enter function <init>" style="filled" fillcolor=red];
|
103 [label="Enter function <init>" style="filled" fillcolor=red];
|
||||||
104 [label="Exit function <init>" style="filled" fillcolor=red];
|
104 [label="Delegated constructor call: super<R|kotlin/Any|>()"];
|
||||||
|
105 [label="Exit function <init>" style="filled" fillcolor=red];
|
||||||
}
|
}
|
||||||
|
|
||||||
103 -> {104};
|
103 -> {104};
|
||||||
|
104 -> {105};
|
||||||
|
|
||||||
subgraph cluster_22 {
|
subgraph cluster_22 {
|
||||||
color=red
|
color=red
|
||||||
105 [label="Enter function getter" style="filled" fillcolor=red];
|
106 [label="Enter function getter" style="filled" fillcolor=red];
|
||||||
106 [label="Exit function getter" style="filled" fillcolor=red];
|
107 [label="Exit function getter" style="filled" fillcolor=red];
|
||||||
}
|
}
|
||||||
|
|
||||||
105 -> {106};
|
106 -> {107};
|
||||||
|
|
||||||
subgraph cluster_23 {
|
subgraph cluster_23 {
|
||||||
color=red
|
color=red
|
||||||
107 [label="Enter property" style="filled" fillcolor=red];
|
108 [label="Enter property" style="filled" fillcolor=red];
|
||||||
108 [label="Access variable R|<local>/any|"];
|
109 [label="Access variable R|<local>/any|"];
|
||||||
109 [label="Exit property" style="filled" fillcolor=red];
|
110 [label="Exit property" style="filled" fillcolor=red];
|
||||||
}
|
}
|
||||||
|
|
||||||
107 -> {108};
|
|
||||||
108 -> {109};
|
108 -> {109};
|
||||||
|
109 -> {110};
|
||||||
|
|
||||||
subgraph cluster_24 {
|
subgraph cluster_24 {
|
||||||
color=red
|
color=red
|
||||||
110 [label="Enter function baz" style="filled" fillcolor=red];
|
111 [label="Enter function baz" style="filled" fillcolor=red];
|
||||||
111 [label="Exit function baz" style="filled" fillcolor=red];
|
112 [label="Exit function baz" style="filled" fillcolor=red];
|
||||||
}
|
}
|
||||||
|
|
||||||
110 -> {111};
|
111 -> {112};
|
||||||
|
|
||||||
subgraph cluster_25 {
|
subgraph cluster_25 {
|
||||||
color=red
|
color=red
|
||||||
112 [label="Enter function test_5" style="filled" fillcolor=red];
|
113 [label="Enter function test_5" style="filled" fillcolor=red];
|
||||||
subgraph cluster_26 {
|
subgraph cluster_26 {
|
||||||
color=blue
|
color=blue
|
||||||
113 [label="Enter when"];
|
114 [label="Enter when"];
|
||||||
114 [label="Access variable R|<local>/d|"];
|
115 [label="Access variable R|<local>/d|"];
|
||||||
115 [label="Access variable R|/D.any|"];
|
116 [label="Access variable R|/D.any|"];
|
||||||
116 [label="Variable declaration: lval <elvis>: R|kotlin/Any?|"];
|
117 [label="Variable declaration: lval <elvis>: R|kotlin/Any?|"];
|
||||||
subgraph cluster_27 {
|
subgraph cluster_27 {
|
||||||
color=blue
|
color=blue
|
||||||
117 [label="Enter when branch condition "];
|
118 [label="Enter when branch condition "];
|
||||||
118 [label="Const: Null(null)"];
|
119 [label="Const: Null(null)"];
|
||||||
119 [label="Operator =="];
|
120 [label="Operator =="];
|
||||||
120 [label="Exit when branch condition"];
|
121 [label="Exit when branch condition"];
|
||||||
}
|
}
|
||||||
subgraph cluster_28 {
|
subgraph cluster_28 {
|
||||||
color=blue
|
color=blue
|
||||||
121 [label="Enter when branch condition else"];
|
122 [label="Enter when branch condition else"];
|
||||||
122 [label="Exit when branch condition"];
|
123 [label="Exit when branch condition"];
|
||||||
}
|
}
|
||||||
123 [label="Enter when branch result"];
|
124 [label="Enter when branch result"];
|
||||||
subgraph cluster_29 {
|
subgraph cluster_29 {
|
||||||
color=blue
|
color=blue
|
||||||
124 [label="Enter block"];
|
125 [label="Enter block"];
|
||||||
125 [label="Access variable R|<local>/<elvis>|"];
|
126 [label="Access variable R|<local>/<elvis>|"];
|
||||||
126 [label="Exit block"];
|
127 [label="Exit block"];
|
||||||
}
|
}
|
||||||
127 [label="Exit when branch result"];
|
128 [label="Exit when branch result"];
|
||||||
128 [label="Enter when branch result"];
|
129 [label="Enter when branch result"];
|
||||||
subgraph cluster_30 {
|
subgraph cluster_30 {
|
||||||
color=blue
|
color=blue
|
||||||
129 [label="Enter block"];
|
130 [label="Enter block"];
|
||||||
130 [label="Jump: ^test_5 Unit"];
|
131 [label="Jump: ^test_5 Unit"];
|
||||||
131 [label="Stub" style="filled" fillcolor=gray];
|
132 [label="Stub" style="filled" fillcolor=gray];
|
||||||
132 [label="Exit block" style="filled" fillcolor=gray];
|
133 [label="Exit block" style="filled" fillcolor=gray];
|
||||||
}
|
}
|
||||||
133 [label="Exit when branch result" style="filled" fillcolor=gray];
|
134 [label="Exit when branch result" style="filled" fillcolor=gray];
|
||||||
134 [label="Exit when"];
|
135 [label="Exit when"];
|
||||||
}
|
}
|
||||||
135 [label="Variable declaration: lval a: R|kotlin/Any|"];
|
136 [label="Variable declaration: lval a: R|kotlin/Any|"];
|
||||||
136 [label="Access variable R|<local>/a|"];
|
137 [label="Access variable R|<local>/a|"];
|
||||||
137 [label="Function call: R|<local>/a|.R|/baz|()"];
|
138 [label="Function call: R|<local>/a|.R|/baz|()"];
|
||||||
138 [label="Access variable R|<local>/d|"];
|
139 [label="Access variable R|<local>/d|"];
|
||||||
139 [label="Access variable R|/D.any|"];
|
140 [label="Access variable R|/D.any|"];
|
||||||
140 [label="Function call: R|<local>/d|.R|/D.any|.R|/baz|()"];
|
141 [label="Function call: R|<local>/d|.R|/D.any|.R|/baz|()"];
|
||||||
141 [label="Access variable R|<local>/a|"];
|
142 [label="Access variable R|<local>/a|"];
|
||||||
142 [label="Type operator: (R|<local>/a| as R|A|)"];
|
143 [label="Type operator: (R|<local>/a| as R|A|)"];
|
||||||
143 [label="Access variable R|<local>/a|"];
|
144 [label="Access variable R|<local>/a|"];
|
||||||
144 [label="Function call: R|<local>/a|.R|/A.foo|()"];
|
145 [label="Function call: R|<local>/a|.R|/A.foo|()"];
|
||||||
145 [label="Exit function test_5" style="filled" fillcolor=red];
|
146 [label="Exit function test_5" style="filled" fillcolor=red];
|
||||||
}
|
}
|
||||||
|
|
||||||
112 -> {113};
|
|
||||||
113 -> {114};
|
113 -> {114};
|
||||||
114 -> {115};
|
114 -> {115};
|
||||||
115 -> {116};
|
115 -> {116};
|
||||||
@@ -373,22 +374,22 @@ digraph boundSmartcasts_kt {
|
|||||||
117 -> {118};
|
117 -> {118};
|
||||||
118 -> {119};
|
118 -> {119};
|
||||||
119 -> {120};
|
119 -> {120};
|
||||||
120 -> {128 121};
|
120 -> {121};
|
||||||
121 -> {122};
|
121 -> {129 122};
|
||||||
122 -> {123};
|
122 -> {123};
|
||||||
123 -> {124};
|
123 -> {124};
|
||||||
124 -> {125};
|
124 -> {125};
|
||||||
125 -> {126};
|
125 -> {126};
|
||||||
126 -> {127};
|
126 -> {127};
|
||||||
127 -> {134};
|
127 -> {128};
|
||||||
128 -> {129};
|
128 -> {135};
|
||||||
129 -> {130};
|
129 -> {130};
|
||||||
130 -> {145};
|
130 -> {131};
|
||||||
130 -> {131} [style=dotted];
|
131 -> {146};
|
||||||
131 -> {132} [style=dotted];
|
131 -> {132} [style=dotted];
|
||||||
132 -> {133} [style=dotted];
|
132 -> {133} [style=dotted];
|
||||||
133 -> {134} [style=dotted];
|
133 -> {134} [style=dotted];
|
||||||
134 -> {135};
|
134 -> {135} [style=dotted];
|
||||||
135 -> {136};
|
135 -> {136};
|
||||||
136 -> {137};
|
136 -> {137};
|
||||||
137 -> {138};
|
137 -> {138};
|
||||||
@@ -399,27 +400,27 @@ digraph boundSmartcasts_kt {
|
|||||||
142 -> {143};
|
142 -> {143};
|
||||||
143 -> {144};
|
143 -> {144};
|
||||||
144 -> {145};
|
144 -> {145};
|
||||||
|
145 -> {146};
|
||||||
|
|
||||||
subgraph cluster_31 {
|
subgraph cluster_31 {
|
||||||
color=red
|
color=red
|
||||||
146 [label="Enter function test_6" style="filled" fillcolor=red];
|
147 [label="Enter function test_6" style="filled" fillcolor=red];
|
||||||
147 [label="Access variable R|<local>/d1|"];
|
148 [label="Access variable R|<local>/d1|"];
|
||||||
148 [label="Access variable R|/D.any|"];
|
149 [label="Access variable R|/D.any|"];
|
||||||
149 [label="Variable declaration: lval a: R|kotlin/Any?|"];
|
150 [label="Variable declaration: lval a: R|kotlin/Any?|"];
|
||||||
150 [label="Access variable R|<local>/a|"];
|
151 [label="Access variable R|<local>/a|"];
|
||||||
151 [label="Type operator: (R|<local>/a| as R|A|)"];
|
152 [label="Type operator: (R|<local>/a| as R|A|)"];
|
||||||
152 [label="Access variable R|<local>/a|"];
|
153 [label="Access variable R|<local>/a|"];
|
||||||
153 [label="Function call: R|<local>/a|.R|/A.foo|()"];
|
154 [label="Function call: R|<local>/a|.R|/A.foo|()"];
|
||||||
154 [label="Access variable R|<local>/d1|"];
|
155 [label="Access variable R|<local>/d1|"];
|
||||||
155 [label="Access variable R|/D.any|"];
|
156 [label="Access variable R|/D.any|"];
|
||||||
156 [label="Function call: R|<local>/d1|.R|/D.any|.R|/A.foo|()"];
|
157 [label="Function call: R|<local>/d1|.R|/D.any|.R|/A.foo|()"];
|
||||||
157 [label="Access variable R|<local>/d1|"];
|
158 [label="Access variable R|<local>/d1|"];
|
||||||
158 [label="Access variable R|/D.any|"];
|
159 [label="Access variable R|/D.any|"];
|
||||||
159 [label="Function call: R|<local>/d1|.R|/D.any|.R|/baz|()"];
|
160 [label="Function call: R|<local>/d1|.R|/D.any|.R|/baz|()"];
|
||||||
160 [label="Exit function test_6" style="filled" fillcolor=red];
|
161 [label="Exit function test_6" style="filled" fillcolor=red];
|
||||||
}
|
}
|
||||||
|
|
||||||
146 -> {147};
|
|
||||||
147 -> {148};
|
147 -> {148};
|
||||||
148 -> {149};
|
148 -> {149};
|
||||||
149 -> {150};
|
149 -> {150};
|
||||||
@@ -433,39 +434,39 @@ digraph boundSmartcasts_kt {
|
|||||||
157 -> {158};
|
157 -> {158};
|
||||||
158 -> {159};
|
158 -> {159};
|
||||||
159 -> {160};
|
159 -> {160};
|
||||||
|
160 -> {161};
|
||||||
|
|
||||||
subgraph cluster_32 {
|
subgraph cluster_32 {
|
||||||
color=red
|
color=red
|
||||||
161 [label="Enter function test_7" style="filled" fillcolor=red];
|
162 [label="Enter function test_7" style="filled" fillcolor=red];
|
||||||
162 [label="Access variable R|<local>/d1|"];
|
163 [label="Access variable R|<local>/d1|"];
|
||||||
163 [label="Enter safe call"];
|
164 [label="Enter safe call"];
|
||||||
164 [label="Access variable R|/D.any|"];
|
165 [label="Access variable R|/D.any|"];
|
||||||
165 [label="Exit safe call"];
|
166 [label="Exit safe call"];
|
||||||
166 [label="Variable declaration: lval a: R|kotlin/Any?|"];
|
167 [label="Variable declaration: lval a: R|kotlin/Any?|"];
|
||||||
167 [label="Access variable R|<local>/d2|"];
|
168 [label="Access variable R|<local>/d2|"];
|
||||||
168 [label="Enter safe call"];
|
169 [label="Enter safe call"];
|
||||||
169 [label="Access variable R|/D.any|"];
|
170 [label="Access variable R|/D.any|"];
|
||||||
170 [label="Exit safe call"];
|
171 [label="Exit safe call"];
|
||||||
171 [label="Variable declaration: lval b: R|kotlin/Any?|"];
|
172 [label="Variable declaration: lval b: R|kotlin/Any?|"];
|
||||||
172 [label="Access variable R|<local>/a|"];
|
173 [label="Access variable R|<local>/a|"];
|
||||||
173 [label="Type operator: (R|<local>/a| as R|A|)"];
|
174 [label="Type operator: (R|<local>/a| as R|A|)"];
|
||||||
174 [label="Access variable R|<local>/a|"];
|
175 [label="Access variable R|<local>/a|"];
|
||||||
175 [label="Function call: R|<local>/a|.R|/A.foo|()"];
|
176 [label="Function call: R|<local>/a|.R|/A.foo|()"];
|
||||||
176 [label="Access variable R|<local>/b|"];
|
177 [label="Access variable R|<local>/b|"];
|
||||||
177 [label="Type operator: (R|<local>/b| as R|B|)"];
|
178 [label="Type operator: (R|<local>/b| as R|B|)"];
|
||||||
178 [label="Access variable R|<local>/b|"];
|
179 [label="Access variable R|<local>/b|"];
|
||||||
179 [label="Function call: R|<local>/b|.R|/B.bar|()"];
|
180 [label="Function call: R|<local>/b|.R|/B.bar|()"];
|
||||||
180 [label="Exit function test_7" style="filled" fillcolor=red];
|
181 [label="Exit function test_7" style="filled" fillcolor=red];
|
||||||
}
|
}
|
||||||
|
|
||||||
161 -> {162};
|
162 -> {163};
|
||||||
162 -> {163 165};
|
163 -> {164 166};
|
||||||
163 -> {164};
|
|
||||||
164 -> {165};
|
164 -> {165};
|
||||||
165 -> {166};
|
165 -> {166};
|
||||||
166 -> {167};
|
166 -> {167};
|
||||||
167 -> {168 170};
|
167 -> {168};
|
||||||
168 -> {169};
|
168 -> {169 171};
|
||||||
169 -> {170};
|
169 -> {170};
|
||||||
170 -> {171};
|
170 -> {171};
|
||||||
171 -> {172};
|
171 -> {172};
|
||||||
@@ -477,5 +478,6 @@ digraph boundSmartcasts_kt {
|
|||||||
177 -> {178};
|
177 -> {178};
|
||||||
178 -> {179};
|
178 -> {179};
|
||||||
179 -> {180};
|
179 -> {180};
|
||||||
|
180 -> {181};
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|||||||
Vendored
+361
-359
File diff suppressed because it is too large
Load Diff
+69
-65
@@ -6,95 +6,99 @@ digraph functionCallBound_kt {
|
|||||||
subgraph cluster_0 {
|
subgraph cluster_0 {
|
||||||
color=red
|
color=red
|
||||||
0 [label="Enter function <init>" style="filled" fillcolor=red];
|
0 [label="Enter function <init>" style="filled" fillcolor=red];
|
||||||
1 [label="Exit function <init>" style="filled" fillcolor=red];
|
1 [label="Delegated constructor call: super<R|kotlin/Any|>()"];
|
||||||
|
2 [label="Exit function <init>" style="filled" fillcolor=red];
|
||||||
}
|
}
|
||||||
|
|
||||||
0 -> {1};
|
0 -> {1};
|
||||||
|
1 -> {2};
|
||||||
|
|
||||||
subgraph cluster_1 {
|
subgraph cluster_1 {
|
||||||
color=red
|
color=red
|
||||||
2 [label="Enter function <init>" style="filled" fillcolor=red];
|
3 [label="Enter function <init>" style="filled" fillcolor=red];
|
||||||
3 [label="Exit function <init>" style="filled" fillcolor=red];
|
4 [label="Delegated constructor call: super<R|Base|>()"];
|
||||||
|
5 [label="Exit function <init>" style="filled" fillcolor=red];
|
||||||
}
|
}
|
||||||
|
|
||||||
2 -> {3};
|
3 -> {4};
|
||||||
|
4 -> {5};
|
||||||
|
|
||||||
subgraph cluster_2 {
|
subgraph cluster_2 {
|
||||||
color=red
|
color=red
|
||||||
4 [label="Enter function getter" style="filled" fillcolor=red];
|
6 [label="Enter function getter" style="filled" fillcolor=red];
|
||||||
5 [label="Exit function getter" style="filled" fillcolor=red];
|
7 [label="Exit function getter" style="filled" fillcolor=red];
|
||||||
}
|
|
||||||
|
|
||||||
4 -> {5};
|
|
||||||
|
|
||||||
subgraph cluster_3 {
|
|
||||||
color=red
|
|
||||||
6 [label="Enter property" style="filled" fillcolor=red];
|
|
||||||
7 [label="Access variable R|<local>/data|"];
|
|
||||||
8 [label="Exit property" style="filled" fillcolor=red];
|
|
||||||
}
|
}
|
||||||
|
|
||||||
6 -> {7};
|
6 -> {7};
|
||||||
7 -> {8};
|
|
||||||
|
subgraph cluster_3 {
|
||||||
|
color=red
|
||||||
|
8 [label="Enter property" style="filled" fillcolor=red];
|
||||||
|
9 [label="Access variable R|<local>/data|"];
|
||||||
|
10 [label="Exit property" style="filled" fillcolor=red];
|
||||||
|
}
|
||||||
|
|
||||||
|
8 -> {9};
|
||||||
|
9 -> {10};
|
||||||
|
|
||||||
subgraph cluster_4 {
|
subgraph cluster_4 {
|
||||||
color=red
|
color=red
|
||||||
9 [label="Enter function isOk" style="filled" fillcolor=red];
|
11 [label="Enter function isOk" style="filled" fillcolor=red];
|
||||||
10 [label="Const: Boolean(true)"];
|
12 [label="Const: Boolean(true)"];
|
||||||
11 [label="Jump: ^isOk Boolean(true)"];
|
13 [label="Jump: ^isOk Boolean(true)"];
|
||||||
12 [label="Stub" style="filled" fillcolor=gray];
|
14 [label="Stub" style="filled" fillcolor=gray];
|
||||||
13 [label="Exit function isOk" style="filled" fillcolor=red];
|
15 [label="Exit function isOk" style="filled" fillcolor=red];
|
||||||
}
|
}
|
||||||
|
|
||||||
9 -> {10};
|
11 -> {12};
|
||||||
10 -> {11};
|
12 -> {13};
|
||||||
11 -> {13};
|
13 -> {15};
|
||||||
11 -> {12} [style=dotted];
|
13 -> {14} [style=dotted];
|
||||||
12 -> {13} [style=dotted];
|
14 -> {15} [style=dotted];
|
||||||
|
|
||||||
subgraph cluster_5 {
|
subgraph cluster_5 {
|
||||||
color=red
|
color=red
|
||||||
14 [label="Enter function check" style="filled" fillcolor=red];
|
16 [label="Enter function check" style="filled" fillcolor=red];
|
||||||
subgraph cluster_6 {
|
subgraph cluster_6 {
|
||||||
color=blue
|
color=blue
|
||||||
15 [label="Enter when"];
|
17 [label="Enter when"];
|
||||||
subgraph cluster_7 {
|
subgraph cluster_7 {
|
||||||
color=blue
|
color=blue
|
||||||
16 [label="Enter when branch condition "];
|
18 [label="Enter when branch condition "];
|
||||||
17 [label="Access variable R|<local>/base|"];
|
19 [label="Access variable R|<local>/base|"];
|
||||||
18 [label="Type operator: (R|<local>/base| as? R|Sub|)"];
|
20 [label="Type operator: (R|<local>/base| as? R|Sub|)"];
|
||||||
19 [label="Enter safe call"];
|
21 [label="Enter safe call"];
|
||||||
20 [label="Function call: (R|<local>/base| as? R|Sub|)?.R|/isOk|()"];
|
22 [label="Function call: (R|<local>/base| as? R|Sub|)?.R|/isOk|()"];
|
||||||
21 [label="Exit safe call"];
|
23 [label="Exit safe call"];
|
||||||
22 [label="Const: Boolean(true)"];
|
24 [label="Const: Boolean(true)"];
|
||||||
23 [label="Operator =="];
|
25 [label="Operator =="];
|
||||||
24 [label="Exit when branch condition"];
|
26 [label="Exit when branch condition"];
|
||||||
}
|
}
|
||||||
subgraph cluster_8 {
|
subgraph cluster_8 {
|
||||||
color=blue
|
color=blue
|
||||||
25 [label="Enter when branch condition else"];
|
27 [label="Enter when branch condition else"];
|
||||||
26 [label="Exit when branch condition"];
|
28 [label="Exit when branch condition"];
|
||||||
}
|
}
|
||||||
27 [label="Enter when branch result"];
|
29 [label="Enter when branch result"];
|
||||||
subgraph cluster_9 {
|
subgraph cluster_9 {
|
||||||
color=blue
|
color=blue
|
||||||
28 [label="Enter block"];
|
30 [label="Enter block"];
|
||||||
29 [label="Access variable R|<local>/base|"];
|
31 [label="Access variable R|<local>/base|"];
|
||||||
30 [label="Exit block"];
|
32 [label="Exit block"];
|
||||||
}
|
}
|
||||||
31 [label="Exit when branch result"];
|
33 [label="Exit when branch result"];
|
||||||
32 [label="Enter when branch result"];
|
34 [label="Enter when branch result"];
|
||||||
subgraph cluster_10 {
|
subgraph cluster_10 {
|
||||||
color=blue
|
color=blue
|
||||||
33 [label="Enter block"];
|
35 [label="Enter block"];
|
||||||
34 [label="Access variable R|<local>/base|"];
|
36 [label="Access variable R|<local>/base|"];
|
||||||
35 [label="Access variable R|/Sub.data|"];
|
37 [label="Access variable R|/Sub.data|"];
|
||||||
36 [label="Exit block"];
|
38 [label="Exit block"];
|
||||||
}
|
}
|
||||||
37 [label="Exit when branch result"];
|
39 [label="Exit when branch result"];
|
||||||
38 [label="Exit when"];
|
40 [label="Exit when"];
|
||||||
}
|
}
|
||||||
39 [label="Jump: ^check when () {
|
41 [label="Jump: ^check when () {
|
||||||
==((R|<local>/base| as? R|Sub|)?.R|/isOk|(), Boolean(true)) -> {
|
==((R|<local>/base| as? R|Sub|)?.R|/isOk|(), Boolean(true)) -> {
|
||||||
R|<local>/base|.R|/Sub.data|
|
R|<local>/base|.R|/Sub.data|
|
||||||
}
|
}
|
||||||
@@ -103,37 +107,37 @@ digraph functionCallBound_kt {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
"];
|
"];
|
||||||
40 [label="Stub" style="filled" fillcolor=gray];
|
42 [label="Stub" style="filled" fillcolor=gray];
|
||||||
41 [label="Exit function check" style="filled" fillcolor=red];
|
43 [label="Exit function check" style="filled" fillcolor=red];
|
||||||
}
|
}
|
||||||
|
|
||||||
14 -> {15};
|
|
||||||
15 -> {16};
|
|
||||||
16 -> {17};
|
16 -> {17};
|
||||||
17 -> {18};
|
17 -> {18};
|
||||||
18 -> {19 21};
|
18 -> {19};
|
||||||
19 -> {20};
|
19 -> {20};
|
||||||
20 -> {21};
|
20 -> {21 23};
|
||||||
21 -> {22};
|
21 -> {22};
|
||||||
22 -> {23};
|
22 -> {23};
|
||||||
23 -> {24};
|
23 -> {24};
|
||||||
24 -> {32 25};
|
24 -> {25};
|
||||||
25 -> {26};
|
25 -> {26};
|
||||||
26 -> {27};
|
26 -> {34 27};
|
||||||
27 -> {28};
|
27 -> {28};
|
||||||
28 -> {29};
|
28 -> {29};
|
||||||
29 -> {30};
|
29 -> {30};
|
||||||
30 -> {31};
|
30 -> {31};
|
||||||
31 -> {38};
|
31 -> {32};
|
||||||
32 -> {33};
|
32 -> {33};
|
||||||
33 -> {34};
|
33 -> {40};
|
||||||
34 -> {35};
|
34 -> {35};
|
||||||
35 -> {36};
|
35 -> {36};
|
||||||
36 -> {37};
|
36 -> {37};
|
||||||
37 -> {38};
|
37 -> {38};
|
||||||
38 -> {39};
|
38 -> {39};
|
||||||
39 -> {41};
|
39 -> {40};
|
||||||
39 -> {40} [style=dotted];
|
40 -> {41};
|
||||||
40 -> {41} [style=dotted];
|
41 -> {43};
|
||||||
|
41 -> {42} [style=dotted];
|
||||||
|
42 -> {43} [style=dotted];
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|||||||
+653
-647
File diff suppressed because it is too large
Load Diff
+275
-271
@@ -6,106 +6,108 @@ digraph implicitReceivers_kt {
|
|||||||
subgraph cluster_0 {
|
subgraph cluster_0 {
|
||||||
color=red
|
color=red
|
||||||
0 [label="Enter function <init>" style="filled" fillcolor=red];
|
0 [label="Enter function <init>" style="filled" fillcolor=red];
|
||||||
1 [label="Exit function <init>" style="filled" fillcolor=red];
|
1 [label="Delegated constructor call: super<R|kotlin/Any|>()"];
|
||||||
|
2 [label="Exit function <init>" style="filled" fillcolor=red];
|
||||||
}
|
}
|
||||||
|
|
||||||
0 -> {1};
|
0 -> {1};
|
||||||
|
1 -> {2};
|
||||||
|
|
||||||
subgraph cluster_1 {
|
subgraph cluster_1 {
|
||||||
color=red
|
color=red
|
||||||
2 [label="Enter function foo" style="filled" fillcolor=red];
|
3 [label="Enter function foo" style="filled" fillcolor=red];
|
||||||
3 [label="Exit function foo" style="filled" fillcolor=red];
|
4 [label="Exit function foo" style="filled" fillcolor=red];
|
||||||
}
|
}
|
||||||
|
|
||||||
2 -> {3};
|
3 -> {4};
|
||||||
|
|
||||||
subgraph cluster_2 {
|
subgraph cluster_2 {
|
||||||
color=red
|
color=red
|
||||||
4 [label="Enter function <init>" style="filled" fillcolor=red];
|
5 [label="Enter function <init>" style="filled" fillcolor=red];
|
||||||
5 [label="Exit function <init>" style="filled" fillcolor=red];
|
6 [label="Delegated constructor call: super<R|kotlin/Any|>()"];
|
||||||
|
7 [label="Exit function <init>" style="filled" fillcolor=red];
|
||||||
}
|
}
|
||||||
|
|
||||||
4 -> {5};
|
5 -> {6};
|
||||||
|
6 -> {7};
|
||||||
|
|
||||||
subgraph cluster_3 {
|
subgraph cluster_3 {
|
||||||
color=red
|
color=red
|
||||||
6 [label="Enter function bar" style="filled" fillcolor=red];
|
8 [label="Enter function bar" style="filled" fillcolor=red];
|
||||||
7 [label="Exit function bar" style="filled" fillcolor=red];
|
9 [label="Exit function bar" style="filled" fillcolor=red];
|
||||||
}
|
|
||||||
|
|
||||||
6 -> {7};
|
|
||||||
|
|
||||||
subgraph cluster_4 {
|
|
||||||
color=red
|
|
||||||
8 [label="Enter function with" style="filled" fillcolor=red];
|
|
||||||
9 [label="Exit function with" style="filled" fillcolor=red];
|
|
||||||
}
|
}
|
||||||
|
|
||||||
8 -> {9};
|
8 -> {9};
|
||||||
|
|
||||||
subgraph cluster_5 {
|
subgraph cluster_4 {
|
||||||
color=red
|
color=red
|
||||||
10 [label="Enter function test_1" style="filled" fillcolor=red];
|
10 [label="Enter function with" style="filled" fillcolor=red];
|
||||||
subgraph cluster_6 {
|
11 [label="Exit function with" style="filled" fillcolor=red];
|
||||||
color=blue
|
|
||||||
11 [label="Enter when"];
|
|
||||||
subgraph cluster_7 {
|
|
||||||
color=blue
|
|
||||||
12 [label="Enter when branch condition "];
|
|
||||||
13 [label="Access variable this@R|/test_1|"];
|
|
||||||
14 [label="Type operator: (this@R|/test_1| is R|A|)"];
|
|
||||||
15 [label="Exit when branch condition"];
|
|
||||||
}
|
|
||||||
subgraph cluster_8 {
|
|
||||||
color=blue
|
|
||||||
16 [label="Enter when branch condition else"];
|
|
||||||
17 [label="Exit when branch condition"];
|
|
||||||
}
|
|
||||||
18 [label="Enter when branch result"];
|
|
||||||
subgraph cluster_9 {
|
|
||||||
color=blue
|
|
||||||
19 [label="Enter block"];
|
|
||||||
20 [label="Access variable this@R|/test_1|"];
|
|
||||||
21 [label="Function call: this@R|/test_1|.<Unresolved name: foo>#()"];
|
|
||||||
22 [label="Function call: <Unresolved name: foo>#()"];
|
|
||||||
23 [label="Exit block"];
|
|
||||||
}
|
|
||||||
24 [label="Exit when branch result"];
|
|
||||||
25 [label="Enter when branch result"];
|
|
||||||
subgraph cluster_10 {
|
|
||||||
color=blue
|
|
||||||
26 [label="Enter block"];
|
|
||||||
27 [label="Access variable this@R|/test_1|"];
|
|
||||||
28 [label="Function call: this@R|/test_1|.R|/A.foo|()"];
|
|
||||||
29 [label="Function call: this@R|/test_1|.R|/A.foo|()"];
|
|
||||||
30 [label="Exit block"];
|
|
||||||
}
|
|
||||||
31 [label="Exit when branch result"];
|
|
||||||
32 [label="Exit when"];
|
|
||||||
}
|
|
||||||
33 [label="Access variable this@R|/test_1|"];
|
|
||||||
34 [label="Function call: this@R|/test_1|.<Unresolved name: foo>#()"];
|
|
||||||
35 [label="Function call: <Unresolved name: foo>#()"];
|
|
||||||
36 [label="Exit function test_1" style="filled" fillcolor=red];
|
|
||||||
}
|
}
|
||||||
|
|
||||||
10 -> {11};
|
10 -> {11};
|
||||||
11 -> {12};
|
|
||||||
|
subgraph cluster_5 {
|
||||||
|
color=red
|
||||||
|
12 [label="Enter function test_1" style="filled" fillcolor=red];
|
||||||
|
subgraph cluster_6 {
|
||||||
|
color=blue
|
||||||
|
13 [label="Enter when"];
|
||||||
|
subgraph cluster_7 {
|
||||||
|
color=blue
|
||||||
|
14 [label="Enter when branch condition "];
|
||||||
|
15 [label="Access variable this@R|/test_1|"];
|
||||||
|
16 [label="Type operator: (this@R|/test_1| is R|A|)"];
|
||||||
|
17 [label="Exit when branch condition"];
|
||||||
|
}
|
||||||
|
subgraph cluster_8 {
|
||||||
|
color=blue
|
||||||
|
18 [label="Enter when branch condition else"];
|
||||||
|
19 [label="Exit when branch condition"];
|
||||||
|
}
|
||||||
|
20 [label="Enter when branch result"];
|
||||||
|
subgraph cluster_9 {
|
||||||
|
color=blue
|
||||||
|
21 [label="Enter block"];
|
||||||
|
22 [label="Access variable this@R|/test_1|"];
|
||||||
|
23 [label="Function call: this@R|/test_1|.<Unresolved name: foo>#()"];
|
||||||
|
24 [label="Function call: <Unresolved name: foo>#()"];
|
||||||
|
25 [label="Exit block"];
|
||||||
|
}
|
||||||
|
26 [label="Exit when branch result"];
|
||||||
|
27 [label="Enter when branch result"];
|
||||||
|
subgraph cluster_10 {
|
||||||
|
color=blue
|
||||||
|
28 [label="Enter block"];
|
||||||
|
29 [label="Access variable this@R|/test_1|"];
|
||||||
|
30 [label="Function call: this@R|/test_1|.R|/A.foo|()"];
|
||||||
|
31 [label="Function call: this@R|/test_1|.R|/A.foo|()"];
|
||||||
|
32 [label="Exit block"];
|
||||||
|
}
|
||||||
|
33 [label="Exit when branch result"];
|
||||||
|
34 [label="Exit when"];
|
||||||
|
}
|
||||||
|
35 [label="Access variable this@R|/test_1|"];
|
||||||
|
36 [label="Function call: this@R|/test_1|.<Unresolved name: foo>#()"];
|
||||||
|
37 [label="Function call: <Unresolved name: foo>#()"];
|
||||||
|
38 [label="Exit function test_1" style="filled" fillcolor=red];
|
||||||
|
}
|
||||||
|
|
||||||
12 -> {13};
|
12 -> {13};
|
||||||
13 -> {14};
|
13 -> {14};
|
||||||
14 -> {15};
|
14 -> {15};
|
||||||
15 -> {25 16};
|
15 -> {16};
|
||||||
16 -> {17};
|
16 -> {17};
|
||||||
17 -> {18};
|
17 -> {27 18};
|
||||||
18 -> {19};
|
18 -> {19};
|
||||||
19 -> {20};
|
19 -> {20};
|
||||||
20 -> {21};
|
20 -> {21};
|
||||||
21 -> {22};
|
21 -> {22};
|
||||||
22 -> {23};
|
22 -> {23};
|
||||||
23 -> {24};
|
23 -> {24};
|
||||||
24 -> {32};
|
24 -> {25};
|
||||||
25 -> {26};
|
25 -> {26};
|
||||||
26 -> {27};
|
26 -> {34};
|
||||||
27 -> {28};
|
27 -> {28};
|
||||||
28 -> {29};
|
28 -> {29};
|
||||||
29 -> {30};
|
29 -> {30};
|
||||||
@@ -115,70 +117,70 @@ digraph implicitReceivers_kt {
|
|||||||
33 -> {34};
|
33 -> {34};
|
||||||
34 -> {35};
|
34 -> {35};
|
||||||
35 -> {36};
|
35 -> {36};
|
||||||
|
36 -> {37};
|
||||||
|
37 -> {38};
|
||||||
|
|
||||||
subgraph cluster_11 {
|
subgraph cluster_11 {
|
||||||
color=red
|
color=red
|
||||||
37 [label="Enter function test_2" style="filled" fillcolor=red];
|
39 [label="Enter function test_2" style="filled" fillcolor=red];
|
||||||
subgraph cluster_12 {
|
subgraph cluster_12 {
|
||||||
color=blue
|
color=blue
|
||||||
38 [label="Enter when"];
|
40 [label="Enter when"];
|
||||||
subgraph cluster_13 {
|
subgraph cluster_13 {
|
||||||
color=blue
|
color=blue
|
||||||
39 [label="Enter when branch condition "];
|
41 [label="Enter when branch condition "];
|
||||||
40 [label="Access variable this@R|/test_2|"];
|
42 [label="Access variable this@R|/test_2|"];
|
||||||
41 [label="Type operator: (this@R|/test_2| !is R|A|)"];
|
43 [label="Type operator: (this@R|/test_2| !is R|A|)"];
|
||||||
42 [label="Exit when branch condition"];
|
44 [label="Exit when branch condition"];
|
||||||
}
|
}
|
||||||
subgraph cluster_14 {
|
subgraph cluster_14 {
|
||||||
color=blue
|
color=blue
|
||||||
43 [label="Enter when branch condition else"];
|
45 [label="Enter when branch condition else"];
|
||||||
44 [label="Exit when branch condition"];
|
46 [label="Exit when branch condition"];
|
||||||
}
|
}
|
||||||
45 [label="Enter when branch result"];
|
47 [label="Enter when branch result"];
|
||||||
subgraph cluster_15 {
|
subgraph cluster_15 {
|
||||||
color=blue
|
color=blue
|
||||||
46 [label="Enter block"];
|
48 [label="Enter block"];
|
||||||
47 [label="Access variable this@R|/test_2|"];
|
49 [label="Access variable this@R|/test_2|"];
|
||||||
48 [label="Function call: this@R|/test_2|.R|/A.foo|()"];
|
50 [label="Function call: this@R|/test_2|.R|/A.foo|()"];
|
||||||
49 [label="Function call: this@R|/test_2|.R|/A.foo|()"];
|
51 [label="Function call: this@R|/test_2|.R|/A.foo|()"];
|
||||||
50 [label="Exit block"];
|
52 [label="Exit block"];
|
||||||
}
|
}
|
||||||
51 [label="Exit when branch result"];
|
53 [label="Exit when branch result"];
|
||||||
52 [label="Enter when branch result"];
|
54 [label="Enter when branch result"];
|
||||||
subgraph cluster_16 {
|
subgraph cluster_16 {
|
||||||
color=blue
|
color=blue
|
||||||
53 [label="Enter block"];
|
55 [label="Enter block"];
|
||||||
54 [label="Access variable this@R|/test_2|"];
|
56 [label="Access variable this@R|/test_2|"];
|
||||||
55 [label="Function call: this@R|/test_2|.<Unresolved name: foo>#()"];
|
57 [label="Function call: this@R|/test_2|.<Unresolved name: foo>#()"];
|
||||||
56 [label="Function call: <Unresolved name: foo>#()"];
|
58 [label="Function call: <Unresolved name: foo>#()"];
|
||||||
57 [label="Exit block"];
|
59 [label="Exit block"];
|
||||||
}
|
}
|
||||||
58 [label="Exit when branch result"];
|
60 [label="Exit when branch result"];
|
||||||
59 [label="Exit when"];
|
61 [label="Exit when"];
|
||||||
}
|
}
|
||||||
60 [label="Access variable this@R|/test_2|"];
|
62 [label="Access variable this@R|/test_2|"];
|
||||||
61 [label="Function call: this@R|/test_2|.<Unresolved name: foo>#()"];
|
63 [label="Function call: this@R|/test_2|.<Unresolved name: foo>#()"];
|
||||||
62 [label="Function call: <Unresolved name: foo>#()"];
|
64 [label="Function call: <Unresolved name: foo>#()"];
|
||||||
63 [label="Exit function test_2" style="filled" fillcolor=red];
|
65 [label="Exit function test_2" style="filled" fillcolor=red];
|
||||||
}
|
}
|
||||||
|
|
||||||
37 -> {38};
|
|
||||||
38 -> {39};
|
|
||||||
39 -> {40};
|
39 -> {40};
|
||||||
40 -> {41};
|
40 -> {41};
|
||||||
41 -> {42};
|
41 -> {42};
|
||||||
42 -> {52 43};
|
42 -> {43};
|
||||||
43 -> {44};
|
43 -> {44};
|
||||||
44 -> {45};
|
44 -> {54 45};
|
||||||
45 -> {46};
|
45 -> {46};
|
||||||
46 -> {47};
|
46 -> {47};
|
||||||
47 -> {48};
|
47 -> {48};
|
||||||
48 -> {49};
|
48 -> {49};
|
||||||
49 -> {50};
|
49 -> {50};
|
||||||
50 -> {51};
|
50 -> {51};
|
||||||
51 -> {59};
|
51 -> {52};
|
||||||
52 -> {53};
|
52 -> {53};
|
||||||
53 -> {54};
|
53 -> {61};
|
||||||
54 -> {55};
|
54 -> {55};
|
||||||
55 -> {56};
|
55 -> {56};
|
||||||
56 -> {57};
|
56 -> {57};
|
||||||
@@ -188,197 +190,197 @@ digraph implicitReceivers_kt {
|
|||||||
60 -> {61};
|
60 -> {61};
|
||||||
61 -> {62};
|
61 -> {62};
|
||||||
62 -> {63};
|
62 -> {63};
|
||||||
|
63 -> {64};
|
||||||
|
64 -> {65};
|
||||||
|
|
||||||
subgraph cluster_17 {
|
subgraph cluster_17 {
|
||||||
color=red
|
color=red
|
||||||
64 [label="Enter function test_3" style="filled" fillcolor=red];
|
66 [label="Enter function test_3" style="filled" fillcolor=red];
|
||||||
65 [label="Access variable R|<local>/a|"];
|
67 [label="Access variable R|<local>/a|"];
|
||||||
66 [label="Postponed enter to lambda"];
|
68 [label="Postponed enter to lambda"];
|
||||||
subgraph cluster_18 {
|
subgraph cluster_18 {
|
||||||
color=blue
|
color=blue
|
||||||
67 [label="Enter function anonymousFunction"];
|
69 [label="Enter function anonymousFunction"];
|
||||||
68 [label="Access variable R|<local>/b|"];
|
70 [label="Access variable R|<local>/b|"];
|
||||||
69 [label="Postponed enter to lambda"];
|
71 [label="Postponed enter to lambda"];
|
||||||
subgraph cluster_19 {
|
subgraph cluster_19 {
|
||||||
color=blue
|
color=blue
|
||||||
70 [label="Enter function anonymousFunction"];
|
72 [label="Enter function anonymousFunction"];
|
||||||
71 [label="Access variable R|<local>/c|"];
|
73 [label="Access variable R|<local>/c|"];
|
||||||
72 [label="Postponed enter to lambda"];
|
74 [label="Postponed enter to lambda"];
|
||||||
subgraph cluster_20 {
|
subgraph cluster_20 {
|
||||||
color=blue
|
color=blue
|
||||||
73 [label="Enter function anonymousFunction"];
|
75 [label="Enter function anonymousFunction"];
|
||||||
74 [label="Access variable this@R|special/anonymous|"];
|
|
||||||
75 [label="Type operator: (this@R|special/anonymous| as R|A|)"];
|
|
||||||
76 [label="Access variable this@R|special/anonymous|"];
|
76 [label="Access variable this@R|special/anonymous|"];
|
||||||
77 [label="Function call: this@R|special/anonymous|.R|/A.foo|()"];
|
77 [label="Type operator: (this@R|special/anonymous| as R|A|)"];
|
||||||
78 [label="Function call: this@R|special/anonymous|.R|/A.foo|()"];
|
78 [label="Access variable this@R|special/anonymous|"];
|
||||||
79 [label="Exit function anonymousFunction"];
|
79 [label="Function call: this@R|special/anonymous|.R|/A.foo|()"];
|
||||||
|
80 [label="Function call: this@R|special/anonymous|.R|/A.foo|()"];
|
||||||
|
81 [label="Exit function anonymousFunction"];
|
||||||
}
|
}
|
||||||
80 [label="Call arguments union" style="filled" fillcolor=yellow];
|
82 [label="Call arguments union" style="filled" fillcolor=yellow];
|
||||||
81 [label="Postponed exit from lambda"];
|
83 [label="Postponed exit from lambda"];
|
||||||
82 [label="Function call: R|kotlin/with|<R|kotlin/Any|, R|kotlin/Unit|>(...)"];
|
84 [label="Function call: R|kotlin/with|<R|kotlin/Any|, R|kotlin/Unit|>(...)"];
|
||||||
83 [label="Access variable this@R|special/anonymous|"];
|
85 [label="Access variable this@R|special/anonymous|"];
|
||||||
84 [label="Function call: this@R|special/anonymous|.R|/A.foo|()"];
|
86 [label="Function call: this@R|special/anonymous|.R|/A.foo|()"];
|
||||||
85 [label="Function call: this@R|special/anonymous|.R|/A.foo|()"];
|
87 [label="Function call: this@R|special/anonymous|.R|/A.foo|()"];
|
||||||
86 [label="Exit function anonymousFunction"];
|
88 [label="Exit function anonymousFunction"];
|
||||||
}
|
}
|
||||||
87 [label="Call arguments union" style="filled" fillcolor=yellow];
|
89 [label="Call arguments union" style="filled" fillcolor=yellow];
|
||||||
88 [label="Postponed exit from lambda"];
|
90 [label="Postponed exit from lambda"];
|
||||||
89 [label="Function call: R|kotlin/with|<R|kotlin/Any|, R|kotlin/Unit|>(...)"];
|
91 [label="Function call: R|kotlin/with|<R|kotlin/Any|, R|kotlin/Unit|>(...)"];
|
||||||
90 [label="Exit function anonymousFunction"];
|
92 [label="Exit function anonymousFunction"];
|
||||||
}
|
}
|
||||||
91 [label="Call arguments union" style="filled" fillcolor=yellow];
|
93 [label="Call arguments union" style="filled" fillcolor=yellow];
|
||||||
92 [label="Postponed exit from lambda"];
|
94 [label="Postponed exit from lambda"];
|
||||||
93 [label="Function call: R|kotlin/with|<R|kotlin/Any|, R|kotlin/Unit|>(...)"];
|
95 [label="Function call: R|kotlin/with|<R|kotlin/Any|, R|kotlin/Unit|>(...)"];
|
||||||
94 [label="Exit function test_3" style="filled" fillcolor=red];
|
96 [label="Exit function test_3" style="filled" fillcolor=red];
|
||||||
}
|
}
|
||||||
|
|
||||||
64 -> {65};
|
|
||||||
65 -> {66};
|
|
||||||
66 -> {67};
|
66 -> {67};
|
||||||
66 -> {92} [color=red];
|
|
||||||
67 -> {68};
|
67 -> {68};
|
||||||
68 -> {69};
|
68 -> {69};
|
||||||
|
68 -> {94} [color=red];
|
||||||
69 -> {70};
|
69 -> {70};
|
||||||
69 -> {88} [color=red];
|
|
||||||
70 -> {71};
|
70 -> {71};
|
||||||
71 -> {72};
|
71 -> {72};
|
||||||
|
71 -> {90} [color=red];
|
||||||
72 -> {73};
|
72 -> {73};
|
||||||
72 -> {81} [color=red];
|
|
||||||
73 -> {74};
|
73 -> {74};
|
||||||
74 -> {75};
|
74 -> {75};
|
||||||
|
74 -> {83} [color=red];
|
||||||
75 -> {76};
|
75 -> {76};
|
||||||
76 -> {77};
|
76 -> {77};
|
||||||
77 -> {78};
|
77 -> {78};
|
||||||
78 -> {79};
|
78 -> {79};
|
||||||
79 -> {81} [color=green];
|
79 -> {80};
|
||||||
79 -> {80} [color=red];
|
80 -> {81};
|
||||||
80 -> {82} [color=red];
|
81 -> {83} [color=green];
|
||||||
81 -> {82} [color=green];
|
81 -> {82} [color=red];
|
||||||
82 -> {83};
|
82 -> {84} [color=red];
|
||||||
83 -> {84};
|
83 -> {84} [color=green];
|
||||||
84 -> {85};
|
84 -> {85};
|
||||||
85 -> {86};
|
85 -> {86};
|
||||||
86 -> {88} [color=green];
|
86 -> {87};
|
||||||
86 -> {87} [color=red];
|
87 -> {88};
|
||||||
87 -> {89} [color=red];
|
88 -> {90} [color=green];
|
||||||
88 -> {89} [color=green];
|
88 -> {89} [color=red];
|
||||||
89 -> {90};
|
89 -> {91} [color=red];
|
||||||
90 -> {92} [color=green];
|
90 -> {91} [color=green];
|
||||||
90 -> {91} [color=red];
|
91 -> {92};
|
||||||
91 -> {93} [color=red];
|
92 -> {94} [color=green];
|
||||||
92 -> {93} [color=green];
|
92 -> {93} [color=red];
|
||||||
93 -> {94};
|
93 -> {95} [color=red];
|
||||||
|
94 -> {95} [color=green];
|
||||||
|
95 -> {96};
|
||||||
|
|
||||||
subgraph cluster_21 {
|
subgraph cluster_21 {
|
||||||
color=red
|
color=red
|
||||||
95 [label="Enter function test_4" style="filled" fillcolor=red];
|
97 [label="Enter function test_4" style="filled" fillcolor=red];
|
||||||
subgraph cluster_22 {
|
subgraph cluster_22 {
|
||||||
color=blue
|
color=blue
|
||||||
96 [label="Enter when"];
|
98 [label="Enter when"];
|
||||||
subgraph cluster_23 {
|
subgraph cluster_23 {
|
||||||
color=blue
|
color=blue
|
||||||
97 [label="Enter when branch condition "];
|
99 [label="Enter when branch condition "];
|
||||||
98 [label="Access variable this@R|/test_4|"];
|
100 [label="Access variable this@R|/test_4|"];
|
||||||
99 [label="Type operator: (this@R|/test_4| !is R|A|)"];
|
101 [label="Type operator: (this@R|/test_4| !is R|A|)"];
|
||||||
100 [label="Exit when branch condition"];
|
102 [label="Exit when branch condition"];
|
||||||
}
|
}
|
||||||
subgraph cluster_24 {
|
subgraph cluster_24 {
|
||||||
color=blue
|
color=blue
|
||||||
101 [label="Enter when branch condition else"];
|
103 [label="Enter when branch condition else"];
|
||||||
102 [label="Exit when branch condition"];
|
104 [label="Exit when branch condition"];
|
||||||
}
|
}
|
||||||
103 [label="Enter when branch result"];
|
105 [label="Enter when branch result"];
|
||||||
subgraph cluster_25 {
|
subgraph cluster_25 {
|
||||||
color=blue
|
color=blue
|
||||||
104 [label="Enter block"];
|
106 [label="Enter block"];
|
||||||
subgraph cluster_26 {
|
subgraph cluster_26 {
|
||||||
color=blue
|
color=blue
|
||||||
105 [label="Enter when"];
|
107 [label="Enter when"];
|
||||||
subgraph cluster_27 {
|
subgraph cluster_27 {
|
||||||
color=blue
|
color=blue
|
||||||
106 [label="Enter when branch condition "];
|
108 [label="Enter when branch condition "];
|
||||||
107 [label="Access variable this@R|/test_4|"];
|
109 [label="Access variable this@R|/test_4|"];
|
||||||
108 [label="Type operator: (this@R|/test_4| !is R|B|)"];
|
110 [label="Type operator: (this@R|/test_4| !is R|B|)"];
|
||||||
109 [label="Exit when branch condition"];
|
111 [label="Exit when branch condition"];
|
||||||
}
|
}
|
||||||
subgraph cluster_28 {
|
subgraph cluster_28 {
|
||||||
color=blue
|
color=blue
|
||||||
110 [label="Enter when branch condition else"];
|
112 [label="Enter when branch condition else"];
|
||||||
111 [label="Exit when branch condition"];
|
113 [label="Exit when branch condition"];
|
||||||
}
|
}
|
||||||
112 [label="Enter when branch result"];
|
114 [label="Enter when branch result"];
|
||||||
subgraph cluster_29 {
|
subgraph cluster_29 {
|
||||||
color=blue
|
color=blue
|
||||||
113 [label="Enter block"];
|
115 [label="Enter block"];
|
||||||
114 [label="Access variable this@R|/test_4|"];
|
116 [label="Access variable this@R|/test_4|"];
|
||||||
115 [label="Function call: this@R|/test_4|.R|/A.foo|()"];
|
117 [label="Function call: this@R|/test_4|.R|/A.foo|()"];
|
||||||
116 [label="Function call: this@R|/test_4|.R|/A.foo|()"];
|
118 [label="Function call: this@R|/test_4|.R|/A.foo|()"];
|
||||||
117 [label="Access variable this@R|/test_4|"];
|
119 [label="Access variable this@R|/test_4|"];
|
||||||
118 [label="Function call: this@R|/test_4|.R|/B.bar|()"];
|
120 [label="Function call: this@R|/test_4|.R|/B.bar|()"];
|
||||||
119 [label="Function call: this@R|/test_4|.R|/B.bar|()"];
|
121 [label="Function call: this@R|/test_4|.R|/B.bar|()"];
|
||||||
120 [label="Exit block"];
|
122 [label="Exit block"];
|
||||||
}
|
}
|
||||||
121 [label="Exit when branch result"];
|
123 [label="Exit when branch result"];
|
||||||
122 [label="Enter when branch result"];
|
124 [label="Enter when branch result"];
|
||||||
subgraph cluster_30 {
|
subgraph cluster_30 {
|
||||||
color=blue
|
color=blue
|
||||||
123 [label="Enter block"];
|
125 [label="Enter block"];
|
||||||
124 [label="Access variable this@R|/test_4|"];
|
126 [label="Access variable this@R|/test_4|"];
|
||||||
125 [label="Function call: this@R|/test_4|.<Unresolved name: bar>#()"];
|
127 [label="Function call: this@R|/test_4|.<Unresolved name: bar>#()"];
|
||||||
126 [label="Function call: <Unresolved name: bar>#()"];
|
128 [label="Function call: <Unresolved name: bar>#()"];
|
||||||
127 [label="Access variable this@R|/test_4|"];
|
129 [label="Access variable this@R|/test_4|"];
|
||||||
128 [label="Function call: this@R|/test_4|.R|/A.foo|()"];
|
130 [label="Function call: this@R|/test_4|.R|/A.foo|()"];
|
||||||
129 [label="Function call: this@R|/test_4|.R|/A.foo|()"];
|
131 [label="Function call: this@R|/test_4|.R|/A.foo|()"];
|
||||||
130 [label="Exit block"];
|
132 [label="Exit block"];
|
||||||
}
|
}
|
||||||
131 [label="Exit when branch result"];
|
133 [label="Exit when branch result"];
|
||||||
132 [label="Exit when"];
|
134 [label="Exit when"];
|
||||||
}
|
}
|
||||||
133 [label="Exit block"];
|
135 [label="Exit block"];
|
||||||
}
|
}
|
||||||
134 [label="Exit when branch result"];
|
136 [label="Exit when branch result"];
|
||||||
135 [label="Enter when branch result"];
|
137 [label="Enter when branch result"];
|
||||||
subgraph cluster_31 {
|
subgraph cluster_31 {
|
||||||
color=blue
|
color=blue
|
||||||
136 [label="Enter block"];
|
138 [label="Enter block"];
|
||||||
137 [label="Access variable this@R|/test_4|"];
|
139 [label="Access variable this@R|/test_4|"];
|
||||||
138 [label="Function call: this@R|/test_4|.<Unresolved name: foo>#()"];
|
140 [label="Function call: this@R|/test_4|.<Unresolved name: foo>#()"];
|
||||||
139 [label="Function call: <Unresolved name: foo>#()"];
|
141 [label="Function call: <Unresolved name: foo>#()"];
|
||||||
140 [label="Access variable this@R|/test_4|"];
|
142 [label="Access variable this@R|/test_4|"];
|
||||||
141 [label="Function call: this@R|/test_4|.<Unresolved name: bar>#()"];
|
143 [label="Function call: this@R|/test_4|.<Unresolved name: bar>#()"];
|
||||||
142 [label="Function call: <Unresolved name: bar>#()"];
|
144 [label="Function call: <Unresolved name: bar>#()"];
|
||||||
143 [label="Exit block"];
|
145 [label="Exit block"];
|
||||||
}
|
}
|
||||||
144 [label="Exit when branch result"];
|
146 [label="Exit when branch result"];
|
||||||
145 [label="Exit when"];
|
147 [label="Exit when"];
|
||||||
}
|
}
|
||||||
146 [label="Access variable this@R|/test_4|"];
|
148 [label="Access variable this@R|/test_4|"];
|
||||||
147 [label="Function call: this@R|/test_4|.<Unresolved name: foo>#()"];
|
149 [label="Function call: this@R|/test_4|.<Unresolved name: foo>#()"];
|
||||||
148 [label="Function call: <Unresolved name: foo>#()"];
|
150 [label="Function call: <Unresolved name: foo>#()"];
|
||||||
149 [label="Access variable this@R|/test_4|"];
|
151 [label="Access variable this@R|/test_4|"];
|
||||||
150 [label="Function call: this@R|/test_4|.<Unresolved name: bar>#()"];
|
152 [label="Function call: this@R|/test_4|.<Unresolved name: bar>#()"];
|
||||||
151 [label="Function call: <Unresolved name: bar>#()"];
|
153 [label="Function call: <Unresolved name: bar>#()"];
|
||||||
152 [label="Exit function test_4" style="filled" fillcolor=red];
|
154 [label="Exit function test_4" style="filled" fillcolor=red];
|
||||||
}
|
}
|
||||||
|
|
||||||
95 -> {96};
|
|
||||||
96 -> {97};
|
|
||||||
97 -> {98};
|
97 -> {98};
|
||||||
98 -> {99};
|
98 -> {99};
|
||||||
99 -> {100};
|
99 -> {100};
|
||||||
100 -> {135 101};
|
100 -> {101};
|
||||||
101 -> {102};
|
101 -> {102};
|
||||||
102 -> {103};
|
102 -> {137 103};
|
||||||
103 -> {104};
|
103 -> {104};
|
||||||
104 -> {105};
|
104 -> {105};
|
||||||
105 -> {106};
|
105 -> {106};
|
||||||
106 -> {107};
|
106 -> {107};
|
||||||
107 -> {108};
|
107 -> {108};
|
||||||
108 -> {109};
|
108 -> {109};
|
||||||
109 -> {122 110};
|
109 -> {110};
|
||||||
110 -> {111};
|
110 -> {111};
|
||||||
111 -> {112};
|
111 -> {124 112};
|
||||||
112 -> {113};
|
112 -> {113};
|
||||||
113 -> {114};
|
113 -> {114};
|
||||||
114 -> {115};
|
114 -> {115};
|
||||||
@@ -388,9 +390,9 @@ digraph implicitReceivers_kt {
|
|||||||
118 -> {119};
|
118 -> {119};
|
||||||
119 -> {120};
|
119 -> {120};
|
||||||
120 -> {121};
|
120 -> {121};
|
||||||
121 -> {132};
|
121 -> {122};
|
||||||
122 -> {123};
|
122 -> {123};
|
||||||
123 -> {124};
|
123 -> {134};
|
||||||
124 -> {125};
|
124 -> {125};
|
||||||
125 -> {126};
|
125 -> {126};
|
||||||
126 -> {127};
|
126 -> {127};
|
||||||
@@ -401,9 +403,9 @@ digraph implicitReceivers_kt {
|
|||||||
131 -> {132};
|
131 -> {132};
|
||||||
132 -> {133};
|
132 -> {133};
|
||||||
133 -> {134};
|
133 -> {134};
|
||||||
134 -> {145};
|
134 -> {135};
|
||||||
135 -> {136};
|
135 -> {136};
|
||||||
136 -> {137};
|
136 -> {147};
|
||||||
137 -> {138};
|
137 -> {138};
|
||||||
138 -> {139};
|
138 -> {139};
|
||||||
139 -> {140};
|
139 -> {140};
|
||||||
@@ -419,59 +421,61 @@ digraph implicitReceivers_kt {
|
|||||||
149 -> {150};
|
149 -> {150};
|
||||||
150 -> {151};
|
150 -> {151};
|
||||||
151 -> {152};
|
151 -> {152};
|
||||||
|
152 -> {153};
|
||||||
|
153 -> {154};
|
||||||
|
|
||||||
subgraph cluster_32 {
|
subgraph cluster_32 {
|
||||||
color=red
|
color=red
|
||||||
153 [label="Enter function test_5" style="filled" fillcolor=red];
|
155 [label="Enter function test_5" style="filled" fillcolor=red];
|
||||||
subgraph cluster_33 {
|
subgraph cluster_33 {
|
||||||
color=blue
|
color=blue
|
||||||
154 [label="Enter when"];
|
156 [label="Enter when"];
|
||||||
subgraph cluster_34 {
|
subgraph cluster_34 {
|
||||||
color=blue
|
color=blue
|
||||||
155 [label="Enter when branch condition "];
|
157 [label="Enter when branch condition "];
|
||||||
156 [label="Access variable this@R|/test_5|"];
|
158 [label="Access variable this@R|/test_5|"];
|
||||||
157 [label="Type operator: (this@R|/test_5| is R|kotlin/collections/List<*>|)"];
|
159 [label="Type operator: (this@R|/test_5| is R|kotlin/collections/List<*>|)"];
|
||||||
158 [label="Exit when branch condition"];
|
160 [label="Exit when branch condition"];
|
||||||
}
|
}
|
||||||
subgraph cluster_35 {
|
subgraph cluster_35 {
|
||||||
color=blue
|
color=blue
|
||||||
159 [label="Enter when branch condition "];
|
161 [label="Enter when branch condition "];
|
||||||
160 [label="Access variable this@R|/test_5|"];
|
162 [label="Access variable this@R|/test_5|"];
|
||||||
161 [label="Type operator: (this@R|/test_5| is R|kotlin/String|)"];
|
163 [label="Type operator: (this@R|/test_5| is R|kotlin/String|)"];
|
||||||
162 [label="Exit when branch condition"];
|
164 [label="Exit when branch condition"];
|
||||||
}
|
}
|
||||||
subgraph cluster_36 {
|
subgraph cluster_36 {
|
||||||
color=blue
|
color=blue
|
||||||
163 [label="Enter when branch condition else"];
|
165 [label="Enter when branch condition else"];
|
||||||
164 [label="Exit when branch condition"];
|
166 [label="Exit when branch condition"];
|
||||||
}
|
}
|
||||||
165 [label="Enter when branch result"];
|
167 [label="Enter when branch result"];
|
||||||
subgraph cluster_37 {
|
subgraph cluster_37 {
|
||||||
color=blue
|
color=blue
|
||||||
166 [label="Enter block"];
|
168 [label="Enter block"];
|
||||||
167 [label="Const: Int(0)"];
|
169 [label="Const: Int(0)"];
|
||||||
168 [label="Exit block"];
|
170 [label="Exit block"];
|
||||||
}
|
}
|
||||||
169 [label="Exit when branch result"];
|
171 [label="Exit when branch result"];
|
||||||
170 [label="Enter when branch result"];
|
172 [label="Enter when branch result"];
|
||||||
subgraph cluster_38 {
|
subgraph cluster_38 {
|
||||||
color=blue
|
color=blue
|
||||||
171 [label="Enter block"];
|
173 [label="Enter block"];
|
||||||
172 [label="Access variable R|kotlin/String.length|"];
|
174 [label="Access variable R|kotlin/String.length|"];
|
||||||
173 [label="Exit block"];
|
175 [label="Exit block"];
|
||||||
}
|
}
|
||||||
174 [label="Exit when branch result"];
|
176 [label="Exit when branch result"];
|
||||||
175 [label="Enter when branch result"];
|
177 [label="Enter when branch result"];
|
||||||
subgraph cluster_39 {
|
subgraph cluster_39 {
|
||||||
color=blue
|
color=blue
|
||||||
176 [label="Enter block"];
|
178 [label="Enter block"];
|
||||||
177 [label="Access variable R|kotlin/collections/List.size|"];
|
179 [label="Access variable R|kotlin/collections/List.size|"];
|
||||||
178 [label="Exit block"];
|
180 [label="Exit block"];
|
||||||
}
|
}
|
||||||
179 [label="Exit when branch result"];
|
181 [label="Exit when branch result"];
|
||||||
180 [label="Exit when"];
|
182 [label="Exit when"];
|
||||||
}
|
}
|
||||||
181 [label="Jump: ^test_5 when () {
|
183 [label="Jump: ^test_5 when () {
|
||||||
(this@R|/test_5| is R|kotlin/collections/List<*>|) -> {
|
(this@R|/test_5| is R|kotlin/collections/List<*>|) -> {
|
||||||
this@R|/test_5|.R|kotlin/collections/List.size|
|
this@R|/test_5|.R|kotlin/collections/List.size|
|
||||||
}
|
}
|
||||||
@@ -483,60 +487,60 @@ digraph implicitReceivers_kt {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
"];
|
"];
|
||||||
182 [label="Stub" style="filled" fillcolor=gray];
|
184 [label="Stub" style="filled" fillcolor=gray];
|
||||||
183 [label="Exit function test_5" style="filled" fillcolor=red];
|
185 [label="Exit function test_5" style="filled" fillcolor=red];
|
||||||
}
|
}
|
||||||
|
|
||||||
153 -> {154};
|
|
||||||
154 -> {155};
|
|
||||||
155 -> {156};
|
155 -> {156};
|
||||||
156 -> {157};
|
156 -> {157};
|
||||||
157 -> {158};
|
157 -> {158};
|
||||||
158 -> {175 159};
|
158 -> {159};
|
||||||
159 -> {160};
|
159 -> {160};
|
||||||
160 -> {161};
|
160 -> {177 161};
|
||||||
161 -> {162};
|
161 -> {162};
|
||||||
162 -> {170 163};
|
162 -> {163};
|
||||||
163 -> {164};
|
163 -> {164};
|
||||||
164 -> {165};
|
164 -> {172 165};
|
||||||
165 -> {166};
|
165 -> {166};
|
||||||
166 -> {167};
|
166 -> {167};
|
||||||
167 -> {168};
|
167 -> {168};
|
||||||
168 -> {169};
|
168 -> {169};
|
||||||
169 -> {180};
|
169 -> {170};
|
||||||
170 -> {171};
|
170 -> {171};
|
||||||
171 -> {172};
|
171 -> {182};
|
||||||
172 -> {173};
|
172 -> {173};
|
||||||
173 -> {174};
|
173 -> {174};
|
||||||
174 -> {180};
|
174 -> {175};
|
||||||
175 -> {176};
|
175 -> {176};
|
||||||
176 -> {177};
|
176 -> {182};
|
||||||
177 -> {178};
|
177 -> {178};
|
||||||
178 -> {179};
|
178 -> {179};
|
||||||
179 -> {180};
|
179 -> {180};
|
||||||
180 -> {181};
|
180 -> {181};
|
||||||
181 -> {183};
|
181 -> {182};
|
||||||
181 -> {182} [style=dotted];
|
182 -> {183};
|
||||||
182 -> {183} [style=dotted];
|
183 -> {185};
|
||||||
|
183 -> {184} [style=dotted];
|
||||||
|
184 -> {185} [style=dotted];
|
||||||
|
|
||||||
subgraph cluster_40 {
|
subgraph cluster_40 {
|
||||||
color=red
|
color=red
|
||||||
184 [label="Enter function test_6" style="filled" fillcolor=red];
|
186 [label="Enter function test_6" style="filled" fillcolor=red];
|
||||||
185 [label="Access variable this@R|/test_6|"];
|
187 [label="Access variable this@R|/test_6|"];
|
||||||
186 [label="Type operator: (this@R|/test_6| as R|kotlin/collections/List<*>|)"];
|
188 [label="Type operator: (this@R|/test_6| as R|kotlin/collections/List<*>|)"];
|
||||||
187 [label="Access variable R|kotlin/collections/List.size|"];
|
189 [label="Access variable R|kotlin/collections/List.size|"];
|
||||||
188 [label="Access variable this@R|/test_6|"];
|
190 [label="Access variable this@R|/test_6|"];
|
||||||
189 [label="Type operator: (this@R|/test_6| as R|kotlin/String|)"];
|
191 [label="Type operator: (this@R|/test_6| as R|kotlin/String|)"];
|
||||||
190 [label="Access variable R|kotlin/String.length|"];
|
192 [label="Access variable R|kotlin/String.length|"];
|
||||||
191 [label="Exit function test_6" style="filled" fillcolor=red];
|
193 [label="Exit function test_6" style="filled" fillcolor=red];
|
||||||
}
|
}
|
||||||
|
|
||||||
184 -> {185};
|
|
||||||
185 -> {186};
|
|
||||||
186 -> {187};
|
186 -> {187};
|
||||||
187 -> {188};
|
187 -> {188};
|
||||||
188 -> {189};
|
188 -> {189};
|
||||||
189 -> {190};
|
189 -> {190};
|
||||||
190 -> {191};
|
190 -> {191};
|
||||||
|
191 -> {192};
|
||||||
|
192 -> {193};
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|||||||
+215
-213
@@ -6,89 +6,90 @@ digraph assignSafeCall_kt {
|
|||||||
subgraph cluster_0 {
|
subgraph cluster_0 {
|
||||||
color=red
|
color=red
|
||||||
0 [label="Enter function <init>" style="filled" fillcolor=red];
|
0 [label="Enter function <init>" style="filled" fillcolor=red];
|
||||||
1 [label="Exit function <init>" style="filled" fillcolor=red];
|
1 [label="Delegated constructor call: super<R|kotlin/Any|>()"];
|
||||||
|
2 [label="Exit function <init>" style="filled" fillcolor=red];
|
||||||
}
|
}
|
||||||
|
|
||||||
0 -> {1};
|
0 -> {1};
|
||||||
|
1 -> {2};
|
||||||
|
|
||||||
subgraph cluster_1 {
|
subgraph cluster_1 {
|
||||||
color=red
|
color=red
|
||||||
2 [label="Enter function foo" style="filled" fillcolor=red];
|
3 [label="Enter function foo" style="filled" fillcolor=red];
|
||||||
3 [label="Const: Int(1)"];
|
4 [label="Const: Int(1)"];
|
||||||
4 [label="Jump: ^foo Int(1)"];
|
5 [label="Jump: ^foo Int(1)"];
|
||||||
5 [label="Stub" style="filled" fillcolor=gray];
|
6 [label="Stub" style="filled" fillcolor=gray];
|
||||||
6 [label="Exit function foo" style="filled" fillcolor=red];
|
7 [label="Exit function foo" style="filled" fillcolor=red];
|
||||||
}
|
}
|
||||||
|
|
||||||
2 -> {3};
|
|
||||||
3 -> {4};
|
3 -> {4};
|
||||||
4 -> {6};
|
4 -> {5};
|
||||||
4 -> {5} [style=dotted];
|
5 -> {7};
|
||||||
5 -> {6} [style=dotted];
|
5 -> {6} [style=dotted];
|
||||||
|
6 -> {7} [style=dotted];
|
||||||
|
|
||||||
subgraph cluster_2 {
|
subgraph cluster_2 {
|
||||||
color=red
|
color=red
|
||||||
7 [label="Enter function getter" style="filled" fillcolor=red];
|
8 [label="Enter function getter" style="filled" fillcolor=red];
|
||||||
8 [label="Exit function getter" style="filled" fillcolor=red];
|
9 [label="Exit function getter" style="filled" fillcolor=red];
|
||||||
}
|
}
|
||||||
|
|
||||||
7 -> {8};
|
8 -> {9};
|
||||||
|
|
||||||
subgraph cluster_3 {
|
subgraph cluster_3 {
|
||||||
color=red
|
color=red
|
||||||
9 [label="Enter property" style="filled" fillcolor=red];
|
10 [label="Enter property" style="filled" fillcolor=red];
|
||||||
10 [label="Const: Int(1)"];
|
11 [label="Const: Int(1)"];
|
||||||
11 [label="Exit property" style="filled" fillcolor=red];
|
12 [label="Exit property" style="filled" fillcolor=red];
|
||||||
}
|
}
|
||||||
|
|
||||||
9 -> {10};
|
|
||||||
10 -> {11};
|
10 -> {11};
|
||||||
|
11 -> {12};
|
||||||
|
|
||||||
subgraph cluster_4 {
|
subgraph cluster_4 {
|
||||||
color=red
|
color=red
|
||||||
12 [label="Enter function bar" style="filled" fillcolor=red];
|
13 [label="Enter function bar" style="filled" fillcolor=red];
|
||||||
13 [label="Exit function bar" style="filled" fillcolor=red];
|
14 [label="Exit function bar" style="filled" fillcolor=red];
|
||||||
}
|
}
|
||||||
|
|
||||||
12 -> {13};
|
13 -> {14};
|
||||||
|
|
||||||
subgraph cluster_5 {
|
subgraph cluster_5 {
|
||||||
color=red
|
color=red
|
||||||
14 [label="Enter function test_1" style="filled" fillcolor=red];
|
15 [label="Enter function test_1" style="filled" fillcolor=red];
|
||||||
15 [label="Access variable R|<local>/a|"];
|
16 [label="Access variable R|<local>/a|"];
|
||||||
16 [label="Enter safe call"];
|
17 [label="Enter safe call"];
|
||||||
17 [label="Access variable R|/A.x|"];
|
18 [label="Access variable R|/A.x|"];
|
||||||
18 [label="Exit safe call"];
|
19 [label="Exit safe call"];
|
||||||
19 [label="Variable declaration: lval x: R|kotlin/Int?|"];
|
20 [label="Variable declaration: lval x: R|kotlin/Int?|"];
|
||||||
subgraph cluster_6 {
|
subgraph cluster_6 {
|
||||||
color=blue
|
color=blue
|
||||||
20 [label="Enter when"];
|
21 [label="Enter when"];
|
||||||
subgraph cluster_7 {
|
subgraph cluster_7 {
|
||||||
color=blue
|
color=blue
|
||||||
21 [label="Enter when branch condition "];
|
22 [label="Enter when branch condition "];
|
||||||
22 [label="Access variable R|<local>/x|"];
|
23 [label="Access variable R|<local>/x|"];
|
||||||
23 [label="Const: Null(null)"];
|
24 [label="Const: Null(null)"];
|
||||||
24 [label="Operator !="];
|
25 [label="Operator !="];
|
||||||
25 [label="Exit when branch condition"];
|
26 [label="Exit when branch condition"];
|
||||||
}
|
}
|
||||||
26 [label="Synthetic else branch"];
|
27 [label="Synthetic else branch"];
|
||||||
27 [label="Enter when branch result"];
|
28 [label="Enter when branch result"];
|
||||||
subgraph cluster_8 {
|
subgraph cluster_8 {
|
||||||
color=blue
|
color=blue
|
||||||
28 [label="Enter block"];
|
29 [label="Enter block"];
|
||||||
29 [label="Access variable R|<local>/a|"];
|
30 [label="Access variable R|<local>/a|"];
|
||||||
30 [label="Function call: R|<local>/a|.R|/A.bar|()"];
|
31 [label="Function call: R|<local>/a|.R|/A.bar|()"];
|
||||||
31 [label="Exit block"];
|
32 [label="Exit block"];
|
||||||
}
|
}
|
||||||
32 [label="Exit when branch result"];
|
33 [label="Exit when branch result"];
|
||||||
33 [label="Exit when"];
|
34 [label="Exit when"];
|
||||||
}
|
}
|
||||||
34 [label="Exit function test_1" style="filled" fillcolor=red];
|
35 [label="Exit function test_1" style="filled" fillcolor=red];
|
||||||
}
|
}
|
||||||
|
|
||||||
14 -> {15};
|
15 -> {16};
|
||||||
15 -> {16 18};
|
16 -> {17 19};
|
||||||
16 -> {17};
|
|
||||||
17 -> {18};
|
17 -> {18};
|
||||||
18 -> {19};
|
18 -> {19};
|
||||||
19 -> {20};
|
19 -> {20};
|
||||||
@@ -97,53 +98,53 @@ digraph assignSafeCall_kt {
|
|||||||
22 -> {23};
|
22 -> {23};
|
||||||
23 -> {24};
|
23 -> {24};
|
||||||
24 -> {25};
|
24 -> {25};
|
||||||
25 -> {27 26};
|
25 -> {26};
|
||||||
26 -> {33};
|
26 -> {28 27};
|
||||||
27 -> {28};
|
27 -> {34};
|
||||||
28 -> {29};
|
28 -> {29};
|
||||||
29 -> {30};
|
29 -> {30};
|
||||||
30 -> {31};
|
30 -> {31};
|
||||||
31 -> {32};
|
31 -> {32};
|
||||||
32 -> {33};
|
32 -> {33};
|
||||||
33 -> {34};
|
33 -> {34};
|
||||||
|
34 -> {35};
|
||||||
|
|
||||||
subgraph cluster_9 {
|
subgraph cluster_9 {
|
||||||
color=red
|
color=red
|
||||||
35 [label="Enter function test_2" style="filled" fillcolor=red];
|
36 [label="Enter function test_2" style="filled" fillcolor=red];
|
||||||
36 [label="Access variable R|<local>/a|"];
|
37 [label="Access variable R|<local>/a|"];
|
||||||
37 [label="Enter safe call"];
|
38 [label="Enter safe call"];
|
||||||
38 [label="Function call: R|<local>/a|?.R|/A.foo|()"];
|
39 [label="Function call: R|<local>/a|?.R|/A.foo|()"];
|
||||||
39 [label="Exit safe call"];
|
40 [label="Exit safe call"];
|
||||||
40 [label="Variable declaration: lval x: R|kotlin/Int?|"];
|
41 [label="Variable declaration: lval x: R|kotlin/Int?|"];
|
||||||
subgraph cluster_10 {
|
subgraph cluster_10 {
|
||||||
color=blue
|
color=blue
|
||||||
41 [label="Enter when"];
|
42 [label="Enter when"];
|
||||||
subgraph cluster_11 {
|
subgraph cluster_11 {
|
||||||
color=blue
|
color=blue
|
||||||
42 [label="Enter when branch condition "];
|
43 [label="Enter when branch condition "];
|
||||||
43 [label="Access variable R|<local>/x|"];
|
44 [label="Access variable R|<local>/x|"];
|
||||||
44 [label="Const: Null(null)"];
|
45 [label="Const: Null(null)"];
|
||||||
45 [label="Operator !="];
|
46 [label="Operator !="];
|
||||||
46 [label="Exit when branch condition"];
|
47 [label="Exit when branch condition"];
|
||||||
}
|
}
|
||||||
47 [label="Synthetic else branch"];
|
48 [label="Synthetic else branch"];
|
||||||
48 [label="Enter when branch result"];
|
49 [label="Enter when branch result"];
|
||||||
subgraph cluster_12 {
|
subgraph cluster_12 {
|
||||||
color=blue
|
color=blue
|
||||||
49 [label="Enter block"];
|
50 [label="Enter block"];
|
||||||
50 [label="Access variable R|<local>/a|"];
|
51 [label="Access variable R|<local>/a|"];
|
||||||
51 [label="Function call: R|<local>/a|.R|/A.bar|()"];
|
52 [label="Function call: R|<local>/a|.R|/A.bar|()"];
|
||||||
52 [label="Exit block"];
|
53 [label="Exit block"];
|
||||||
}
|
}
|
||||||
53 [label="Exit when branch result"];
|
54 [label="Exit when branch result"];
|
||||||
54 [label="Exit when"];
|
55 [label="Exit when"];
|
||||||
}
|
}
|
||||||
55 [label="Exit function test_2" style="filled" fillcolor=red];
|
56 [label="Exit function test_2" style="filled" fillcolor=red];
|
||||||
}
|
}
|
||||||
|
|
||||||
35 -> {36};
|
36 -> {37};
|
||||||
36 -> {37 39};
|
37 -> {38 40};
|
||||||
37 -> {38};
|
|
||||||
38 -> {39};
|
38 -> {39};
|
||||||
39 -> {40};
|
39 -> {40};
|
||||||
40 -> {41};
|
40 -> {41};
|
||||||
@@ -152,65 +153,65 @@ digraph assignSafeCall_kt {
|
|||||||
43 -> {44};
|
43 -> {44};
|
||||||
44 -> {45};
|
44 -> {45};
|
||||||
45 -> {46};
|
45 -> {46};
|
||||||
46 -> {48 47};
|
46 -> {47};
|
||||||
47 -> {54};
|
47 -> {49 48};
|
||||||
48 -> {49};
|
48 -> {55};
|
||||||
49 -> {50};
|
49 -> {50};
|
||||||
50 -> {51};
|
50 -> {51};
|
||||||
51 -> {52};
|
51 -> {52};
|
||||||
52 -> {53};
|
52 -> {53};
|
||||||
53 -> {54};
|
53 -> {54};
|
||||||
54 -> {55};
|
54 -> {55};
|
||||||
|
55 -> {56};
|
||||||
|
|
||||||
subgraph cluster_13 {
|
subgraph cluster_13 {
|
||||||
color=red
|
color=red
|
||||||
56 [label="Enter function test_3" style="filled" fillcolor=red];
|
57 [label="Enter function test_3" style="filled" fillcolor=red];
|
||||||
subgraph cluster_14 {
|
subgraph cluster_14 {
|
||||||
color=blue
|
color=blue
|
||||||
57 [label="Enter when"];
|
58 [label="Enter when"];
|
||||||
58 [label="Access variable R|<local>/x|"];
|
59 [label="Access variable R|<local>/x|"];
|
||||||
59 [label="Type operator: (R|<local>/x| as? R|A|)"];
|
60 [label="Type operator: (R|<local>/x| as? R|A|)"];
|
||||||
60 [label="Variable declaration: lval <elvis>: R|A?|"];
|
61 [label="Variable declaration: lval <elvis>: R|A?|"];
|
||||||
subgraph cluster_15 {
|
subgraph cluster_15 {
|
||||||
color=blue
|
color=blue
|
||||||
61 [label="Enter when branch condition "];
|
62 [label="Enter when branch condition "];
|
||||||
62 [label="Const: Null(null)"];
|
63 [label="Const: Null(null)"];
|
||||||
63 [label="Operator =="];
|
64 [label="Operator =="];
|
||||||
64 [label="Exit when branch condition"];
|
65 [label="Exit when branch condition"];
|
||||||
}
|
}
|
||||||
subgraph cluster_16 {
|
subgraph cluster_16 {
|
||||||
color=blue
|
color=blue
|
||||||
65 [label="Enter when branch condition else"];
|
66 [label="Enter when branch condition else"];
|
||||||
66 [label="Exit when branch condition"];
|
67 [label="Exit when branch condition"];
|
||||||
}
|
}
|
||||||
67 [label="Enter when branch result"];
|
68 [label="Enter when branch result"];
|
||||||
subgraph cluster_17 {
|
subgraph cluster_17 {
|
||||||
color=blue
|
color=blue
|
||||||
68 [label="Enter block"];
|
69 [label="Enter block"];
|
||||||
69 [label="Access variable R|<local>/<elvis>|"];
|
70 [label="Access variable R|<local>/<elvis>|"];
|
||||||
70 [label="Exit block"];
|
71 [label="Exit block"];
|
||||||
}
|
}
|
||||||
71 [label="Exit when branch result"];
|
72 [label="Exit when branch result"];
|
||||||
72 [label="Enter when branch result"];
|
73 [label="Enter when branch result"];
|
||||||
subgraph cluster_18 {
|
subgraph cluster_18 {
|
||||||
color=blue
|
color=blue
|
||||||
73 [label="Enter block"];
|
74 [label="Enter block"];
|
||||||
74 [label="Jump: ^test_3 Unit"];
|
75 [label="Jump: ^test_3 Unit"];
|
||||||
75 [label="Stub" style="filled" fillcolor=gray];
|
76 [label="Stub" style="filled" fillcolor=gray];
|
||||||
76 [label="Exit block" style="filled" fillcolor=gray];
|
77 [label="Exit block" style="filled" fillcolor=gray];
|
||||||
}
|
}
|
||||||
77 [label="Exit when branch result" style="filled" fillcolor=gray];
|
78 [label="Exit when branch result" style="filled" fillcolor=gray];
|
||||||
78 [label="Exit when"];
|
79 [label="Exit when"];
|
||||||
}
|
}
|
||||||
79 [label="Variable declaration: lval a: R|A|"];
|
80 [label="Variable declaration: lval a: R|A|"];
|
||||||
80 [label="Access variable R|<local>/a|"];
|
81 [label="Access variable R|<local>/a|"];
|
||||||
81 [label="Function call: R|<local>/a|.R|/A.foo|()"];
|
82 [label="Function call: R|<local>/a|.R|/A.foo|()"];
|
||||||
82 [label="Access variable R|<local>/x|"];
|
83 [label="Access variable R|<local>/x|"];
|
||||||
83 [label="Function call: R|<local>/x|.R|/A.foo|()"];
|
84 [label="Function call: R|<local>/x|.R|/A.foo|()"];
|
||||||
84 [label="Exit function test_3" style="filled" fillcolor=red];
|
85 [label="Exit function test_3" style="filled" fillcolor=red];
|
||||||
}
|
}
|
||||||
|
|
||||||
56 -> {57};
|
|
||||||
57 -> {58};
|
57 -> {58};
|
||||||
58 -> {59};
|
58 -> {59};
|
||||||
59 -> {60};
|
59 -> {60};
|
||||||
@@ -218,97 +219,97 @@ digraph assignSafeCall_kt {
|
|||||||
61 -> {62};
|
61 -> {62};
|
||||||
62 -> {63};
|
62 -> {63};
|
||||||
63 -> {64};
|
63 -> {64};
|
||||||
64 -> {72 65};
|
64 -> {65};
|
||||||
65 -> {66};
|
65 -> {73 66};
|
||||||
66 -> {67};
|
66 -> {67};
|
||||||
67 -> {68};
|
67 -> {68};
|
||||||
68 -> {69};
|
68 -> {69};
|
||||||
69 -> {70};
|
69 -> {70};
|
||||||
70 -> {71};
|
70 -> {71};
|
||||||
71 -> {78};
|
71 -> {72};
|
||||||
72 -> {73};
|
72 -> {79};
|
||||||
73 -> {74};
|
73 -> {74};
|
||||||
74 -> {84};
|
74 -> {75};
|
||||||
74 -> {75} [style=dotted];
|
75 -> {85};
|
||||||
75 -> {76} [style=dotted];
|
75 -> {76} [style=dotted];
|
||||||
76 -> {77} [style=dotted];
|
76 -> {77} [style=dotted];
|
||||||
77 -> {78} [style=dotted];
|
77 -> {78} [style=dotted];
|
||||||
78 -> {79};
|
78 -> {79} [style=dotted];
|
||||||
79 -> {80};
|
79 -> {80};
|
||||||
80 -> {81};
|
80 -> {81};
|
||||||
81 -> {82};
|
81 -> {82};
|
||||||
82 -> {83};
|
82 -> {83};
|
||||||
83 -> {84};
|
83 -> {84};
|
||||||
|
84 -> {85};
|
||||||
|
|
||||||
subgraph cluster_19 {
|
subgraph cluster_19 {
|
||||||
color=red
|
color=red
|
||||||
85 [label="Enter function foo" style="filled" fillcolor=red];
|
86 [label="Enter function foo" style="filled" fillcolor=red];
|
||||||
86 [label="Exit function foo" style="filled" fillcolor=red];
|
87 [label="Exit function foo" style="filled" fillcolor=red];
|
||||||
}
|
}
|
||||||
|
|
||||||
85 -> {86};
|
86 -> {87};
|
||||||
|
|
||||||
subgraph cluster_20 {
|
subgraph cluster_20 {
|
||||||
color=red
|
color=red
|
||||||
87 [label="Enter function getter" style="filled" fillcolor=red];
|
88 [label="Enter function getter" style="filled" fillcolor=red];
|
||||||
88 [label="Exit function getter" style="filled" fillcolor=red];
|
89 [label="Exit function getter" style="filled" fillcolor=red];
|
||||||
}
|
}
|
||||||
|
|
||||||
87 -> {88};
|
88 -> {89};
|
||||||
|
|
||||||
subgraph cluster_21 {
|
subgraph cluster_21 {
|
||||||
color=red
|
color=red
|
||||||
89 [label="Enter property" style="filled" fillcolor=red];
|
90 [label="Enter property" style="filled" fillcolor=red];
|
||||||
90 [label="Exit property" style="filled" fillcolor=red];
|
91 [label="Exit property" style="filled" fillcolor=red];
|
||||||
}
|
}
|
||||||
|
|
||||||
89 -> {90};
|
90 -> {91};
|
||||||
|
|
||||||
subgraph cluster_22 {
|
subgraph cluster_22 {
|
||||||
color=red
|
color=red
|
||||||
91 [label="Enter function bar" style="filled" fillcolor=red];
|
92 [label="Enter function bar" style="filled" fillcolor=red];
|
||||||
92 [label="Exit function bar" style="filled" fillcolor=red];
|
93 [label="Exit function bar" style="filled" fillcolor=red];
|
||||||
}
|
}
|
||||||
|
|
||||||
91 -> {92};
|
92 -> {93};
|
||||||
|
|
||||||
subgraph cluster_23 {
|
subgraph cluster_23 {
|
||||||
color=red
|
color=red
|
||||||
93 [label="Enter function test_1" style="filled" fillcolor=red];
|
94 [label="Enter function test_1" style="filled" fillcolor=red];
|
||||||
94 [label="Access variable R|<local>/a|"];
|
95 [label="Access variable R|<local>/a|"];
|
||||||
95 [label="Enter safe call"];
|
96 [label="Enter safe call"];
|
||||||
96 [label="Access variable R|/B.x|"];
|
97 [label="Access variable R|/B.x|"];
|
||||||
97 [label="Exit safe call"];
|
98 [label="Exit safe call"];
|
||||||
98 [label="Variable declaration: lval x: R|kotlin/Int?|"];
|
99 [label="Variable declaration: lval x: R|kotlin/Int?|"];
|
||||||
subgraph cluster_24 {
|
subgraph cluster_24 {
|
||||||
color=blue
|
color=blue
|
||||||
99 [label="Enter when"];
|
100 [label="Enter when"];
|
||||||
subgraph cluster_25 {
|
subgraph cluster_25 {
|
||||||
color=blue
|
color=blue
|
||||||
100 [label="Enter when branch condition "];
|
101 [label="Enter when branch condition "];
|
||||||
101 [label="Access variable R|<local>/x|"];
|
102 [label="Access variable R|<local>/x|"];
|
||||||
102 [label="Const: Null(null)"];
|
103 [label="Const: Null(null)"];
|
||||||
103 [label="Operator !="];
|
104 [label="Operator !="];
|
||||||
104 [label="Exit when branch condition"];
|
105 [label="Exit when branch condition"];
|
||||||
}
|
}
|
||||||
105 [label="Synthetic else branch"];
|
106 [label="Synthetic else branch"];
|
||||||
106 [label="Enter when branch result"];
|
107 [label="Enter when branch result"];
|
||||||
subgraph cluster_26 {
|
subgraph cluster_26 {
|
||||||
color=blue
|
color=blue
|
||||||
107 [label="Enter block"];
|
108 [label="Enter block"];
|
||||||
108 [label="Access variable R|<local>/a|"];
|
109 [label="Access variable R|<local>/a|"];
|
||||||
109 [label="Function call: R|<local>/a|.R|/B.bar|()"];
|
110 [label="Function call: R|<local>/a|.R|/B.bar|()"];
|
||||||
110 [label="Exit block"];
|
111 [label="Exit block"];
|
||||||
}
|
}
|
||||||
111 [label="Exit when branch result"];
|
112 [label="Exit when branch result"];
|
||||||
112 [label="Exit when"];
|
113 [label="Exit when"];
|
||||||
}
|
}
|
||||||
113 [label="Exit function test_1" style="filled" fillcolor=red];
|
114 [label="Exit function test_1" style="filled" fillcolor=red];
|
||||||
}
|
}
|
||||||
|
|
||||||
93 -> {94};
|
94 -> {95};
|
||||||
94 -> {95 97};
|
95 -> {96 98};
|
||||||
95 -> {96};
|
|
||||||
96 -> {97};
|
96 -> {97};
|
||||||
97 -> {98};
|
97 -> {98};
|
||||||
98 -> {99};
|
98 -> {99};
|
||||||
@@ -317,53 +318,53 @@ digraph assignSafeCall_kt {
|
|||||||
101 -> {102};
|
101 -> {102};
|
||||||
102 -> {103};
|
102 -> {103};
|
||||||
103 -> {104};
|
103 -> {104};
|
||||||
104 -> {106 105};
|
104 -> {105};
|
||||||
105 -> {112};
|
105 -> {107 106};
|
||||||
106 -> {107};
|
106 -> {113};
|
||||||
107 -> {108};
|
107 -> {108};
|
||||||
108 -> {109};
|
108 -> {109};
|
||||||
109 -> {110};
|
109 -> {110};
|
||||||
110 -> {111};
|
110 -> {111};
|
||||||
111 -> {112};
|
111 -> {112};
|
||||||
112 -> {113};
|
112 -> {113};
|
||||||
|
113 -> {114};
|
||||||
|
|
||||||
subgraph cluster_27 {
|
subgraph cluster_27 {
|
||||||
color=red
|
color=red
|
||||||
114 [label="Enter function test_2" style="filled" fillcolor=red];
|
115 [label="Enter function test_2" style="filled" fillcolor=red];
|
||||||
115 [label="Access variable R|<local>/a|"];
|
116 [label="Access variable R|<local>/a|"];
|
||||||
116 [label="Enter safe call"];
|
117 [label="Enter safe call"];
|
||||||
117 [label="Function call: R|<local>/a|?.R|/B.foo|()"];
|
118 [label="Function call: R|<local>/a|?.R|/B.foo|()"];
|
||||||
118 [label="Exit safe call"];
|
119 [label="Exit safe call"];
|
||||||
119 [label="Variable declaration: lval x: R|kotlin/Int?|"];
|
120 [label="Variable declaration: lval x: R|kotlin/Int?|"];
|
||||||
subgraph cluster_28 {
|
subgraph cluster_28 {
|
||||||
color=blue
|
color=blue
|
||||||
120 [label="Enter when"];
|
121 [label="Enter when"];
|
||||||
subgraph cluster_29 {
|
subgraph cluster_29 {
|
||||||
color=blue
|
color=blue
|
||||||
121 [label="Enter when branch condition "];
|
122 [label="Enter when branch condition "];
|
||||||
122 [label="Access variable R|<local>/x|"];
|
123 [label="Access variable R|<local>/x|"];
|
||||||
123 [label="Const: Null(null)"];
|
124 [label="Const: Null(null)"];
|
||||||
124 [label="Operator !="];
|
125 [label="Operator !="];
|
||||||
125 [label="Exit when branch condition"];
|
126 [label="Exit when branch condition"];
|
||||||
}
|
}
|
||||||
126 [label="Synthetic else branch"];
|
127 [label="Synthetic else branch"];
|
||||||
127 [label="Enter when branch result"];
|
128 [label="Enter when branch result"];
|
||||||
subgraph cluster_30 {
|
subgraph cluster_30 {
|
||||||
color=blue
|
color=blue
|
||||||
128 [label="Enter block"];
|
129 [label="Enter block"];
|
||||||
129 [label="Access variable R|<local>/a|"];
|
130 [label="Access variable R|<local>/a|"];
|
||||||
130 [label="Function call: R|<local>/a|.R|/B.bar|()"];
|
131 [label="Function call: R|<local>/a|.R|/B.bar|()"];
|
||||||
131 [label="Exit block"];
|
132 [label="Exit block"];
|
||||||
}
|
}
|
||||||
132 [label="Exit when branch result"];
|
133 [label="Exit when branch result"];
|
||||||
133 [label="Exit when"];
|
134 [label="Exit when"];
|
||||||
}
|
}
|
||||||
134 [label="Exit function test_2" style="filled" fillcolor=red];
|
135 [label="Exit function test_2" style="filled" fillcolor=red];
|
||||||
}
|
}
|
||||||
|
|
||||||
114 -> {115};
|
115 -> {116};
|
||||||
115 -> {116 118};
|
116 -> {117 119};
|
||||||
116 -> {117};
|
|
||||||
117 -> {118};
|
117 -> {118};
|
||||||
118 -> {119};
|
118 -> {119};
|
||||||
119 -> {120};
|
119 -> {120};
|
||||||
@@ -372,65 +373,65 @@ digraph assignSafeCall_kt {
|
|||||||
122 -> {123};
|
122 -> {123};
|
||||||
123 -> {124};
|
123 -> {124};
|
||||||
124 -> {125};
|
124 -> {125};
|
||||||
125 -> {127 126};
|
125 -> {126};
|
||||||
126 -> {133};
|
126 -> {128 127};
|
||||||
127 -> {128};
|
127 -> {134};
|
||||||
128 -> {129};
|
128 -> {129};
|
||||||
129 -> {130};
|
129 -> {130};
|
||||||
130 -> {131};
|
130 -> {131};
|
||||||
131 -> {132};
|
131 -> {132};
|
||||||
132 -> {133};
|
132 -> {133};
|
||||||
133 -> {134};
|
133 -> {134};
|
||||||
|
134 -> {135};
|
||||||
|
|
||||||
subgraph cluster_31 {
|
subgraph cluster_31 {
|
||||||
color=red
|
color=red
|
||||||
135 [label="Enter function test_3" style="filled" fillcolor=red];
|
136 [label="Enter function test_3" style="filled" fillcolor=red];
|
||||||
subgraph cluster_32 {
|
subgraph cluster_32 {
|
||||||
color=blue
|
color=blue
|
||||||
136 [label="Enter when"];
|
137 [label="Enter when"];
|
||||||
137 [label="Access variable R|<local>/x|"];
|
138 [label="Access variable R|<local>/x|"];
|
||||||
138 [label="Type operator: (R|<local>/x| as? R|B|)"];
|
139 [label="Type operator: (R|<local>/x| as? R|B|)"];
|
||||||
139 [label="Variable declaration: lval <elvis>: R|B?|"];
|
140 [label="Variable declaration: lval <elvis>: R|B?|"];
|
||||||
subgraph cluster_33 {
|
subgraph cluster_33 {
|
||||||
color=blue
|
color=blue
|
||||||
140 [label="Enter when branch condition "];
|
141 [label="Enter when branch condition "];
|
||||||
141 [label="Const: Null(null)"];
|
142 [label="Const: Null(null)"];
|
||||||
142 [label="Operator =="];
|
143 [label="Operator =="];
|
||||||
143 [label="Exit when branch condition"];
|
144 [label="Exit when branch condition"];
|
||||||
}
|
}
|
||||||
subgraph cluster_34 {
|
subgraph cluster_34 {
|
||||||
color=blue
|
color=blue
|
||||||
144 [label="Enter when branch condition else"];
|
145 [label="Enter when branch condition else"];
|
||||||
145 [label="Exit when branch condition"];
|
146 [label="Exit when branch condition"];
|
||||||
}
|
}
|
||||||
146 [label="Enter when branch result"];
|
147 [label="Enter when branch result"];
|
||||||
subgraph cluster_35 {
|
subgraph cluster_35 {
|
||||||
color=blue
|
color=blue
|
||||||
147 [label="Enter block"];
|
148 [label="Enter block"];
|
||||||
148 [label="Access variable R|<local>/<elvis>|"];
|
149 [label="Access variable R|<local>/<elvis>|"];
|
||||||
149 [label="Exit block"];
|
150 [label="Exit block"];
|
||||||
}
|
}
|
||||||
150 [label="Exit when branch result"];
|
151 [label="Exit when branch result"];
|
||||||
151 [label="Enter when branch result"];
|
152 [label="Enter when branch result"];
|
||||||
subgraph cluster_36 {
|
subgraph cluster_36 {
|
||||||
color=blue
|
color=blue
|
||||||
152 [label="Enter block"];
|
153 [label="Enter block"];
|
||||||
153 [label="Jump: ^test_3 Unit"];
|
154 [label="Jump: ^test_3 Unit"];
|
||||||
154 [label="Stub" style="filled" fillcolor=gray];
|
155 [label="Stub" style="filled" fillcolor=gray];
|
||||||
155 [label="Exit block" style="filled" fillcolor=gray];
|
156 [label="Exit block" style="filled" fillcolor=gray];
|
||||||
}
|
}
|
||||||
156 [label="Exit when branch result" style="filled" fillcolor=gray];
|
157 [label="Exit when branch result" style="filled" fillcolor=gray];
|
||||||
157 [label="Exit when"];
|
158 [label="Exit when"];
|
||||||
}
|
}
|
||||||
158 [label="Variable declaration: lval a: R|B|"];
|
159 [label="Variable declaration: lval a: R|B|"];
|
||||||
159 [label="Access variable R|<local>/a|"];
|
160 [label="Access variable R|<local>/a|"];
|
||||||
160 [label="Function call: R|<local>/a|.R|/B.foo|()"];
|
161 [label="Function call: R|<local>/a|.R|/B.foo|()"];
|
||||||
161 [label="Access variable R|<local>/x|"];
|
162 [label="Access variable R|<local>/x|"];
|
||||||
162 [label="Function call: R|<local>/x|.R|/B.foo|()"];
|
163 [label="Function call: R|<local>/x|.R|/B.foo|()"];
|
||||||
163 [label="Exit function test_3" style="filled" fillcolor=red];
|
164 [label="Exit function test_3" style="filled" fillcolor=red];
|
||||||
}
|
}
|
||||||
|
|
||||||
135 -> {136};
|
|
||||||
136 -> {137};
|
136 -> {137};
|
||||||
137 -> {138};
|
137 -> {138};
|
||||||
138 -> {139};
|
138 -> {139};
|
||||||
@@ -438,26 +439,27 @@ digraph assignSafeCall_kt {
|
|||||||
140 -> {141};
|
140 -> {141};
|
||||||
141 -> {142};
|
141 -> {142};
|
||||||
142 -> {143};
|
142 -> {143};
|
||||||
143 -> {151 144};
|
143 -> {144};
|
||||||
144 -> {145};
|
144 -> {152 145};
|
||||||
145 -> {146};
|
145 -> {146};
|
||||||
146 -> {147};
|
146 -> {147};
|
||||||
147 -> {148};
|
147 -> {148};
|
||||||
148 -> {149};
|
148 -> {149};
|
||||||
149 -> {150};
|
149 -> {150};
|
||||||
150 -> {157};
|
150 -> {151};
|
||||||
151 -> {152};
|
151 -> {158};
|
||||||
152 -> {153};
|
152 -> {153};
|
||||||
153 -> {163};
|
153 -> {154};
|
||||||
153 -> {154} [style=dotted];
|
154 -> {164};
|
||||||
154 -> {155} [style=dotted];
|
154 -> {155} [style=dotted];
|
||||||
155 -> {156} [style=dotted];
|
155 -> {156} [style=dotted];
|
||||||
156 -> {157} [style=dotted];
|
156 -> {157} [style=dotted];
|
||||||
157 -> {158};
|
157 -> {158} [style=dotted];
|
||||||
158 -> {159};
|
158 -> {159};
|
||||||
159 -> {160};
|
159 -> {160};
|
||||||
160 -> {161};
|
160 -> {161};
|
||||||
161 -> {162};
|
161 -> {162};
|
||||||
162 -> {163};
|
162 -> {163};
|
||||||
|
163 -> {164};
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -31,25 +31,27 @@ digraph smartCastInInit_kt {
|
|||||||
subgraph cluster_2 {
|
subgraph cluster_2 {
|
||||||
color=red
|
color=red
|
||||||
8 [label="Enter function <init>" style="filled" fillcolor=red];
|
8 [label="Enter function <init>" style="filled" fillcolor=red];
|
||||||
9 [label="Exit function <init>" style="filled" fillcolor=red];
|
9 [label="Delegated constructor call: super<R|kotlin/Any|>()"];
|
||||||
|
10 [label="Exit function <init>" style="filled" fillcolor=red];
|
||||||
}
|
}
|
||||||
|
|
||||||
8 -> {9};
|
8 -> {9};
|
||||||
|
9 -> {10};
|
||||||
|
|
||||||
subgraph cluster_3 {
|
subgraph cluster_3 {
|
||||||
color=red
|
color=red
|
||||||
10 [label="Enter function getter" style="filled" fillcolor=red];
|
11 [label="Enter function getter" style="filled" fillcolor=red];
|
||||||
11 [label="Exit function getter" style="filled" fillcolor=red];
|
12 [label="Exit function getter" style="filled" fillcolor=red];
|
||||||
}
|
}
|
||||||
|
|
||||||
10 -> {11};
|
11 -> {12};
|
||||||
|
|
||||||
subgraph cluster_4 {
|
subgraph cluster_4 {
|
||||||
color=red
|
color=red
|
||||||
12 [label="Enter property" style="filled" fillcolor=red];
|
13 [label="Enter property" style="filled" fillcolor=red];
|
||||||
13 [label="Exit property" style="filled" fillcolor=red];
|
14 [label="Exit property" style="filled" fillcolor=red];
|
||||||
}
|
}
|
||||||
|
|
||||||
12 -> {13};
|
13 -> {14};
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -103,125 +103,126 @@ digraph smartcastToNothing_kt {
|
|||||||
subgraph cluster_7 {
|
subgraph cluster_7 {
|
||||||
color=red
|
color=red
|
||||||
32 [label="Enter function <init>" style="filled" fillcolor=red];
|
32 [label="Enter function <init>" style="filled" fillcolor=red];
|
||||||
33 [label="Exit function <init>" style="filled" fillcolor=red];
|
33 [label="Delegated constructor call: super<R|kotlin/Any|>()"];
|
||||||
|
34 [label="Exit function <init>" style="filled" fillcolor=red];
|
||||||
}
|
}
|
||||||
|
|
||||||
32 -> {33};
|
32 -> {33};
|
||||||
|
33 -> {34};
|
||||||
|
|
||||||
subgraph cluster_8 {
|
subgraph cluster_8 {
|
||||||
color=red
|
color=red
|
||||||
34 [label="Enter function getter" style="filled" fillcolor=red];
|
35 [label="Enter function getter" style="filled" fillcolor=red];
|
||||||
35 [label="Exit function getter" style="filled" fillcolor=red];
|
36 [label="Exit function getter" style="filled" fillcolor=red];
|
||||||
}
|
}
|
||||||
|
|
||||||
34 -> {35};
|
35 -> {36};
|
||||||
|
|
||||||
subgraph cluster_9 {
|
subgraph cluster_9 {
|
||||||
color=red
|
color=red
|
||||||
36 [label="Enter property" style="filled" fillcolor=red];
|
37 [label="Enter property" style="filled" fillcolor=red];
|
||||||
37 [label="Const: Int(1)"];
|
38 [label="Const: Int(1)"];
|
||||||
38 [label="Exit property" style="filled" fillcolor=red];
|
39 [label="Exit property" style="filled" fillcolor=red];
|
||||||
}
|
}
|
||||||
|
|
||||||
36 -> {37};
|
|
||||||
37 -> {38};
|
37 -> {38};
|
||||||
|
38 -> {39};
|
||||||
|
|
||||||
subgraph cluster_10 {
|
subgraph cluster_10 {
|
||||||
color=red
|
color=red
|
||||||
39 [label="Enter function getter" style="filled" fillcolor=red];
|
40 [label="Enter function getter" style="filled" fillcolor=red];
|
||||||
40 [label="Exit function getter" style="filled" fillcolor=red];
|
41 [label="Exit function getter" style="filled" fillcolor=red];
|
||||||
}
|
}
|
||||||
|
|
||||||
39 -> {40};
|
40 -> {41};
|
||||||
|
|
||||||
subgraph cluster_11 {
|
subgraph cluster_11 {
|
||||||
color=red
|
color=red
|
||||||
41 [label="Enter property" style="filled" fillcolor=red];
|
42 [label="Enter property" style="filled" fillcolor=red];
|
||||||
42 [label="Const: Boolean(true)"];
|
43 [label="Const: Boolean(true)"];
|
||||||
43 [label="Exit property" style="filled" fillcolor=red];
|
44 [label="Exit property" style="filled" fillcolor=red];
|
||||||
}
|
}
|
||||||
|
|
||||||
41 -> {42};
|
|
||||||
42 -> {43};
|
42 -> {43};
|
||||||
|
43 -> {44};
|
||||||
|
|
||||||
subgraph cluster_12 {
|
subgraph cluster_12 {
|
||||||
color=red
|
color=red
|
||||||
44 [label="Enter function test_0" style="filled" fillcolor=red];
|
45 [label="Enter function test_0" style="filled" fillcolor=red];
|
||||||
45 [label="Const: Null(null)"];
|
46 [label="Const: Null(null)"];
|
||||||
46 [label="Variable declaration: lvar s: R|A?|"];
|
47 [label="Variable declaration: lvar s: R|A?|"];
|
||||||
47 [label="Access variable R|<local>/results|"];
|
48 [label="Access variable R|<local>/results|"];
|
||||||
48 [label="Function call: R|<local>/results|.R|FakeOverride<kotlin/collections/List.iterator: R|kotlin/collections/Iterator<kotlin/Nothing>|>|()"];
|
49 [label="Function call: R|<local>/results|.R|FakeOverride<kotlin/collections/List.iterator: R|kotlin/collections/Iterator<kotlin/Nothing>|>|()"];
|
||||||
49 [label="Variable declaration: lval <iterator>: R|kotlin/collections/Iterator<kotlin/Nothing>|"];
|
50 [label="Variable declaration: lval <iterator>: R|kotlin/collections/Iterator<kotlin/Nothing>|"];
|
||||||
subgraph cluster_13 {
|
subgraph cluster_13 {
|
||||||
color=blue
|
color=blue
|
||||||
50 [label="Enter while loop"];
|
51 [label="Enter while loop"];
|
||||||
subgraph cluster_14 {
|
subgraph cluster_14 {
|
||||||
color=blue
|
color=blue
|
||||||
51 [label="Enter loop condition"];
|
52 [label="Enter loop condition"];
|
||||||
52 [label="Access variable R|<local>/<iterator>|"];
|
53 [label="Access variable R|<local>/<iterator>|"];
|
||||||
53 [label="Function call: R|<local>/<iterator>|.R|kotlin/collections/Iterator.hasNext|()"];
|
54 [label="Function call: R|<local>/<iterator>|.R|kotlin/collections/Iterator.hasNext|()"];
|
||||||
54 [label="Exit loop condition"];
|
55 [label="Exit loop condition"];
|
||||||
}
|
}
|
||||||
subgraph cluster_15 {
|
subgraph cluster_15 {
|
||||||
color=blue
|
color=blue
|
||||||
55 [label="Enter loop block"];
|
56 [label="Enter loop block"];
|
||||||
subgraph cluster_16 {
|
subgraph cluster_16 {
|
||||||
color=blue
|
color=blue
|
||||||
56 [label="Enter block"];
|
57 [label="Enter block"];
|
||||||
57 [label="Access variable R|<local>/<iterator>|"];
|
58 [label="Access variable R|<local>/<iterator>|"];
|
||||||
58 [label="Function call: R|<local>/<iterator>|.R|FakeOverride<kotlin/collections/Iterator.next: R|kotlin/Nothing|>|()"];
|
59 [label="Function call: R|<local>/<iterator>|.R|FakeOverride<kotlin/collections/Iterator.next: R|kotlin/Nothing|>|()"];
|
||||||
59 [label="Stub" style="filled" fillcolor=gray];
|
60 [label="Stub" style="filled" fillcolor=gray];
|
||||||
60 [label="Variable declaration: lval result: R|kotlin/Nothing|" style="filled" fillcolor=gray];
|
61 [label="Variable declaration: lval result: R|kotlin/Nothing|" style="filled" fillcolor=gray];
|
||||||
61 [label="Access variable R|<local>/result|" style="filled" fillcolor=gray];
|
62 [label="Access variable R|<local>/result|" style="filled" fillcolor=gray];
|
||||||
62 [label="Stub" style="filled" fillcolor=gray];
|
63 [label="Stub" style="filled" fillcolor=gray];
|
||||||
63 [label="Assignmenet: R|<local>/s|" style="filled" fillcolor=gray];
|
64 [label="Assignmenet: R|<local>/s|" style="filled" fillcolor=gray];
|
||||||
subgraph cluster_17 {
|
subgraph cluster_17 {
|
||||||
color=blue
|
color=blue
|
||||||
64 [label="Enter when" style="filled" fillcolor=gray];
|
65 [label="Enter when" style="filled" fillcolor=gray];
|
||||||
subgraph cluster_18 {
|
subgraph cluster_18 {
|
||||||
color=blue
|
color=blue
|
||||||
65 [label="Enter when branch condition " style="filled" fillcolor=gray];
|
66 [label="Enter when branch condition " style="filled" fillcolor=gray];
|
||||||
66 [label="Access variable R|<local>/result|" style="filled" fillcolor=gray];
|
67 [label="Access variable R|<local>/result|" style="filled" fillcolor=gray];
|
||||||
67 [label="Stub" style="filled" fillcolor=gray];
|
68 [label="Stub" style="filled" fillcolor=gray];
|
||||||
68 [label="Access variable <Unresolved name: b>#" style="filled" fillcolor=gray];
|
69 [label="Access variable <Unresolved name: b>#" style="filled" fillcolor=gray];
|
||||||
69 [label="Exit when branch condition" style="filled" fillcolor=gray];
|
70 [label="Exit when branch condition" style="filled" fillcolor=gray];
|
||||||
}
|
}
|
||||||
70 [label="Synthetic else branch" style="filled" fillcolor=gray];
|
71 [label="Synthetic else branch" style="filled" fillcolor=gray];
|
||||||
71 [label="Enter when branch result" style="filled" fillcolor=gray];
|
72 [label="Enter when branch result" style="filled" fillcolor=gray];
|
||||||
subgraph cluster_19 {
|
subgraph cluster_19 {
|
||||||
color=blue
|
color=blue
|
||||||
72 [label="Enter block" style="filled" fillcolor=gray];
|
73 [label="Enter block" style="filled" fillcolor=gray];
|
||||||
73 [label="Jump: break@@@[R|<local>/<iterator>|.R|kotlin/collections/Iterator.hasNext|()] " style="filled" fillcolor=gray];
|
74 [label="Jump: break@@@[R|<local>/<iterator>|.R|kotlin/collections/Iterator.hasNext|()] " style="filled" fillcolor=gray];
|
||||||
74 [label="Stub" style="filled" fillcolor=gray];
|
75 [label="Stub" style="filled" fillcolor=gray];
|
||||||
75 [label="Exit block" style="filled" fillcolor=gray];
|
76 [label="Exit block" style="filled" fillcolor=gray];
|
||||||
}
|
}
|
||||||
76 [label="Exit when branch result" style="filled" fillcolor=gray];
|
77 [label="Exit when branch result" style="filled" fillcolor=gray];
|
||||||
77 [label="Exit when" style="filled" fillcolor=gray];
|
78 [label="Exit when" style="filled" fillcolor=gray];
|
||||||
}
|
}
|
||||||
78 [label="Exit block" style="filled" fillcolor=gray];
|
79 [label="Exit block" style="filled" fillcolor=gray];
|
||||||
}
|
}
|
||||||
79 [label="Exit loop block" style="filled" fillcolor=gray];
|
80 [label="Exit loop block" style="filled" fillcolor=gray];
|
||||||
}
|
}
|
||||||
80 [label="Exit whileloop"];
|
81 [label="Exit whileloop"];
|
||||||
}
|
}
|
||||||
81 [label="Access variable R|<local>/s|"];
|
82 [label="Access variable R|<local>/s|"];
|
||||||
82 [label="Enter safe call"];
|
83 [label="Enter safe call"];
|
||||||
83 [label="Postponed enter to lambda"];
|
84 [label="Postponed enter to lambda"];
|
||||||
subgraph cluster_20 {
|
subgraph cluster_20 {
|
||||||
color=blue
|
color=blue
|
||||||
84 [label="Enter function anonymousFunction"];
|
85 [label="Enter function anonymousFunction"];
|
||||||
85 [label="Access variable R|<local>/it|"];
|
86 [label="Access variable R|<local>/it|"];
|
||||||
86 [label="Access variable R|/A.a|"];
|
87 [label="Access variable R|/A.a|"];
|
||||||
87 [label="Exit function anonymousFunction"];
|
88 [label="Exit function anonymousFunction"];
|
||||||
}
|
}
|
||||||
88 [label="Call arguments union" style="filled" fillcolor=yellow];
|
89 [label="Call arguments union" style="filled" fillcolor=yellow];
|
||||||
89 [label="Postponed exit from lambda"];
|
90 [label="Postponed exit from lambda"];
|
||||||
90 [label="Function call: R|<local>/s|?.R|kotlin/let|<R|A|, R|kotlin/Int|>(...)"];
|
91 [label="Function call: R|<local>/s|?.R|kotlin/let|<R|A|, R|kotlin/Int|>(...)"];
|
||||||
91 [label="Exit safe call"];
|
92 [label="Exit safe call"];
|
||||||
92 [label="Exit function test_0" style="filled" fillcolor=red];
|
93 [label="Exit function test_0" style="filled" fillcolor=red];
|
||||||
}
|
}
|
||||||
|
|
||||||
44 -> {45};
|
|
||||||
45 -> {46};
|
45 -> {46};
|
||||||
46 -> {47};
|
46 -> {47};
|
||||||
47 -> {48};
|
47 -> {48};
|
||||||
@@ -231,46 +232,47 @@ digraph smartcastToNothing_kt {
|
|||||||
51 -> {52};
|
51 -> {52};
|
||||||
52 -> {53};
|
52 -> {53};
|
||||||
53 -> {54};
|
53 -> {54};
|
||||||
54 -> {80 55};
|
54 -> {55};
|
||||||
55 -> {56};
|
55 -> {81 56};
|
||||||
56 -> {57};
|
56 -> {57};
|
||||||
57 -> {58};
|
57 -> {58};
|
||||||
58 -> {92};
|
58 -> {59};
|
||||||
58 -> {59} [style=dotted];
|
59 -> {93};
|
||||||
59 -> {60} [style=dotted];
|
59 -> {60} [style=dotted];
|
||||||
60 -> {61} [style=dotted];
|
60 -> {61} [style=dotted];
|
||||||
61 -> {92 62} [style=dotted];
|
61 -> {62} [style=dotted];
|
||||||
62 -> {63} [style=dotted];
|
62 -> {93 63} [style=dotted];
|
||||||
63 -> {64} [style=dotted];
|
63 -> {64} [style=dotted];
|
||||||
64 -> {65} [style=dotted];
|
64 -> {65} [style=dotted];
|
||||||
65 -> {66} [style=dotted];
|
65 -> {66} [style=dotted];
|
||||||
66 -> {92 67} [style=dotted];
|
66 -> {67} [style=dotted];
|
||||||
67 -> {68} [style=dotted];
|
67 -> {93 68} [style=dotted];
|
||||||
68 -> {69} [style=dotted];
|
68 -> {69} [style=dotted];
|
||||||
69 -> {71 70} [style=dotted];
|
69 -> {70} [style=dotted];
|
||||||
70 -> {77} [style=dotted];
|
70 -> {72 71} [style=dotted];
|
||||||
71 -> {72} [style=dotted];
|
71 -> {78} [style=dotted];
|
||||||
72 -> {73} [style=dotted];
|
72 -> {73} [style=dotted];
|
||||||
73 -> {80 74} [style=dotted];
|
73 -> {74} [style=dotted];
|
||||||
74 -> {75} [style=dotted];
|
74 -> {81 75} [style=dotted];
|
||||||
75 -> {76} [style=dotted];
|
75 -> {76} [style=dotted];
|
||||||
76 -> {77} [style=dotted];
|
76 -> {77} [style=dotted];
|
||||||
77 -> {78} [style=dotted];
|
77 -> {78} [style=dotted];
|
||||||
78 -> {79} [style=dotted];
|
78 -> {79} [style=dotted];
|
||||||
79 -> {51} [style=dotted];
|
79 -> {80} [style=dotted];
|
||||||
80 -> {81};
|
80 -> {52} [style=dotted];
|
||||||
81 -> {82 91};
|
81 -> {82};
|
||||||
82 -> {83};
|
82 -> {83 92};
|
||||||
83 -> {84};
|
83 -> {84};
|
||||||
83 -> {89} [color=red];
|
|
||||||
84 -> {85};
|
84 -> {85};
|
||||||
|
84 -> {90} [color=red];
|
||||||
85 -> {86};
|
85 -> {86};
|
||||||
86 -> {87};
|
86 -> {87};
|
||||||
87 -> {89} [color=green];
|
87 -> {88};
|
||||||
87 -> {88} [color=red];
|
88 -> {90} [color=green];
|
||||||
88 -> {90} [color=red];
|
88 -> {89} [color=red];
|
||||||
89 -> {90} [color=green];
|
89 -> {91} [color=red];
|
||||||
90 -> {91};
|
90 -> {91} [color=green];
|
||||||
91 -> {92} [style=dotted];
|
91 -> {92};
|
||||||
|
92 -> {93} [style=dotted];
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|||||||
+60
-56
@@ -6,127 +6,131 @@ digraph overridenOpenVal_kt {
|
|||||||
subgraph cluster_0 {
|
subgraph cluster_0 {
|
||||||
color=red
|
color=red
|
||||||
0 [label="Enter function <init>" style="filled" fillcolor=red];
|
0 [label="Enter function <init>" style="filled" fillcolor=red];
|
||||||
1 [label="Exit function <init>" style="filled" fillcolor=red];
|
1 [label="Delegated constructor call: super<R|kotlin/Any|>()"];
|
||||||
|
2 [label="Exit function <init>" style="filled" fillcolor=red];
|
||||||
}
|
}
|
||||||
|
|
||||||
0 -> {1};
|
0 -> {1};
|
||||||
|
1 -> {2};
|
||||||
|
|
||||||
subgraph cluster_1 {
|
subgraph cluster_1 {
|
||||||
color=red
|
color=red
|
||||||
2 [label="Enter function getter" style="filled" fillcolor=red];
|
3 [label="Enter function getter" style="filled" fillcolor=red];
|
||||||
3 [label="Exit function getter" style="filled" fillcolor=red];
|
4 [label="Exit function getter" style="filled" fillcolor=red];
|
||||||
}
|
}
|
||||||
|
|
||||||
2 -> {3};
|
3 -> {4};
|
||||||
|
|
||||||
subgraph cluster_2 {
|
subgraph cluster_2 {
|
||||||
color=red
|
color=red
|
||||||
4 [label="Enter property" style="filled" fillcolor=red];
|
5 [label="Enter property" style="filled" fillcolor=red];
|
||||||
5 [label="Access variable R|<local>/x|"];
|
6 [label="Access variable R|<local>/x|"];
|
||||||
6 [label="Exit property" style="filled" fillcolor=red];
|
7 [label="Exit property" style="filled" fillcolor=red];
|
||||||
}
|
}
|
||||||
|
|
||||||
4 -> {5};
|
|
||||||
5 -> {6};
|
5 -> {6};
|
||||||
|
6 -> {7};
|
||||||
|
|
||||||
subgraph cluster_3 {
|
subgraph cluster_3 {
|
||||||
color=red
|
color=red
|
||||||
7 [label="Enter function <init>" style="filled" fillcolor=red];
|
8 [label="Enter function <init>" style="filled" fillcolor=red];
|
||||||
8 [label="Access variable R|<local>/x|"];
|
9 [label="Access variable R|<local>/x|"];
|
||||||
9 [label="Exit function <init>" style="filled" fillcolor=red];
|
10 [label="Delegated constructor call: super<R|A|>(...)"];
|
||||||
|
11 [label="Exit function <init>" style="filled" fillcolor=red];
|
||||||
}
|
}
|
||||||
|
|
||||||
7 -> {8};
|
|
||||||
8 -> {9};
|
8 -> {9};
|
||||||
|
9 -> {10};
|
||||||
|
10 -> {11};
|
||||||
|
|
||||||
subgraph cluster_4 {
|
subgraph cluster_4 {
|
||||||
color=red
|
color=red
|
||||||
10 [label="Enter function test_1" style="filled" fillcolor=red];
|
12 [label="Enter function test_1" style="filled" fillcolor=red];
|
||||||
subgraph cluster_5 {
|
subgraph cluster_5 {
|
||||||
color=blue
|
color=blue
|
||||||
11 [label="Enter when"];
|
13 [label="Enter when"];
|
||||||
subgraph cluster_6 {
|
subgraph cluster_6 {
|
||||||
color=blue
|
color=blue
|
||||||
12 [label="Enter when branch condition "];
|
14 [label="Enter when branch condition "];
|
||||||
13 [label="Access variable R|/A.x|"];
|
15 [label="Access variable R|/A.x|"];
|
||||||
14 [label="Type operator: (this@R|/B|.R|/A.x| is R|kotlin/String|)"];
|
16 [label="Type operator: (this@R|/B|.R|/A.x| is R|kotlin/String|)"];
|
||||||
15 [label="Exit when branch condition"];
|
17 [label="Exit when branch condition"];
|
||||||
}
|
}
|
||||||
16 [label="Synthetic else branch"];
|
18 [label="Synthetic else branch"];
|
||||||
17 [label="Enter when branch result"];
|
19 [label="Enter when branch result"];
|
||||||
subgraph cluster_7 {
|
subgraph cluster_7 {
|
||||||
color=blue
|
color=blue
|
||||||
18 [label="Enter block"];
|
20 [label="Enter block"];
|
||||||
19 [label="Access variable R|/A.x|"];
|
21 [label="Access variable R|/A.x|"];
|
||||||
20 [label="Access variable R|kotlin/String.length|"];
|
22 [label="Access variable R|kotlin/String.length|"];
|
||||||
21 [label="Exit block"];
|
23 [label="Exit block"];
|
||||||
}
|
}
|
||||||
22 [label="Exit when branch result"];
|
24 [label="Exit when branch result"];
|
||||||
23 [label="Exit when"];
|
25 [label="Exit when"];
|
||||||
}
|
}
|
||||||
24 [label="Exit function test_1" style="filled" fillcolor=red];
|
26 [label="Exit function test_1" style="filled" fillcolor=red];
|
||||||
}
|
}
|
||||||
|
|
||||||
10 -> {11};
|
|
||||||
11 -> {12};
|
|
||||||
12 -> {13};
|
12 -> {13};
|
||||||
13 -> {14};
|
13 -> {14};
|
||||||
14 -> {15};
|
14 -> {15};
|
||||||
15 -> {17 16};
|
15 -> {16};
|
||||||
16 -> {23};
|
16 -> {17};
|
||||||
17 -> {18};
|
17 -> {19 18};
|
||||||
18 -> {19};
|
18 -> {25};
|
||||||
19 -> {20};
|
19 -> {20};
|
||||||
20 -> {21};
|
20 -> {21};
|
||||||
21 -> {22};
|
21 -> {22};
|
||||||
22 -> {23};
|
22 -> {23};
|
||||||
23 -> {24};
|
23 -> {24};
|
||||||
|
24 -> {25};
|
||||||
|
25 -> {26};
|
||||||
|
|
||||||
subgraph cluster_8 {
|
subgraph cluster_8 {
|
||||||
color=red
|
color=red
|
||||||
25 [label="Enter function test_2" style="filled" fillcolor=red];
|
27 [label="Enter function test_2" style="filled" fillcolor=red];
|
||||||
subgraph cluster_9 {
|
subgraph cluster_9 {
|
||||||
color=blue
|
color=blue
|
||||||
26 [label="Enter when"];
|
28 [label="Enter when"];
|
||||||
subgraph cluster_10 {
|
subgraph cluster_10 {
|
||||||
color=blue
|
color=blue
|
||||||
27 [label="Enter when branch condition "];
|
29 [label="Enter when branch condition "];
|
||||||
28 [label="Access variable R|<local>/b|"];
|
30 [label="Access variable R|<local>/b|"];
|
||||||
29 [label="Access variable R|/A.x|"];
|
31 [label="Access variable R|/A.x|"];
|
||||||
30 [label="Type operator: (R|<local>/b|.R|/A.x| is R|kotlin/String|)"];
|
32 [label="Type operator: (R|<local>/b|.R|/A.x| is R|kotlin/String|)"];
|
||||||
31 [label="Exit when branch condition"];
|
33 [label="Exit when branch condition"];
|
||||||
}
|
}
|
||||||
32 [label="Synthetic else branch"];
|
34 [label="Synthetic else branch"];
|
||||||
33 [label="Enter when branch result"];
|
35 [label="Enter when branch result"];
|
||||||
subgraph cluster_11 {
|
subgraph cluster_11 {
|
||||||
color=blue
|
color=blue
|
||||||
34 [label="Enter block"];
|
36 [label="Enter block"];
|
||||||
35 [label="Access variable R|<local>/b|"];
|
37 [label="Access variable R|<local>/b|"];
|
||||||
36 [label="Access variable R|/A.x|"];
|
38 [label="Access variable R|/A.x|"];
|
||||||
37 [label="Access variable R|kotlin/String.length|"];
|
39 [label="Access variable R|kotlin/String.length|"];
|
||||||
38 [label="Exit block"];
|
40 [label="Exit block"];
|
||||||
}
|
}
|
||||||
39 [label="Exit when branch result"];
|
41 [label="Exit when branch result"];
|
||||||
40 [label="Exit when"];
|
42 [label="Exit when"];
|
||||||
}
|
}
|
||||||
41 [label="Exit function test_2" style="filled" fillcolor=red];
|
43 [label="Exit function test_2" style="filled" fillcolor=red];
|
||||||
}
|
}
|
||||||
|
|
||||||
25 -> {26};
|
|
||||||
26 -> {27};
|
|
||||||
27 -> {28};
|
27 -> {28};
|
||||||
28 -> {29};
|
28 -> {29};
|
||||||
29 -> {30};
|
29 -> {30};
|
||||||
30 -> {31};
|
30 -> {31};
|
||||||
31 -> {33 32};
|
31 -> {32};
|
||||||
32 -> {40};
|
32 -> {33};
|
||||||
33 -> {34};
|
33 -> {35 34};
|
||||||
34 -> {35};
|
34 -> {42};
|
||||||
35 -> {36};
|
35 -> {36};
|
||||||
36 -> {37};
|
36 -> {37};
|
||||||
37 -> {38};
|
37 -> {38};
|
||||||
38 -> {39};
|
38 -> {39};
|
||||||
39 -> {40};
|
39 -> {40};
|
||||||
40 -> {41};
|
40 -> {41};
|
||||||
|
41 -> {42};
|
||||||
|
42 -> {43};
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|||||||
+37
-35
@@ -6,79 +6,80 @@ digraph delayedAssignment_kt {
|
|||||||
subgraph cluster_0 {
|
subgraph cluster_0 {
|
||||||
color=red
|
color=red
|
||||||
0 [label="Enter function <init>" style="filled" fillcolor=red];
|
0 [label="Enter function <init>" style="filled" fillcolor=red];
|
||||||
1 [label="Exit function <init>" style="filled" fillcolor=red];
|
1 [label="Delegated constructor call: super<R|kotlin/Any|>()"];
|
||||||
|
2 [label="Exit function <init>" style="filled" fillcolor=red];
|
||||||
}
|
}
|
||||||
|
|
||||||
0 -> {1};
|
0 -> {1};
|
||||||
|
1 -> {2};
|
||||||
|
|
||||||
subgraph cluster_1 {
|
subgraph cluster_1 {
|
||||||
color=red
|
color=red
|
||||||
2 [label="Enter function foo" style="filled" fillcolor=red];
|
3 [label="Enter function foo" style="filled" fillcolor=red];
|
||||||
3 [label="Exit function foo" style="filled" fillcolor=red];
|
4 [label="Exit function foo" style="filled" fillcolor=red];
|
||||||
}
|
}
|
||||||
|
|
||||||
2 -> {3};
|
3 -> {4};
|
||||||
|
|
||||||
subgraph cluster_2 {
|
subgraph cluster_2 {
|
||||||
color=red
|
color=red
|
||||||
4 [label="Enter function test" style="filled" fillcolor=red];
|
5 [label="Enter function test" style="filled" fillcolor=red];
|
||||||
5 [label="Variable declaration: lval a: R|A?|"];
|
6 [label="Variable declaration: lval a: R|A?|"];
|
||||||
subgraph cluster_3 {
|
subgraph cluster_3 {
|
||||||
color=blue
|
color=blue
|
||||||
6 [label="Enter when"];
|
7 [label="Enter when"];
|
||||||
subgraph cluster_4 {
|
subgraph cluster_4 {
|
||||||
color=blue
|
color=blue
|
||||||
7 [label="Enter when branch condition "];
|
8 [label="Enter when branch condition "];
|
||||||
8 [label="Access variable R|<local>/b|"];
|
9 [label="Access variable R|<local>/b|"];
|
||||||
9 [label="Exit when branch condition"];
|
10 [label="Exit when branch condition"];
|
||||||
}
|
}
|
||||||
subgraph cluster_5 {
|
subgraph cluster_5 {
|
||||||
color=blue
|
color=blue
|
||||||
10 [label="Enter when branch condition else"];
|
11 [label="Enter when branch condition else"];
|
||||||
11 [label="Exit when branch condition"];
|
12 [label="Exit when branch condition"];
|
||||||
}
|
}
|
||||||
12 [label="Enter when branch result"];
|
13 [label="Enter when branch result"];
|
||||||
subgraph cluster_6 {
|
subgraph cluster_6 {
|
||||||
color=blue
|
color=blue
|
||||||
13 [label="Enter block"];
|
14 [label="Enter block"];
|
||||||
14 [label="Const: Null(null)"];
|
15 [label="Const: Null(null)"];
|
||||||
15 [label="Assignmenet: R|<local>/a|"];
|
16 [label="Assignmenet: R|<local>/a|"];
|
||||||
16 [label="Exit block"];
|
17 [label="Exit block"];
|
||||||
}
|
}
|
||||||
17 [label="Exit when branch result"];
|
18 [label="Exit when branch result"];
|
||||||
18 [label="Enter when branch result"];
|
19 [label="Enter when branch result"];
|
||||||
subgraph cluster_7 {
|
subgraph cluster_7 {
|
||||||
color=blue
|
color=blue
|
||||||
19 [label="Enter block"];
|
20 [label="Enter block"];
|
||||||
20 [label="Function call: R|/A.A|()"];
|
21 [label="Function call: R|/A.A|()"];
|
||||||
21 [label="Assignmenet: R|<local>/a|"];
|
22 [label="Assignmenet: R|<local>/a|"];
|
||||||
22 [label="Access variable R|<local>/a|"];
|
23 [label="Access variable R|<local>/a|"];
|
||||||
23 [label="Function call: R|<local>/a|.R|/A.foo|()"];
|
24 [label="Function call: R|<local>/a|.R|/A.foo|()"];
|
||||||
24 [label="Exit block"];
|
25 [label="Exit block"];
|
||||||
}
|
}
|
||||||
25 [label="Exit when branch result"];
|
26 [label="Exit when branch result"];
|
||||||
26 [label="Exit when"];
|
27 [label="Exit when"];
|
||||||
}
|
}
|
||||||
27 [label="Access variable R|<local>/a|"];
|
28 [label="Access variable R|<local>/a|"];
|
||||||
28 [label="Function call: R|<local>/a|.<Inapplicable(WRONG_RECEIVER): [/A.foo]>#()"];
|
29 [label="Function call: R|<local>/a|.<Inapplicable(WRONG_RECEIVER): [/A.foo]>#()"];
|
||||||
29 [label="Exit function test" style="filled" fillcolor=red];
|
30 [label="Exit function test" style="filled" fillcolor=red];
|
||||||
}
|
}
|
||||||
|
|
||||||
4 -> {5};
|
|
||||||
5 -> {6};
|
5 -> {6};
|
||||||
6 -> {7};
|
6 -> {7};
|
||||||
7 -> {8};
|
7 -> {8};
|
||||||
8 -> {9};
|
8 -> {9};
|
||||||
9 -> {18 10};
|
9 -> {10};
|
||||||
10 -> {11};
|
10 -> {19 11};
|
||||||
11 -> {12};
|
11 -> {12};
|
||||||
12 -> {13};
|
12 -> {13};
|
||||||
13 -> {14};
|
13 -> {14};
|
||||||
14 -> {15};
|
14 -> {15};
|
||||||
15 -> {16};
|
15 -> {16};
|
||||||
16 -> {17};
|
16 -> {17};
|
||||||
17 -> {26};
|
17 -> {18};
|
||||||
18 -> {19};
|
18 -> {27};
|
||||||
19 -> {20};
|
19 -> {20};
|
||||||
20 -> {21};
|
20 -> {21};
|
||||||
21 -> {22};
|
21 -> {22};
|
||||||
@@ -89,5 +90,6 @@ digraph delayedAssignment_kt {
|
|||||||
26 -> {27};
|
26 -> {27};
|
||||||
27 -> {28};
|
27 -> {28};
|
||||||
28 -> {29};
|
28 -> {29};
|
||||||
|
29 -> {30};
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|||||||
+104
-96
@@ -6,165 +6,173 @@ digraph delegateWithAnonymousObject_kt {
|
|||||||
subgraph cluster_0 {
|
subgraph cluster_0 {
|
||||||
color=red
|
color=red
|
||||||
0 [label="Enter function <init>" style="filled" fillcolor=red];
|
0 [label="Enter function <init>" style="filled" fillcolor=red];
|
||||||
1 [label="Exit function <init>" style="filled" fillcolor=red];
|
1 [label="Delegated constructor call: super<R|kotlin/Any|>()"];
|
||||||
|
2 [label="Exit function <init>" style="filled" fillcolor=red];
|
||||||
}
|
}
|
||||||
|
|
||||||
0 -> {1};
|
0 -> {1};
|
||||||
|
1 -> {2};
|
||||||
|
|
||||||
subgraph cluster_1 {
|
subgraph cluster_1 {
|
||||||
color=red
|
color=red
|
||||||
2 [label="Enter function delegate" style="filled" fillcolor=red];
|
3 [label="Enter function delegate" style="filled" fillcolor=red];
|
||||||
3 [label="Const: Null(null)"];
|
4 [label="Const: Null(null)"];
|
||||||
4 [label="Check not null: Null(null)!!"];
|
5 [label="Check not null: Null(null)!!"];
|
||||||
5 [label="Jump: ^delegate Null(null)!!"];
|
6 [label="Jump: ^delegate Null(null)!!"];
|
||||||
6 [label="Stub" style="filled" fillcolor=gray];
|
7 [label="Stub" style="filled" fillcolor=gray];
|
||||||
7 [label="Exit function delegate" style="filled" fillcolor=red];
|
8 [label="Exit function delegate" style="filled" fillcolor=red];
|
||||||
}
|
}
|
||||||
|
|
||||||
2 -> {3};
|
|
||||||
3 -> {4};
|
3 -> {4};
|
||||||
4 -> {5};
|
4 -> {5};
|
||||||
5 -> {7};
|
5 -> {6};
|
||||||
5 -> {6} [style=dotted];
|
6 -> {8};
|
||||||
6 -> {7} [style=dotted];
|
6 -> {7} [style=dotted];
|
||||||
|
7 -> {8} [style=dotted];
|
||||||
|
|
||||||
subgraph cluster_2 {
|
subgraph cluster_2 {
|
||||||
color=red
|
color=red
|
||||||
8 [label="Enter function <init>" style="filled" fillcolor=red];
|
9 [label="Enter function <init>" style="filled" fillcolor=red];
|
||||||
9 [label="Exit function <init>" style="filled" fillcolor=red];
|
10 [label="Delegated constructor call: super<R|DelegateProvider<IssueListView>|>()"];
|
||||||
|
11 [label="Exit function <init>" style="filled" fillcolor=red];
|
||||||
}
|
}
|
||||||
|
|
||||||
8 -> {9};
|
9 -> {10};
|
||||||
|
10 -> {11};
|
||||||
|
|
||||||
subgraph cluster_3 {
|
subgraph cluster_3 {
|
||||||
color=red
|
color=red
|
||||||
10 [label="Enter function updateFrom" style="filled" fillcolor=red];
|
12 [label="Enter function updateFrom" style="filled" fillcolor=red];
|
||||||
11 [label="Exit function updateFrom" style="filled" fillcolor=red];
|
13 [label="Exit function updateFrom" style="filled" fillcolor=red];
|
||||||
}
|
|
||||||
|
|
||||||
10 -> {11};
|
|
||||||
|
|
||||||
subgraph cluster_4 {
|
|
||||||
color=red
|
|
||||||
12 [label="Enter function <init>" style="filled" fillcolor=red];
|
|
||||||
13 [label="Exit function <init>" style="filled" fillcolor=red];
|
|
||||||
}
|
}
|
||||||
|
|
||||||
12 -> {13};
|
12 -> {13};
|
||||||
|
|
||||||
subgraph cluster_5 {
|
subgraph cluster_4 {
|
||||||
color=red
|
color=red
|
||||||
14 [label="Enter function anonymousFunction" style="filled" fillcolor=red];
|
14 [label="Enter function <init>" style="filled" fillcolor=red];
|
||||||
15 [label="Exit anonymous object"];
|
15 [label="Delegated constructor call: super<R|DelegateProvider<IssuesListUserProfile>|>()"];
|
||||||
16 [label="Exit function anonymousFunction" style="filled" fillcolor=red];
|
16 [label="Exit function <init>" style="filled" fillcolor=red];
|
||||||
}
|
}
|
||||||
|
|
||||||
14 -> {15};
|
14 -> {15};
|
||||||
15 -> {16};
|
15 -> {16};
|
||||||
|
|
||||||
subgraph cluster_6 {
|
subgraph cluster_5 {
|
||||||
color=red
|
color=red
|
||||||
17 [label="Enter function <init>" style="filled" fillcolor=red];
|
17 [label="Enter function anonymousFunction" style="filled" fillcolor=red];
|
||||||
18 [label="Exit function <init>" style="filled" fillcolor=red];
|
18 [label="Exit anonymous object"];
|
||||||
|
19 [label="Exit function anonymousFunction" style="filled" fillcolor=red];
|
||||||
}
|
}
|
||||||
|
|
||||||
17 -> {18};
|
17 -> {18};
|
||||||
|
18 -> {19};
|
||||||
|
|
||||||
|
subgraph cluster_6 {
|
||||||
|
color=red
|
||||||
|
20 [label="Enter function <init>" style="filled" fillcolor=red];
|
||||||
|
21 [label="Delegated constructor call: super<R|kotlin/Any|>()"];
|
||||||
|
22 [label="Exit function <init>" style="filled" fillcolor=red];
|
||||||
|
}
|
||||||
|
|
||||||
|
20 -> {21};
|
||||||
|
21 -> {22};
|
||||||
|
|
||||||
subgraph cluster_7 {
|
subgraph cluster_7 {
|
||||||
color=red
|
color=red
|
||||||
19 [label="Enter function getValue" style="filled" fillcolor=red];
|
23 [label="Enter function getValue" style="filled" fillcolor=red];
|
||||||
20 [label="Function call: R|/IssueListView.IssueListView|()"];
|
24 [label="Function call: R|/IssueListView.IssueListView|()"];
|
||||||
21 [label="Jump: ^getValue R|/IssueListView.IssueListView|()"];
|
25 [label="Jump: ^getValue R|/IssueListView.IssueListView|()"];
|
||||||
22 [label="Stub" style="filled" fillcolor=gray];
|
26 [label="Stub" style="filled" fillcolor=gray];
|
||||||
23 [label="Exit function getValue" style="filled" fillcolor=red];
|
27 [label="Exit function getValue" style="filled" fillcolor=red];
|
||||||
}
|
}
|
||||||
|
|
||||||
19 -> {20};
|
23 -> {24};
|
||||||
20 -> {21};
|
24 -> {25};
|
||||||
21 -> {23};
|
25 -> {27};
|
||||||
21 -> {22} [style=dotted];
|
25 -> {26} [style=dotted];
|
||||||
22 -> {23} [style=dotted];
|
26 -> {27} [style=dotted];
|
||||||
|
|
||||||
subgraph cluster_8 {
|
subgraph cluster_8 {
|
||||||
color=red
|
color=red
|
||||||
24 [label="Enter function setValue" style="filled" fillcolor=red];
|
28 [label="Enter function setValue" style="filled" fillcolor=red];
|
||||||
25 [label="Function call: R|/IssueListView.IssueListView|()"];
|
29 [label="Function call: R|/IssueListView.IssueListView|()"];
|
||||||
26 [label="Access variable R|<local>/value|"];
|
30 [label="Access variable R|<local>/value|"];
|
||||||
27 [label="Function call: R|/IssueListView.IssueListView|().R|/IssueListView.updateFrom|(...)"];
|
31 [label="Function call: R|/IssueListView.IssueListView|().R|/IssueListView.updateFrom|(...)"];
|
||||||
28 [label="Jump: ^setValue R|/IssueListView.IssueListView|().R|/IssueListView.updateFrom|(R|<local>/value|)"];
|
32 [label="Jump: ^setValue R|/IssueListView.IssueListView|().R|/IssueListView.updateFrom|(R|<local>/value|)"];
|
||||||
29 [label="Stub" style="filled" fillcolor=gray];
|
33 [label="Stub" style="filled" fillcolor=gray];
|
||||||
30 [label="Exit function setValue" style="filled" fillcolor=red];
|
34 [label="Exit function setValue" style="filled" fillcolor=red];
|
||||||
}
|
}
|
||||||
|
|
||||||
24 -> {25};
|
28 -> {29};
|
||||||
25 -> {26};
|
29 -> {30};
|
||||||
26 -> {27};
|
30 -> {31};
|
||||||
27 -> {28};
|
31 -> {32};
|
||||||
28 -> {30};
|
32 -> {34};
|
||||||
28 -> {29} [style=dotted];
|
32 -> {33} [style=dotted];
|
||||||
29 -> {30} [style=dotted];
|
33 -> {34} [style=dotted];
|
||||||
|
|
||||||
subgraph cluster_9 {
|
subgraph cluster_9 {
|
||||||
color=red
|
color=red
|
||||||
31 [label="Enter function getter" style="filled" fillcolor=red];
|
35 [label="Enter function getter" style="filled" fillcolor=red];
|
||||||
32 [label="Access variable D|/IssuesListUserProfile.issueListView|"];
|
36 [label="Access variable D|/IssuesListUserProfile.issueListView|"];
|
||||||
33 [label="Access variable this@R|/IssuesListUserProfile|"];
|
37 [label="Access variable this@R|/IssuesListUserProfile|"];
|
||||||
34 [label="Function call: D|/IssuesListUserProfile.issueListView|.R|FakeOverride<kotlin/properties/ReadWriteProperty.getValue: R|IssueListView|>|(...)"];
|
38 [label="Function call: D|/IssuesListUserProfile.issueListView|.R|FakeOverride<kotlin/properties/ReadWriteProperty.getValue: R|IssueListView|>|(...)"];
|
||||||
35 [label="Jump: ^ D|/IssuesListUserProfile.issueListView|.R|FakeOverride<kotlin/properties/ReadWriteProperty.getValue: R|IssueListView|>|(this@R|/IssuesListUserProfile|, ::R|/IssuesListUserProfile.issueListView|)"];
|
39 [label="Jump: ^ D|/IssuesListUserProfile.issueListView|.R|FakeOverride<kotlin/properties/ReadWriteProperty.getValue: R|IssueListView|>|(this@R|/IssuesListUserProfile|, ::R|/IssuesListUserProfile.issueListView|)"];
|
||||||
36 [label="Stub" style="filled" fillcolor=gray];
|
40 [label="Stub" style="filled" fillcolor=gray];
|
||||||
37 [label="Exit function getter" style="filled" fillcolor=red];
|
41 [label="Exit function getter" style="filled" fillcolor=red];
|
||||||
}
|
}
|
||||||
|
|
||||||
31 -> {32};
|
35 -> {36};
|
||||||
32 -> {33};
|
36 -> {37};
|
||||||
33 -> {34};
|
37 -> {38};
|
||||||
34 -> {35};
|
38 -> {39};
|
||||||
35 -> {37};
|
39 -> {41};
|
||||||
35 -> {36} [style=dotted];
|
39 -> {40} [style=dotted];
|
||||||
36 -> {37} [style=dotted];
|
40 -> {41} [style=dotted];
|
||||||
|
|
||||||
subgraph cluster_10 {
|
subgraph cluster_10 {
|
||||||
color=red
|
color=red
|
||||||
38 [label="Enter function setter" style="filled" fillcolor=red];
|
42 [label="Enter function setter" style="filled" fillcolor=red];
|
||||||
39 [label="Access variable D|/IssuesListUserProfile.issueListView|"];
|
43 [label="Access variable D|/IssuesListUserProfile.issueListView|"];
|
||||||
40 [label="Access variable this@R|/IssuesListUserProfile|"];
|
44 [label="Access variable this@R|/IssuesListUserProfile|"];
|
||||||
41 [label="Access variable R|<local>/issueListView|"];
|
45 [label="Access variable R|<local>/issueListView|"];
|
||||||
42 [label="Function call: D|/IssuesListUserProfile.issueListView|.R|FakeOverride<kotlin/properties/ReadWriteProperty.setValue: R|kotlin/Unit|>|(...)"];
|
46 [label="Function call: D|/IssuesListUserProfile.issueListView|.R|FakeOverride<kotlin/properties/ReadWriteProperty.setValue: R|kotlin/Unit|>|(...)"];
|
||||||
43 [label="Exit function setter" style="filled" fillcolor=red];
|
47 [label="Exit function setter" style="filled" fillcolor=red];
|
||||||
}
|
}
|
||||||
|
|
||||||
38 -> {39};
|
|
||||||
39 -> {40};
|
|
||||||
40 -> {41};
|
|
||||||
41 -> {42};
|
|
||||||
42 -> {43};
|
42 -> {43};
|
||||||
|
43 -> {44};
|
||||||
|
44 -> {45};
|
||||||
|
45 -> {46};
|
||||||
|
46 -> {47};
|
||||||
|
|
||||||
subgraph cluster_11 {
|
subgraph cluster_11 {
|
||||||
color=red
|
color=red
|
||||||
44 [label="Enter property" style="filled" fillcolor=red];
|
48 [label="Enter property" style="filled" fillcolor=red];
|
||||||
45 [label="Postponed enter to lambda"];
|
49 [label="Postponed enter to lambda"];
|
||||||
46 [label="Postponed exit from lambda"];
|
50 [label="Postponed exit from lambda"];
|
||||||
47 [label="Function call: this@R|/IssuesListUserProfile|.R|/delegate|<R|IssuesListUserProfile|, R|IssuesListUserProfile|, R|IssueListView|>(...)"];
|
51 [label="Function call: this@R|/IssuesListUserProfile|.R|/delegate|<R|IssuesListUserProfile|, R|IssuesListUserProfile|, R|IssueListView|>(...)"];
|
||||||
48 [label="Access variable this@R|/IssuesListUserProfile|"];
|
52 [label="Access variable this@R|/IssuesListUserProfile|"];
|
||||||
49 [label="Access variable this@R|/IssuesListUserProfile|"];
|
53 [label="Access variable this@R|/IssuesListUserProfile|"];
|
||||||
50 [label="Access variable this@R|/IssuesListUserProfile|"];
|
54 [label="Access variable this@R|/IssuesListUserProfile|"];
|
||||||
51 [label="Function call: this@R|/IssuesListUserProfile|.R|/delegate|<R|IssuesListUserProfile|, R|IssuesListUserProfile|, R|IssueListView|>(...).<Unresolved name: provideDelegate>#(...)"];
|
55 [label="Function call: this@R|/IssuesListUserProfile|.R|/delegate|<R|IssuesListUserProfile|, R|IssuesListUserProfile|, R|IssueListView|>(...).<Unresolved name: provideDelegate>#(...)"];
|
||||||
52 [label="Postponed enter to lambda"];
|
56 [label="Postponed enter to lambda"];
|
||||||
53 [label="Postponed exit from lambda"];
|
57 [label="Postponed exit from lambda"];
|
||||||
54 [label="Function call: this@R|/IssuesListUserProfile|.R|/delegate|<R|IssuesListUserProfile|, R|IssuesListUserProfile|, R|IssueListView|>(...)"];
|
58 [label="Function call: this@R|/IssuesListUserProfile|.R|/delegate|<R|IssuesListUserProfile|, R|IssuesListUserProfile|, R|IssueListView|>(...)"];
|
||||||
55 [label="Exit property" style="filled" fillcolor=red];
|
59 [label="Exit property" style="filled" fillcolor=red];
|
||||||
}
|
}
|
||||||
|
|
||||||
44 -> {45};
|
|
||||||
45 -> {46 46} [color=green];
|
|
||||||
46 -> {47};
|
|
||||||
47 -> {48};
|
|
||||||
48 -> {49};
|
48 -> {49};
|
||||||
49 -> {50};
|
49 -> {50 50} [color=green];
|
||||||
50 -> {51};
|
50 -> {51};
|
||||||
51 -> {52};
|
51 -> {52};
|
||||||
52 -> {53 53} [color=green];
|
52 -> {53};
|
||||||
53 -> {54};
|
53 -> {54};
|
||||||
54 -> {55};
|
54 -> {55};
|
||||||
|
55 -> {56};
|
||||||
|
56 -> {57 57} [color=green];
|
||||||
|
57 -> {58};
|
||||||
|
58 -> {59};
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|||||||
+5
@@ -606,6 +606,11 @@ public class FirDiagnosticsTestGenerated extends AbstractFirDiagnosticsTest {
|
|||||||
runTest("compiler/fir/resolve/testData/resolve/cfg/loops.kt");
|
runTest("compiler/fir/resolve/testData/resolve/cfg/loops.kt");
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@TestMetadata("postponedLambdaInConstructor.kt")
|
||||||
|
public void testPostponedLambdaInConstructor() throws Exception {
|
||||||
|
runTest("compiler/fir/resolve/testData/resolve/cfg/postponedLambdaInConstructor.kt");
|
||||||
|
}
|
||||||
|
|
||||||
@TestMetadata("postponedLambdas.kt")
|
@TestMetadata("postponedLambdas.kt")
|
||||||
public void testPostponedLambdas() throws Exception {
|
public void testPostponedLambdas() throws Exception {
|
||||||
runTest("compiler/fir/resolve/testData/resolve/cfg/postponedLambdas.kt");
|
runTest("compiler/fir/resolve/testData/resolve/cfg/postponedLambdas.kt");
|
||||||
|
|||||||
Generated
+5
@@ -581,6 +581,11 @@ public class FirDiagnosticsWithLightTreeTestGenerated extends AbstractFirDiagnos
|
|||||||
runTest("compiler/fir/resolve/testData/resolve/cfg/initBlockAndInPlaceLambda.kt");
|
runTest("compiler/fir/resolve/testData/resolve/cfg/initBlockAndInPlaceLambda.kt");
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@TestMetadata("inplaceLambdaInControlFlowExpressions.kt")
|
||||||
|
public void testInplaceLambdaInControlFlowExpressions() throws Exception {
|
||||||
|
runTest("compiler/fir/resolve/testData/resolve/cfg/inplaceLambdaInControlFlowExpressions.kt");
|
||||||
|
}
|
||||||
|
|
||||||
@TestMetadata("jumps.kt")
|
@TestMetadata("jumps.kt")
|
||||||
public void testJumps() throws Exception {
|
public void testJumps() throws Exception {
|
||||||
runTest("compiler/fir/resolve/testData/resolve/cfg/jumps.kt");
|
runTest("compiler/fir/resolve/testData/resolve/cfg/jumps.kt");
|
||||||
|
|||||||
Reference in New Issue
Block a user