[FIR] Update testdata after introducing FirResolvedErrorReference
This commit is contained in:
committed by
Space Team
parent
dde64c10ea
commit
b174bb8844
@@ -11,7 +11,7 @@ FILE: class.kt
|
||||
private [BODY_RESOLVE] get(): <ERROR TYPE REF: Symbol not found for C>
|
||||
|
||||
public final [BODY_RESOLVE] fun foo([BODY_RESOLVE] a: <ERROR TYPE REF: Symbol not found for A>): <ERROR TYPE REF: Cannot infer argument for type parameter R> {
|
||||
^foo <CS errors: kotlin/with>#<R|ERROR CLASS: Cannot infer argument for type parameter T|, R|ERROR CLASS: Cannot infer argument for type parameter R|>(R|<local>/a|, <L> = [BODY_RESOLVE] with@fun <ERROR TYPE REF: Cannot infer argument for type parameter T>.<anonymous>(): <ERROR TYPE REF: Cannot infer argument for type parameter R> <inline=Inline, kind=EXACTLY_ONCE> {
|
||||
^foo R|kotlin/with<CS errors: kotlin/with>#|<R|ERROR CLASS: Cannot infer argument for type parameter T|, R|ERROR CLASS: Cannot infer argument for type parameter R|>(R|<local>/a|, <L> = [BODY_RESOLVE] with@fun <ERROR TYPE REF: Cannot infer argument for type parameter T>.<anonymous>(): <ERROR TYPE REF: Cannot infer argument for type parameter R> <inline=Inline, kind=EXACTLY_ONCE> {
|
||||
^ <Unresolved name: bar>#(String(a), this@R|/B|.R|/B.y|)
|
||||
}
|
||||
)
|
||||
|
||||
+1
-1
@@ -10,5 +10,5 @@ FILE: main.kt
|
||||
|
||||
}
|
||||
public final fun test(b: R|B|): R|kotlin/Unit| {
|
||||
R|<local>/b|.<HIDDEN: /B.foo is invisible>#(String())
|
||||
R|<local>/b|.R|/B.foo<HIDDEN: /B.foo is invisible>#|(String())
|
||||
}
|
||||
|
||||
+5
-5
@@ -5,13 +5,13 @@ FILE: argParamTypeMismatch.kt
|
||||
}
|
||||
public final fun test(): R|kotlin/Unit| {
|
||||
lval int: R|kotlin/Int| = Int(1)
|
||||
<Inapplicable(INAPPLICABLE): /foo>#(R|<local>/int|)
|
||||
<Inapplicable(INAPPLICABLE): /foo>#(Int(2))
|
||||
<Inapplicable(INAPPLICABLE): /foo>#(R|kotlin/run|<R|kotlin/Int|>(<L> = run@fun <anonymous>(): R|kotlin/Int| <inline=Inline, kind=EXACTLY_ONCE> {
|
||||
R|/foo<Inapplicable(INAPPLICABLE): /foo>#|(R|<local>/int|)
|
||||
R|/foo<Inapplicable(INAPPLICABLE): /foo>#|(Int(2))
|
||||
R|/foo<Inapplicable(INAPPLICABLE): /foo>#|(R|kotlin/run|<R|kotlin/Int|>(<L> = run@fun <anonymous>(): R|kotlin/Int| <inline=Inline, kind=EXACTLY_ONCE> {
|
||||
^ Int(20)
|
||||
}
|
||||
))
|
||||
R|/foo2|(String(asdf), Int(3))
|
||||
<Inapplicable(INAPPLICABLE): /foo2>#(Int(4), String(asdf))
|
||||
<Inapplicable(INAPPLICABLE): /foo2>#(Int(5), Int(6))
|
||||
R|/foo2<Inapplicable(INAPPLICABLE): /foo2>#|(Int(4), String(asdf))
|
||||
R|/foo2<Inapplicable(INAPPLICABLE): /foo2>#|(Int(5), Int(6))
|
||||
}
|
||||
|
||||
@@ -10,14 +10,14 @@ FILE: default.kt
|
||||
R|/foo|(Int(1), Double(2.0))
|
||||
R|/foo|(Int(1), Double(2.0), Boolean(true))
|
||||
R|/foo|(Int(1), third = Boolean(true))
|
||||
<Inapplicable(INAPPLICABLE_ARGUMENTS_MAPPING_ERROR): /foo>#()
|
||||
<Inapplicable(INAPPLICABLE_ARGUMENTS_MAPPING_ERROR): /foo>#(Int(0), Double(0.0), Boolean(false), String())
|
||||
R|/foo<Inapplicable(INAPPLICABLE_ARGUMENTS_MAPPING_ERROR): /foo>#|()
|
||||
R|/foo<Inapplicable(INAPPLICABLE_ARGUMENTS_MAPPING_ERROR): /foo>#|(Int(0), Double(0.0), Boolean(false), String())
|
||||
R|/bar|(Int(1), third = Boolean(true))
|
||||
R|/bar|(Int(1), Double(2.0), Boolean(true))
|
||||
R|/bar|(Int(1), Double(2.0), Boolean(true), String(my))
|
||||
<Inapplicable(INAPPLICABLE_ARGUMENTS_MAPPING_ERROR): /bar>#(Int(1), Boolean(true))
|
||||
R|/bar<Inapplicable(INAPPLICABLE_ARGUMENTS_MAPPING_ERROR): /bar>#|(Int(1), Boolean(true))
|
||||
R|/baz|(Int(1))
|
||||
R|/baz|(Int(1), vararg(String(my), String(yours)))
|
||||
R|/baz|(Int(1), z = Boolean(true))
|
||||
<Inapplicable(INAPPLICABLE): /baz>#(Int(0), String(), Boolean(false))
|
||||
R|/baz<Inapplicable(INAPPLICABLE): /baz>#|(Int(0), String(), Boolean(false))
|
||||
}
|
||||
|
||||
+2
-2
@@ -22,8 +22,8 @@ FILE: defaultFromOverrides.kt
|
||||
public final fun foo(a: R|A|): R|kotlin/Unit| {
|
||||
R|<local>/a|.R|/A.foo|()
|
||||
R|<local>/a|.R|/A.foo|(Int(1))
|
||||
R|<local>/a|.<Inapplicable(INAPPLICABLE_ARGUMENTS_MAPPING_ERROR): /A.bar>#()
|
||||
R|<local>/a|.<Inapplicable(INAPPLICABLE_ARGUMENTS_MAPPING_ERROR): /A.bar>#(String())
|
||||
R|<local>/a|.R|/A.bar<Inapplicable(INAPPLICABLE_ARGUMENTS_MAPPING_ERROR): /A.bar>#|()
|
||||
R|<local>/a|.R|/A.bar<Inapplicable(INAPPLICABLE_ARGUMENTS_MAPPING_ERROR): /A.bar>#|(String())
|
||||
R|<local>/a|.R|/A.bar|(y = Int(1))
|
||||
R|<local>/a|.R|/A.bar|(String(), Int(2))
|
||||
}
|
||||
|
||||
+8
-8
@@ -37,9 +37,9 @@ FILE: destructuring.kt
|
||||
}
|
||||
)
|
||||
R|/foo1|(<L> = foo1@fun <anonymous>(<destruct>: R|C|): R|kotlin/Unit| <inline=NoInline> {
|
||||
lval x: R|kotlin/String| = R|<local>/<destruct>|.<CS errors: /C.component1>#()
|
||||
lval y: R|kotlin/Int| = R|<local>/<destruct>|.<CS errors: /C.component2>#()
|
||||
<Inapplicable(INAPPLICABLE): /C.C>#(R|<local>/x|, R|<local>/y|)
|
||||
lval x: R|kotlin/String| = R|<local>/<destruct>|.R|/C.component1<CS errors: /C.component1>#|()
|
||||
lval y: R|kotlin/Int| = R|<local>/<destruct>|.R|/C.component2<CS errors: /C.component2>#|()
|
||||
R|/C.C<Inapplicable(INAPPLICABLE): /C.C>#|(R|<local>/x|, R|<local>/y|)
|
||||
}
|
||||
)
|
||||
R|/foo2|(<L> = foo2@fun <anonymous>(<destruct>: R|C|, <destruct>: R|C|): R|kotlin/Unit| <inline=NoInline> {
|
||||
@@ -59,11 +59,11 @@ FILE: destructuring.kt
|
||||
}
|
||||
)
|
||||
R|/foo2|(<L> = foo2@fun <anonymous>(<destruct>: R|C|, <destruct>: R|C|): R|kotlin/Unit| <inline=NoInline> {
|
||||
lval x: R|kotlin/String| = R|<local>/<destruct>|.<CS errors: /C.component1>#()
|
||||
lval y: R|kotlin/Int| = R|<local>/<destruct>|.<CS errors: /C.component2>#()
|
||||
lval z: R|kotlin/String| = R|<local>/<destruct>|.<CS errors: /C.component1>#()
|
||||
lval w: R|kotlin/Int| = R|<local>/<destruct>|.<CS errors: /C.component2>#()
|
||||
<Inapplicable(INAPPLICABLE): /C.C>#(R|<local>/x|.R|kotlin/String.plus|(R|<local>/z|), R|<local>/y|.R|kotlin/Int.plus|(R|<local>/w|))
|
||||
lval x: R|kotlin/String| = R|<local>/<destruct>|.R|/C.component1<CS errors: /C.component1>#|()
|
||||
lval y: R|kotlin/Int| = R|<local>/<destruct>|.R|/C.component2<CS errors: /C.component2>#|()
|
||||
lval z: R|kotlin/String| = R|<local>/<destruct>|.R|/C.component1<CS errors: /C.component1>#|()
|
||||
lval w: R|kotlin/Int| = R|<local>/<destruct>|.R|/C.component2<CS errors: /C.component2>#|()
|
||||
R|/C.C<Inapplicable(INAPPLICABLE): /C.C>#|(R|<local>/x|.R|kotlin/String.plus|(R|<local>/z|), R|<local>/y|.R|kotlin/Int.plus|(R|<local>/w|))
|
||||
}
|
||||
)
|
||||
}
|
||||
|
||||
+4
-4
@@ -20,9 +20,9 @@ FILE: integerLiteralTypes.kt
|
||||
R|/takeLong|(Long(1))
|
||||
}
|
||||
public final fun test_2(): R|kotlin/Unit| {
|
||||
<Inapplicable(INAPPLICABLE): /takeInt>#(Long(10000000000))
|
||||
R|/takeInt<Inapplicable(INAPPLICABLE): /takeInt>#|(Long(10000000000))
|
||||
R|/takeLong|(Long(10000000000))
|
||||
<Inapplicable(INAPPLICABLE): /takeByte>#(Int(1000))
|
||||
R|/takeByte<Inapplicable(INAPPLICABLE): /takeByte>#|(Int(1000))
|
||||
}
|
||||
public final fun test_3(): R|kotlin/Unit| {
|
||||
R|/takeInt|(R|kotlin/run|<R|kotlin/Int|>(<L> = run@fun <anonymous>(): R|kotlin/Int| <inline=Inline, kind=EXACTLY_ONCE> {
|
||||
@@ -46,8 +46,8 @@ FILE: integerLiteralTypes.kt
|
||||
))
|
||||
}
|
||||
public final fun test_5(): R|kotlin/Unit| {
|
||||
<Inapplicable(INAPPLICABLE): /takeString>#(Int(1))
|
||||
<Inapplicable(INAPPLICABLE): /takeString>#(R|kotlin/run|<R|kotlin/Int|>(<L> = run@fun <anonymous>(): R|kotlin/Int| <inline=Inline, kind=EXACTLY_ONCE> {
|
||||
R|/takeString<Inapplicable(INAPPLICABLE): /takeString>#|(Int(1))
|
||||
R|/takeString<Inapplicable(INAPPLICABLE): /takeString>#|(R|kotlin/run|<R|kotlin/Int|>(<L> = run@fun <anonymous>(): R|kotlin/Int| <inline=Inline, kind=EXACTLY_ONCE> {
|
||||
^ Int(1)
|
||||
}
|
||||
))
|
||||
|
||||
+1
-1
@@ -5,6 +5,6 @@ FILE: main.kt
|
||||
}
|
||||
public final fun test(array: R|kotlin/Array<B>|): R|kotlin/Unit| {
|
||||
Q|A|.R|/A.take|(R|<local>/array|)
|
||||
<Inapplicable(INAPPLICABLE): /takeA>#(R|<local>/array|)
|
||||
R|/takeA<Inapplicable(INAPPLICABLE): /takeA>#|(R|<local>/array|)
|
||||
R|/takeOutA|(R|<local>/array|)
|
||||
}
|
||||
|
||||
@@ -18,11 +18,11 @@ FILE: lambda.kt
|
||||
^@foo Unit
|
||||
}
|
||||
)
|
||||
<Inapplicable(INAPPLICABLE_ARGUMENTS_MAPPING_ERROR): /foo>#(Int(1), <L> = foo@fun <anonymous>(): R|kotlin/Unit| <inline=Unknown> {
|
||||
R|/foo<Inapplicable(INAPPLICABLE_ARGUMENTS_MAPPING_ERROR): /foo>#|(Int(1), <L> = foo@fun <anonymous>(): R|kotlin/Unit| <inline=Unknown> {
|
||||
^@foo Unit
|
||||
}
|
||||
)
|
||||
<Inapplicable(INAPPLICABLE_ARGUMENTS_MAPPING_ERROR): /foo>#(f = foo@fun <anonymous>(): R|kotlin/Unit| <inline=Unknown> {
|
||||
R|/foo<Inapplicable(INAPPLICABLE_ARGUMENTS_MAPPING_ERROR): /foo>#|(f = foo@fun <anonymous>(): R|kotlin/Unit| <inline=Unknown> {
|
||||
^@foo Unit
|
||||
}
|
||||
, <L> = foo@fun <anonymous>(): R|kotlin/Unit| <inline=Unknown> {
|
||||
@@ -45,11 +45,11 @@ FILE: lambda.kt
|
||||
^@bar Unit
|
||||
}
|
||||
)
|
||||
<Inapplicable(INAPPLICABLE_ARGUMENTS_MAPPING_ERROR): /bar>#(<L> = bar@fun <anonymous>(): R|kotlin/Unit| <inline=Unknown> {
|
||||
R|/bar<Inapplicable(INAPPLICABLE_ARGUMENTS_MAPPING_ERROR): /bar>#|(<L> = bar@fun <anonymous>(): R|kotlin/Unit| <inline=Unknown> {
|
||||
^@bar Unit
|
||||
}
|
||||
)
|
||||
<Inapplicable(INAPPLICABLE_ARGUMENTS_MAPPING_ERROR): /bar>#(bar@fun <anonymous>(): R|kotlin/Unit| <inline=Unknown> {
|
||||
R|/bar<Inapplicable(INAPPLICABLE_ARGUMENTS_MAPPING_ERROR): /bar>#|(bar@fun <anonymous>(): R|kotlin/Unit| <inline=Unknown> {
|
||||
^@bar Unit
|
||||
}
|
||||
)
|
||||
@@ -61,15 +61,15 @@ FILE: lambda.kt
|
||||
^@baz Unit
|
||||
}
|
||||
, Boolean(false))
|
||||
<Inapplicable(INAPPLICABLE_ARGUMENTS_MAPPING_ERROR): /baz>#(<L> = baz@fun <anonymous>(): R|kotlin/Unit| <inline=Unknown> {
|
||||
R|/baz<Inapplicable(INAPPLICABLE_ARGUMENTS_MAPPING_ERROR): /baz>#|(<L> = baz@fun <anonymous>(): R|kotlin/Unit| <inline=Unknown> {
|
||||
^@baz Unit
|
||||
}
|
||||
)
|
||||
<Inapplicable(INAPPLICABLE_ARGUMENTS_MAPPING_ERROR): /baz>#(<L> = baz@fun <anonymous>(): R|kotlin/Unit| <inline=Unknown> {
|
||||
R|/baz<Inapplicable(INAPPLICABLE_ARGUMENTS_MAPPING_ERROR): /baz>#|(<L> = baz@fun <anonymous>(): R|kotlin/Unit| <inline=Unknown> {
|
||||
^@baz Unit
|
||||
}
|
||||
)
|
||||
<Inapplicable(INAPPLICABLE_ARGUMENTS_MAPPING_ERROR): /baz>#(other = Boolean(false), <L> = baz@fun <anonymous>(): R|kotlin/Unit| <inline=Unknown> {
|
||||
R|/baz<Inapplicable(INAPPLICABLE_ARGUMENTS_MAPPING_ERROR): /baz>#|(other = Boolean(false), <L> = baz@fun <anonymous>(): R|kotlin/Unit| <inline=Unknown> {
|
||||
^@baz Unit
|
||||
}
|
||||
)
|
||||
|
||||
+1
-1
@@ -2,5 +2,5 @@ FILE: noParameterForName.kt
|
||||
public final fun foo(x: R|kotlin/Int|): R|kotlin/Unit| {
|
||||
}
|
||||
public final fun bar(): R|kotlin/Unit| {
|
||||
<Inapplicable(INAPPLICABLE_ARGUMENTS_MAPPING_ERROR): /foo>#(y = Int(1))
|
||||
R|/foo<Inapplicable(INAPPLICABLE_ARGUMENTS_MAPPING_ERROR): /foo>#|(y = Int(1))
|
||||
}
|
||||
|
||||
+18
-18
@@ -30,37 +30,37 @@ FILE: operatorsOverLiterals.kt
|
||||
public final fun takeByte(b: R|kotlin/Byte|): R|kotlin/Unit| {
|
||||
}
|
||||
public final fun test_4(): R|kotlin/Unit| {
|
||||
<Inapplicable(INAPPLICABLE): /takeByte>#(Int(1).R|kotlin/Int.plus|(Int(1)))
|
||||
<Inapplicable(INAPPLICABLE): /takeByte>#(Int(1).R|kotlin/Int.plus|(Int(127)))
|
||||
<Inapplicable(INAPPLICABLE): /takeByte>#(Int(1).R|kotlin/Int.minus|(Int(1)))
|
||||
<Inapplicable(INAPPLICABLE): /takeByte>#(Int(-100).R|kotlin/Int.minus|(Int(100)))
|
||||
<Inapplicable(INAPPLICABLE): /takeByte>#(Int(10).R|kotlin/Int.times|(Int(10)))
|
||||
<Inapplicable(INAPPLICABLE): /takeByte>#(Int(100).R|kotlin/Int.times|(Int(100)))
|
||||
R|/takeByte<Inapplicable(INAPPLICABLE): /takeByte>#|(Int(1).R|kotlin/Int.plus|(Int(1)))
|
||||
R|/takeByte<Inapplicable(INAPPLICABLE): /takeByte>#|(Int(1).R|kotlin/Int.plus|(Int(127)))
|
||||
R|/takeByte<Inapplicable(INAPPLICABLE): /takeByte>#|(Int(1).R|kotlin/Int.minus|(Int(1)))
|
||||
R|/takeByte<Inapplicable(INAPPLICABLE): /takeByte>#|(Int(-100).R|kotlin/Int.minus|(Int(100)))
|
||||
R|/takeByte<Inapplicable(INAPPLICABLE): /takeByte>#|(Int(10).R|kotlin/Int.times|(Int(10)))
|
||||
R|/takeByte<Inapplicable(INAPPLICABLE): /takeByte>#|(Int(100).R|kotlin/Int.times|(Int(100)))
|
||||
<Unresolved name: taleByte>#(Int(10).R|kotlin/Int.div|(Int(10)))
|
||||
<Inapplicable(INAPPLICABLE): /takeByte>#(Int(100).R|kotlin/Int.rem|(Int(10)))
|
||||
<Inapplicable(INAPPLICABLE): /takeByte>#(Int(1000).R|kotlin/Int.rem|(Int(10)))
|
||||
<Inapplicable(INAPPLICABLE): /takeByte>#(Int(1000).R|kotlin/Int.and|(Int(100)))
|
||||
<Inapplicable(INAPPLICABLE): /takeByte>#(Int(128).R|kotlin/Int.and|(Int(511)))
|
||||
<Inapplicable(INAPPLICABLE): /takeByte>#(Int(100).R|kotlin/Int.or|(Int(100)))
|
||||
<Inapplicable(INAPPLICABLE): /takeByte>#(Int(1000).R|kotlin/Int.or|(Int(0)))
|
||||
<Inapplicable(INAPPLICABLE): /takeByte>#(Int(511).R|kotlin/Int.xor|(Int(511)))
|
||||
<Inapplicable(INAPPLICABLE): /takeByte>#(Int(512).R|kotlin/Int.xor|(Int(511)))
|
||||
R|/takeByte<Inapplicable(INAPPLICABLE): /takeByte>#|(Int(100).R|kotlin/Int.rem|(Int(10)))
|
||||
R|/takeByte<Inapplicable(INAPPLICABLE): /takeByte>#|(Int(1000).R|kotlin/Int.rem|(Int(10)))
|
||||
R|/takeByte<Inapplicable(INAPPLICABLE): /takeByte>#|(Int(1000).R|kotlin/Int.and|(Int(100)))
|
||||
R|/takeByte<Inapplicable(INAPPLICABLE): /takeByte>#|(Int(128).R|kotlin/Int.and|(Int(511)))
|
||||
R|/takeByte<Inapplicable(INAPPLICABLE): /takeByte>#|(Int(100).R|kotlin/Int.or|(Int(100)))
|
||||
R|/takeByte<Inapplicable(INAPPLICABLE): /takeByte>#|(Int(1000).R|kotlin/Int.or|(Int(0)))
|
||||
R|/takeByte<Inapplicable(INAPPLICABLE): /takeByte>#|(Int(511).R|kotlin/Int.xor|(Int(511)))
|
||||
R|/takeByte<Inapplicable(INAPPLICABLE): /takeByte>#|(Int(512).R|kotlin/Int.xor|(Int(511)))
|
||||
}
|
||||
public final fun test_5(): R|kotlin/Unit| {
|
||||
R|/takeByte|(Byte(-1))
|
||||
R|/takeByte|(Byte(1))
|
||||
<Inapplicable(INAPPLICABLE): /takeByte>#(Int(1).R|kotlin/Int.inv|())
|
||||
R|/takeByte<Inapplicable(INAPPLICABLE): /takeByte>#|(Int(1).R|kotlin/Int.inv|())
|
||||
}
|
||||
public final fun test_6(): R|kotlin/Unit| {
|
||||
<Inapplicable(INAPPLICABLE): /takeByte>#(R|kotlin/run|<R|kotlin/Int|>(<L> = run@fun <anonymous>(): R|kotlin/Int| <inline=Inline, kind=EXACTLY_ONCE> {
|
||||
R|/takeByte<Inapplicable(INAPPLICABLE): /takeByte>#|(R|kotlin/run|<R|kotlin/Int|>(<L> = run@fun <anonymous>(): R|kotlin/Int| <inline=Inline, kind=EXACTLY_ONCE> {
|
||||
^ Int(127).R|kotlin/Int.plus|(Int(1))
|
||||
}
|
||||
))
|
||||
<Inapplicable(INAPPLICABLE): /takeByte>#(Int(1).R|kotlin/Int.plus|(R|kotlin/run|<R|kotlin/Int|>(<L> = run@fun <anonymous>(): R|kotlin/Int| <inline=Inline, kind=EXACTLY_ONCE> {
|
||||
R|/takeByte<Inapplicable(INAPPLICABLE): /takeByte>#|(Int(1).R|kotlin/Int.plus|(R|kotlin/run|<R|kotlin/Int|>(<L> = run@fun <anonymous>(): R|kotlin/Int| <inline=Inline, kind=EXACTLY_ONCE> {
|
||||
^ Int(1)
|
||||
}
|
||||
)))
|
||||
<Inapplicable(INAPPLICABLE): /takeByte>#(R|kotlin/run|<R|kotlin/Int|>(<L> = run@fun <anonymous>(): R|kotlin/Int| <inline=Inline, kind=EXACTLY_ONCE> {
|
||||
R|/takeByte<Inapplicable(INAPPLICABLE): /takeByte>#|(R|kotlin/run|<R|kotlin/Int|>(<L> = run@fun <anonymous>(): R|kotlin/Int| <inline=Inline, kind=EXACTLY_ONCE> {
|
||||
^ Int(1).R|kotlin/Int.plus|(Int(1))
|
||||
}
|
||||
))
|
||||
|
||||
@@ -7,11 +7,11 @@ FILE: simple.kt
|
||||
R|/foo|(Int(1), Double(2.0), fourth = String(???), third = Boolean(false))
|
||||
R|/foo|(Int(1), second = Double(3.14), third = Boolean(false), fourth = String(!?))
|
||||
R|/foo|(third = Boolean(false), second = Double(2.71), fourth = String(?!), first = Int(0))
|
||||
<Inapplicable(INAPPLICABLE_ARGUMENTS_MAPPING_ERROR): /foo>#()
|
||||
<Inapplicable(INAPPLICABLE): /foo>#(Double(0.0), Boolean(false), Int(0), String())
|
||||
R|/foo<Inapplicable(INAPPLICABLE_ARGUMENTS_MAPPING_ERROR): /foo>#|()
|
||||
R|/foo<Inapplicable(INAPPLICABLE): /foo>#|(Double(0.0), Boolean(false), Int(0), String())
|
||||
R|/foo|(Int(1), Double(2.0), third = Boolean(true), String())
|
||||
<Inapplicable(INAPPLICABLE_ARGUMENTS_MAPPING_ERROR): /foo>#(second = Double(0.0), first = Int(0), fourth = String())
|
||||
<Inapplicable(INAPPLICABLE): /foo>#(first = Double(0.0), second = Int(0), third = String(), fourth = Boolean(false))
|
||||
<Inapplicable(INAPPLICABLE): /foo>#(first = Int(0), second = Double(0.0), third = Boolean(false), fourth = String(), first = Int(1))
|
||||
<Inapplicable(INAPPLICABLE_ARGUMENTS_MAPPING_ERROR): /foo>#(Int(0), Double(0.0), Boolean(false), foth = String())
|
||||
R|/foo<Inapplicable(INAPPLICABLE_ARGUMENTS_MAPPING_ERROR): /foo>#|(second = Double(0.0), first = Int(0), fourth = String())
|
||||
R|/foo<Inapplicable(INAPPLICABLE): /foo>#|(first = Double(0.0), second = Int(0), third = String(), fourth = Boolean(false))
|
||||
R|/foo<Inapplicable(INAPPLICABLE): /foo>#|(first = Int(0), second = Double(0.0), third = Boolean(false), fourth = String(), first = Int(1))
|
||||
R|/foo<Inapplicable(INAPPLICABLE_ARGUMENTS_MAPPING_ERROR): /foo>#|(Int(0), Double(0.0), Boolean(false), foth = String())
|
||||
}
|
||||
|
||||
@@ -8,10 +8,10 @@ FILE: vararg.kt
|
||||
R|/foo|(Int(1), vararg(String()))
|
||||
R|/foo|(Int(1), vararg(String(my), String(yours)))
|
||||
R|/foo|(Int(1), vararg(*R|kotlin/arrayOf|<R|kotlin/String|>(vararg(String(my), String(yours)))))
|
||||
<Inapplicable(INAPPLICABLE): /foo>#(String())
|
||||
<Inapplicable(INAPPLICABLE): /foo>#(Int(1), Int(2))
|
||||
R|/foo<Inapplicable(INAPPLICABLE): /foo>#|(String())
|
||||
R|/foo<Inapplicable(INAPPLICABLE): /foo>#|(Int(1), Int(2))
|
||||
R|/bar|(Int(1), z = Boolean(true), vararg(y = *R|kotlin/arrayOf|<R|kotlin/String|>(vararg(String(my), String(yours)))))
|
||||
<Inapplicable(INAPPLICABLE): /bar>#(Int(0), z = Boolean(false), y = String(), y = String(other))
|
||||
<Inapplicable(INAPPLICABLE_ARGUMENTS_MAPPING_ERROR): /bar>#(Int(0), String(), Boolean(true))
|
||||
<Inapplicable(INAPPLICABLE): /bar>#(Int(0), z = Boolean(false), y = String(), y = String(other), y = String(yet other))
|
||||
R|/bar<Inapplicable(INAPPLICABLE): /bar>#|(Int(0), z = Boolean(false), y = String(), y = String(other))
|
||||
R|/bar<Inapplicable(INAPPLICABLE_ARGUMENTS_MAPPING_ERROR): /bar>#|(Int(0), String(), Boolean(true))
|
||||
R|/bar<Inapplicable(INAPPLICABLE): /bar>#|(Int(0), z = Boolean(false), y = String(), y = String(other), y = String(yet other))
|
||||
}
|
||||
|
||||
+1
-1
@@ -12,7 +12,7 @@ FILE: errorCandidates.kt
|
||||
public final fun bar(x: R|B|): R|kotlin/Unit| {
|
||||
}
|
||||
public final fun test(c: R|C|): R|kotlin/Unit| {
|
||||
<Inapplicable(INAPPLICABLE): /foo>#(String())
|
||||
R|/foo<Inapplicable(INAPPLICABLE): /foo>#|(String())
|
||||
<Ambiguity: bar, [/bar, /bar]>#(R|<local>/c|)
|
||||
<Unresolved name: baz>#()
|
||||
}
|
||||
|
||||
+1
-1
@@ -16,6 +16,6 @@ FILE: lambdaAsReceiver.kt
|
||||
fun <anonymous>(): R|kotlin/String| <inline=Unknown> {
|
||||
^ String()
|
||||
}
|
||||
.<None of the following candidates is applicable because of receiver type mismatch: [/bar]>#()
|
||||
.R|/bar<None of the following candidates is applicable because of receiver type mismatch: [/bar]>#|()
|
||||
String().R|/bar|()
|
||||
}
|
||||
|
||||
+10
-10
@@ -112,7 +112,7 @@ digraph flowFromInplaceLambda2_kt {
|
||||
color=blue
|
||||
49 [label="Enter block"];
|
||||
50 [label="Access variable R|<local>/x|"];
|
||||
51 [label="Access variable <Inapplicable(UNSAFE_CALL): kotlin/String.length>#"];
|
||||
51 [label="Access variable R|kotlin/String.length<Inapplicable(UNSAFE_CALL): kotlin/String.length>#|"];
|
||||
52 [label="Const: Int(123)"];
|
||||
53 [label="Exit block"];
|
||||
}
|
||||
@@ -197,7 +197,7 @@ digraph flowFromInplaceLambda2_kt {
|
||||
color=blue
|
||||
80 [label="Enter block"];
|
||||
81 [label="Access variable R|<local>/x|"];
|
||||
82 [label="Access variable <Inapplicable(UNSAFE_CALL): kotlin/String.length>#"];
|
||||
82 [label="Access variable R|kotlin/String.length<Inapplicable(UNSAFE_CALL): kotlin/String.length>#|"];
|
||||
83 [label="Const: Int(123)"];
|
||||
84 [label="Exit block"];
|
||||
}
|
||||
@@ -313,7 +313,7 @@ digraph flowFromInplaceLambda2_kt {
|
||||
color=blue
|
||||
126 [label="Enter block"];
|
||||
127 [label="Access variable R|<local>/x|"];
|
||||
128 [label="Access variable <Inapplicable(UNSAFE_CALL): kotlin/String.length>#"];
|
||||
128 [label="Access variable R|kotlin/String.length<Inapplicable(UNSAFE_CALL): kotlin/String.length>#|"];
|
||||
129 [label="Const: Int(123)"];
|
||||
130 [label="Exit block"];
|
||||
}
|
||||
@@ -476,7 +476,7 @@ digraph flowFromInplaceLambda2_kt {
|
||||
193 [label="Enter block"];
|
||||
194 [label="Access variable R|<local>/p|"];
|
||||
195 [label="Smart cast: R|<local>/p|"];
|
||||
196 [label="Access variable <Inapplicable(UNSTABLE_SMARTCAST): kotlin/String.length>#"];
|
||||
196 [label="Access variable R|kotlin/String.length<Inapplicable(UNSTABLE_SMARTCAST): kotlin/String.length>#|"];
|
||||
197 [label="Const: Int(123)"];
|
||||
198 [label="Exit block"];
|
||||
}
|
||||
@@ -487,7 +487,7 @@ digraph flowFromInplaceLambda2_kt {
|
||||
171 [label="Merge postponed lambda exits"];
|
||||
172 [label="Function call: R|/foo|<R|kotlin/Int|>(...)" style="filled" fillcolor=yellow];
|
||||
173 [label="Access variable R|<local>/p|"];
|
||||
174 [label="Access variable <Inapplicable(UNSAFE_CALL): kotlin/String.length>#"];
|
||||
174 [label="Access variable R|kotlin/String.length<Inapplicable(UNSAFE_CALL): kotlin/String.length>#|"];
|
||||
175 [label="Exit block"];
|
||||
}
|
||||
176 [label="Exit when branch result"];
|
||||
@@ -617,7 +617,7 @@ digraph flowFromInplaceLambda2_kt {
|
||||
212 [label="Merge postponed lambda exits"];
|
||||
213 [label="Function call: R|/foo|<R|kotlin/String|>(...)" style="filled" fillcolor=yellow];
|
||||
214 [label="Access variable R|<local>/x|"];
|
||||
215 [label="Access variable <Inapplicable(UNSAFE_CALL): kotlin/String.length>#"];
|
||||
215 [label="Access variable R|kotlin/String.length<Inapplicable(UNSAFE_CALL): kotlin/String.length>#|"];
|
||||
216 [label="Exit block"];
|
||||
}
|
||||
217 [label="Exit function test5" style="filled" fillcolor=red];
|
||||
@@ -736,7 +736,7 @@ digraph flowFromInplaceLambda2_kt {
|
||||
color=blue
|
||||
279 [label="Enter block"];
|
||||
280 [label="Access variable R|<local>/x|"];
|
||||
281 [label="Access variable <Inapplicable(UNSAFE_CALL): kotlin/String.length>#"];
|
||||
281 [label="Access variable R|kotlin/String.length<Inapplicable(UNSAFE_CALL): kotlin/String.length>#|"];
|
||||
282 [label="Const: Int(123)"];
|
||||
283 [label="Exit block"];
|
||||
}
|
||||
@@ -747,7 +747,7 @@ digraph flowFromInplaceLambda2_kt {
|
||||
258 [label="Merge postponed lambda exits"];
|
||||
259 [label="Function call: R|/foo|<R|kotlin/Int|>(...)" style="filled" fillcolor=yellow];
|
||||
260 [label="Access variable R|<local>/x|"];
|
||||
261 [label="Access variable <Inapplicable(UNSAFE_CALL): kotlin/String.length>#"];
|
||||
261 [label="Access variable R|kotlin/String.length<Inapplicable(UNSAFE_CALL): kotlin/String.length>#|"];
|
||||
262 [label="Exit block"];
|
||||
}
|
||||
263 [label="Exit function test6" style="filled" fillcolor=red];
|
||||
@@ -867,7 +867,7 @@ digraph flowFromInplaceLambda2_kt {
|
||||
323 [label="Enter block"];
|
||||
324 [label="Access variable R|<local>/p|"];
|
||||
325 [label="Smart cast: R|<local>/p|"];
|
||||
326 [label="Access variable <Inapplicable(UNSTABLE_SMARTCAST): kotlin/String.length>#"];
|
||||
326 [label="Access variable R|kotlin/String.length<Inapplicable(UNSTABLE_SMARTCAST): kotlin/String.length>#|"];
|
||||
327 [label="Const: Int(123)"];
|
||||
328 [label="Exit block"];
|
||||
}
|
||||
@@ -878,7 +878,7 @@ digraph flowFromInplaceLambda2_kt {
|
||||
306 [label="Function call: R|/foo|<R|kotlin/Int|>(...)" style="filled" fillcolor=yellow];
|
||||
307 [label="Access variable R|<local>/p|"];
|
||||
308 [label="Smart cast: R|<local>/p|"];
|
||||
309 [label="Access variable <Inapplicable(UNSAFE_CALL): kotlin/String.length>#"];
|
||||
309 [label="Access variable R|kotlin/String.length<Inapplicable(UNSAFE_CALL): kotlin/String.length>#|"];
|
||||
310 [label="Exit block"];
|
||||
}
|
||||
311 [label="Exit when branch result"];
|
||||
|
||||
+10
-10
@@ -16,7 +16,7 @@ FILE: flowFromInplaceLambda2.kt
|
||||
^ R|/n|<R|kotlin/Nothing?|>()
|
||||
}
|
||||
)), Int(1), R|kotlin/run|<R|kotlin/Int|>(<L> = run@fun <anonymous>(): R|kotlin/Int| <inline=Inline, kind=EXACTLY_ONCE> {
|
||||
R|<local>/x|.<Inapplicable(UNSAFE_CALL): kotlin/String.length>#
|
||||
R|<local>/x|.R|kotlin/String.length<Inapplicable(UNSAFE_CALL): kotlin/String.length>#|
|
||||
^ Int(123)
|
||||
}
|
||||
))
|
||||
@@ -28,7 +28,7 @@ FILE: flowFromInplaceLambda2.kt
|
||||
^ R|/n|<R|kotlin/Nothing?|>()
|
||||
}
|
||||
)), R|/someCompletedCall|(Int(1)), R|kotlin/run|<R|kotlin/Int|>(<L> = run@fun <anonymous>(): R|kotlin/Int| <inline=Inline, kind=EXACTLY_ONCE> {
|
||||
R|<local>/x|.<Inapplicable(UNSAFE_CALL): kotlin/String.length>#
|
||||
R|<local>/x|.R|kotlin/String.length<Inapplicable(UNSAFE_CALL): kotlin/String.length>#|
|
||||
^ Int(123)
|
||||
}
|
||||
))
|
||||
@@ -48,7 +48,7 @@ FILE: flowFromInplaceLambda2.kt
|
||||
}
|
||||
}
|
||||
, R|kotlin/run|<R|kotlin/Int|>(<L> = run@fun <anonymous>(): R|kotlin/Int| <inline=Inline, kind=EXACTLY_ONCE> {
|
||||
R|<local>/x|.<Inapplicable(UNSAFE_CALL): kotlin/String.length>#
|
||||
R|<local>/x|.R|kotlin/String.length<Inapplicable(UNSAFE_CALL): kotlin/String.length>#|
|
||||
^ Int(123)
|
||||
}
|
||||
))
|
||||
@@ -74,11 +74,11 @@ FILE: flowFromInplaceLambda2.kt
|
||||
}
|
||||
}
|
||||
), Int(1), R|kotlin/run|<R|kotlin/Int|>(<L> = run@fun <anonymous>(): R|kotlin/Int| <inline=Inline, kind=EXACTLY_ONCE> {
|
||||
R|<local>/p|.<Inapplicable(UNSTABLE_SMARTCAST): kotlin/String.length>#
|
||||
R|<local>/p|.R|kotlin/String.length<Inapplicable(UNSTABLE_SMARTCAST): kotlin/String.length>#|
|
||||
^ Int(123)
|
||||
}
|
||||
))
|
||||
R|<local>/p|.<Inapplicable(UNSAFE_CALL): kotlin/String.length>#
|
||||
R|<local>/p|.R|kotlin/String.length<Inapplicable(UNSAFE_CALL): kotlin/String.length>#|
|
||||
}
|
||||
}
|
||||
|
||||
@@ -92,7 +92,7 @@ FILE: flowFromInplaceLambda2.kt
|
||||
^ String()
|
||||
}
|
||||
))
|
||||
R|<local>/x|.<Inapplicable(UNSAFE_CALL): kotlin/String.length>#
|
||||
R|<local>/x|.R|kotlin/String.length<Inapplicable(UNSAFE_CALL): kotlin/String.length>#|
|
||||
}
|
||||
public final fun test6(x: R|kotlin/String?|): R|kotlin/Unit| {
|
||||
R|/foo|<R|kotlin/Int|>(R|/id|<R|kotlin/Nothing?|>(when () {
|
||||
@@ -112,11 +112,11 @@ FILE: flowFromInplaceLambda2.kt
|
||||
}
|
||||
}
|
||||
), Int(1), R|kotlin/run|<R|kotlin/Int|>(<L> = run@fun <anonymous>(): R|kotlin/Int| <inline=Inline, kind=EXACTLY_ONCE> {
|
||||
R|<local>/x|.<Inapplicable(UNSAFE_CALL): kotlin/String.length>#
|
||||
R|<local>/x|.R|kotlin/String.length<Inapplicable(UNSAFE_CALL): kotlin/String.length>#|
|
||||
^ Int(123)
|
||||
}
|
||||
))
|
||||
R|<local>/x|.<Inapplicable(UNSAFE_CALL): kotlin/String.length>#
|
||||
R|<local>/x|.R|kotlin/String.length<Inapplicable(UNSAFE_CALL): kotlin/String.length>#|
|
||||
}
|
||||
public final fun test7(x: R|kotlin/String?|): R|kotlin/Unit| {
|
||||
lvar p: R|kotlin/String?| = R|<local>/x|
|
||||
@@ -127,11 +127,11 @@ FILE: flowFromInplaceLambda2.kt
|
||||
^ R|/n|<R|kotlin/Nothing?|>()
|
||||
}
|
||||
)), Int(1), R|kotlin/run|<R|kotlin/Int|>(<L> = run@fun <anonymous>(): R|kotlin/Int| <inline=Inline, kind=EXACTLY_ONCE> {
|
||||
R|<local>/p|.<Inapplicable(UNSTABLE_SMARTCAST): kotlin/String.length>#
|
||||
R|<local>/p|.R|kotlin/String.length<Inapplicable(UNSTABLE_SMARTCAST): kotlin/String.length>#|
|
||||
^ Int(123)
|
||||
}
|
||||
))
|
||||
R|<local>/p|.<Inapplicable(UNSAFE_CALL): kotlin/String.length>#
|
||||
R|<local>/p|.R|kotlin/String.length<Inapplicable(UNSAFE_CALL): kotlin/String.length>#|
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
+6
-6
@@ -75,7 +75,7 @@ digraph flowFromTwoInplaceLambdas_kt {
|
||||
46 [label="Enter block"];
|
||||
47 [label="Access variable R|<local>/p|"];
|
||||
48 [label="Smart cast: R|<local>/p|"];
|
||||
49 [label="Access variable <Inapplicable(UNSTABLE_SMARTCAST): kotlin/String.length>#"];
|
||||
49 [label="Access variable R|kotlin/String.length<Inapplicable(UNSTABLE_SMARTCAST): kotlin/String.length>#|"];
|
||||
50 [label="Const: Int(123)"];
|
||||
51 [label="Exit block"];
|
||||
}
|
||||
@@ -99,7 +99,7 @@ digraph flowFromTwoInplaceLambdas_kt {
|
||||
29 [label="Function call: R|/run2|<R|kotlin/Int?|>(...)" style="filled" fillcolor=yellow];
|
||||
30 [label="Access variable R|<local>/p|"];
|
||||
31 [label="Smart cast: R|<local>/p|"];
|
||||
32 [label="Access variable <Inapplicable(UNSAFE_CALL): kotlin/String.length>#"];
|
||||
32 [label="Access variable R|kotlin/String.length<Inapplicable(UNSAFE_CALL): kotlin/String.length>#|"];
|
||||
33 [label="Exit block"];
|
||||
}
|
||||
34 [label="Exit when branch result"];
|
||||
@@ -184,7 +184,7 @@ digraph flowFromTwoInplaceLambdas_kt {
|
||||
86 [label="Enter block"];
|
||||
87 [label="Access variable R|<local>/p|"];
|
||||
88 [label="Smart cast: R|<local>/p|"];
|
||||
89 [label="Access variable <Inapplicable(UNSTABLE_SMARTCAST): kotlin/String.length>#"];
|
||||
89 [label="Access variable R|kotlin/String.length<Inapplicable(UNSTABLE_SMARTCAST): kotlin/String.length>#|"];
|
||||
90 [label="Const: Int(123)"];
|
||||
91 [label="Exit block"];
|
||||
}
|
||||
@@ -208,7 +208,7 @@ digraph flowFromTwoInplaceLambdas_kt {
|
||||
69 [label="Function call: R|/run2|<R|kotlin/Int?|>(...)" style="filled" fillcolor=yellow];
|
||||
70 [label="Access variable R|<local>/p|"];
|
||||
71 [label="Smart cast: R|<local>/p|"];
|
||||
72 [label="Access variable <Inapplicable(UNSAFE_CALL): kotlin/String.length>#"];
|
||||
72 [label="Access variable R|kotlin/String.length<Inapplicable(UNSAFE_CALL): kotlin/String.length>#|"];
|
||||
73 [label="Exit block"];
|
||||
}
|
||||
74 [label="Exit when branch result"];
|
||||
@@ -390,7 +390,7 @@ digraph flowFromTwoInplaceLambdas_kt {
|
||||
136 [label="Function call: R|/run2|<R|kotlin/Int?|>(...)" style="filled" fillcolor=yellow];
|
||||
137 [label="Access variable R|<local>/p|"];
|
||||
138 [label="Smart cast: R|<local>/p|"];
|
||||
139 [label="Access variable <Inapplicable(UNSAFE_CALL): kotlin/String.length>#"];
|
||||
139 [label="Access variable R|kotlin/String.length<Inapplicable(UNSAFE_CALL): kotlin/String.length>#|"];
|
||||
140 [label="Access variable R|<local>/p|"];
|
||||
141 [label="Smart cast: R|<local>/p|"];
|
||||
142 [label="Enter safe call"];
|
||||
@@ -588,7 +588,7 @@ digraph flowFromTwoInplaceLambdas_kt {
|
||||
212 [label="Function call: R|/run2|<R|kotlin/Int?|>(...)" style="filled" fillcolor=yellow];
|
||||
213 [label="Access variable R|<local>/p|"];
|
||||
214 [label="Smart cast: R|<local>/p|"];
|
||||
215 [label="Access variable <Inapplicable(UNSAFE_CALL): kotlin/String.length>#"];
|
||||
215 [label="Access variable R|kotlin/String.length<Inapplicable(UNSAFE_CALL): kotlin/String.length>#|"];
|
||||
216 [label="Access variable R|<local>/p|"];
|
||||
217 [label="Smart cast: R|<local>/p|"];
|
||||
218 [label="Enter safe call"];
|
||||
|
||||
+6
-6
@@ -22,11 +22,11 @@ FILE: flowFromTwoInplaceLambdas.kt
|
||||
^ R|/n|<R|kotlin/Int?|>()
|
||||
}
|
||||
, run2@fun <anonymous>(): R|kotlin/Int?| <inline=NoInline, kind=EXACTLY_ONCE> {
|
||||
R|<local>/p|.<Inapplicable(UNSTABLE_SMARTCAST): kotlin/String.length>#
|
||||
R|<local>/p|.R|kotlin/String.length<Inapplicable(UNSTABLE_SMARTCAST): kotlin/String.length>#|
|
||||
^ Int(123)
|
||||
}
|
||||
)
|
||||
R|<local>/p|.<Inapplicable(UNSAFE_CALL): kotlin/String.length>#
|
||||
R|<local>/p|.R|kotlin/String.length<Inapplicable(UNSAFE_CALL): kotlin/String.length>#|
|
||||
}
|
||||
}
|
||||
|
||||
@@ -40,11 +40,11 @@ FILE: flowFromTwoInplaceLambdas.kt
|
||||
^ R|/n|<R|kotlin/Int?|>()
|
||||
}
|
||||
, <L> = run2@fun <anonymous>(): R|kotlin/Int?| <inline=NoInline, kind=EXACTLY_ONCE> {
|
||||
R|<local>/p|.<Inapplicable(UNSTABLE_SMARTCAST): kotlin/String.length>#
|
||||
R|<local>/p|.R|kotlin/String.length<Inapplicable(UNSTABLE_SMARTCAST): kotlin/String.length>#|
|
||||
^ Int(123)
|
||||
}
|
||||
)
|
||||
R|<local>/p|.<Inapplicable(UNSAFE_CALL): kotlin/String.length>#
|
||||
R|<local>/p|.R|kotlin/String.length<Inapplicable(UNSAFE_CALL): kotlin/String.length>#|
|
||||
}
|
||||
}
|
||||
|
||||
@@ -76,7 +76,7 @@ FILE: flowFromTwoInplaceLambdas.kt
|
||||
^ Int(123)
|
||||
}
|
||||
)
|
||||
R|<local>/p|.<Inapplicable(UNSAFE_CALL): kotlin/String.length>#
|
||||
R|<local>/p|.R|kotlin/String.length<Inapplicable(UNSAFE_CALL): kotlin/String.length>#|
|
||||
R|<local>/p|?.{ $subj$.R|kotlin/String.length| }
|
||||
}
|
||||
public abstract interface I1 : R|kotlin/Any| {
|
||||
@@ -118,7 +118,7 @@ FILE: flowFromTwoInplaceLambdas.kt
|
||||
^ R|/n|<R|kotlin/Int?|>()
|
||||
}
|
||||
)
|
||||
R|<local>/p|.<Inapplicable(UNSAFE_CALL): kotlin/String.length>#
|
||||
R|<local>/p|.R|kotlin/String.length<Inapplicable(UNSAFE_CALL): kotlin/String.length>#|
|
||||
R|<local>/p|?.{ $subj$.R|kotlin/String.length| }
|
||||
}
|
||||
public final fun test6(): R|kotlin/Unit| {
|
||||
|
||||
+3
-3
@@ -31,7 +31,7 @@ FILE: inlineLambdasAreInplace.kt
|
||||
)
|
||||
R|<local>/x| = String()
|
||||
R|<local>/lambda|.R|SubstitutionOverride<kotlin/Function0.invoke: R|kotlin/Unit|>|()
|
||||
R|<local>/x|.<Inapplicable(UNSTABLE_SMARTCAST): kotlin/String.length>#
|
||||
R|<local>/x|.R|kotlin/String.length<Inapplicable(UNSTABLE_SMARTCAST): kotlin/String.length>#|
|
||||
}
|
||||
public final fun testNoinline(): R|kotlin/Unit| {
|
||||
lvar x: R|kotlin/String?| = String()
|
||||
@@ -41,7 +41,7 @@ FILE: inlineLambdasAreInplace.kt
|
||||
)
|
||||
R|<local>/x| = String()
|
||||
R|<local>/lambda|.R|SubstitutionOverride<kotlin/Function0.invoke: R|kotlin/Unit|>|()
|
||||
R|<local>/x|.<Inapplicable(UNSTABLE_SMARTCAST): kotlin/String.length>#
|
||||
R|<local>/x|.R|kotlin/String.length<Inapplicable(UNSTABLE_SMARTCAST): kotlin/String.length>#|
|
||||
}
|
||||
public final fun testCrossinline(): R|kotlin/Unit| {
|
||||
lvar x: R|kotlin/String?| = String()
|
||||
@@ -51,5 +51,5 @@ FILE: inlineLambdasAreInplace.kt
|
||||
)
|
||||
R|<local>/x| = String()
|
||||
R|<local>/lambda|.R|SubstitutionOverride<kotlin/Function0.invoke: R|kotlin/Unit|>|()
|
||||
R|<local>/x|.<Inapplicable(UNSTABLE_SMARTCAST): kotlin/String.length>#
|
||||
R|<local>/x|.R|kotlin/String.length<Inapplicable(UNSTABLE_SMARTCAST): kotlin/String.length>#|
|
||||
}
|
||||
|
||||
@@ -133,7 +133,7 @@ digraph jumps_kt {
|
||||
}
|
||||
55 [label="Variable declaration: lval y: R|kotlin/Int?|"];
|
||||
56 [label="Access variable R|<local>/y|"];
|
||||
57 [label="Function call: R|<local>/y|.<Inapplicable(UNSAFE_CALL): kotlin/Int.inc>#()" style="filled" fillcolor=yellow];
|
||||
57 [label="Function call: R|<local>/y|.R|kotlin/Int.inc<Inapplicable(UNSAFE_CALL): kotlin/Int.inc>#|()" style="filled" fillcolor=yellow];
|
||||
58 [label="Exit block"];
|
||||
}
|
||||
59 [label="Exit function test_2" style="filled" fillcolor=red];
|
||||
|
||||
@@ -22,7 +22,7 @@ FILE: jumps.kt
|
||||
}
|
||||
}
|
||||
|
||||
R|<local>/y|.<Inapplicable(UNSAFE_CALL): kotlin/Int.inc>#()
|
||||
R|<local>/y|.R|kotlin/Int.inc<Inapplicable(UNSAFE_CALL): kotlin/Int.inc>#|()
|
||||
}
|
||||
public final fun test_3(x: R|kotlin/Int?|): R|kotlin/Unit| {
|
||||
while(Boolean(true)) {
|
||||
|
||||
+1
-1
@@ -134,7 +134,7 @@ digraph postponedLambdaInReturn_kt {
|
||||
24 [label="Function call: R|kotlin/run|<R|kotlin/String|>(...)" style="filled" fillcolor=yellow];
|
||||
25 [label="Variable declaration: lval x: R|kotlin/String|"];
|
||||
26 [label="Access variable R|<local>/y|"];
|
||||
27 [label="Access variable <Inapplicable(UNSAFE_CALL): kotlin/String.length>#"];
|
||||
27 [label="Access variable R|kotlin/String.length<Inapplicable(UNSAFE_CALL): kotlin/String.length>#|"];
|
||||
28 [label="Exit block"];
|
||||
}
|
||||
29 [label="Exit function test1" style="filled" fillcolor=red];
|
||||
|
||||
+1
-1
@@ -38,7 +38,7 @@ FILE: postponedLambdaInReturn.kt
|
||||
|
||||
}
|
||||
)
|
||||
R|<local>/y|.<Inapplicable(UNSAFE_CALL): kotlin/String.length>#
|
||||
R|<local>/y|.R|kotlin/String.length<Inapplicable(UNSAFE_CALL): kotlin/String.length>#|
|
||||
}
|
||||
public final fun test2(): R|kotlin/Unit| {
|
||||
lval x: R|kotlin/String| = R|kotlin/run|<R|kotlin/String|>(<L> = run@fun <anonymous>(): R|kotlin/String| <inline=Inline, kind=EXACTLY_ONCE> {
|
||||
|
||||
+2
-2
@@ -148,13 +148,13 @@ FILE: conflictingProjection.kt
|
||||
^test15 R|/InOuter.InOuter|<R|kotlin/Int|>().R|SubstitutionOverride</InOuter.OutIntermediate.OutIntermediate>|<R|kotlin/String|>().R|SubstitutionOverride</InOuter.OutIntermediate.InInner.InInner>|<R|kotlin/Char|>()
|
||||
}
|
||||
public final fun test16(): R|InOuter.OutIntermediate.InInner<out kotlin/Char, kotlin/String, kotlin/Int>| {
|
||||
^test16 R|/InOuter.InOuter|<R|kotlin/Int|>().R|SubstitutionOverride</InOuter.OutIntermediate.OutIntermediate>|<R|kotlin/String|>().<CS errors: /InOuter.OutIntermediate.InInner.InInner>#<R|ERROR CLASS: Cannot infer argument for type parameter G|>()
|
||||
^test16 R|/InOuter.InOuter|<R|kotlin/Int|>().R|SubstitutionOverride</InOuter.OutIntermediate.OutIntermediate>|<R|kotlin/String|>().R|SubstitutionOverride</InOuter.OutIntermediate.InInner.InInner><CS errors: /InOuter.OutIntermediate.InInner.InInner>#|<R|ERROR CLASS: Cannot infer argument for type parameter G|>()
|
||||
}
|
||||
public final fun test17(): R|InOuter.OutIntermediate.InInner<kotlin/Char, out kotlin/String, in kotlin/Int>| {
|
||||
^test17 R|/InOuter.InOuter|<R|kotlin/Int|>().R|SubstitutionOverride</InOuter.OutIntermediate.OutIntermediate>|<R|kotlin/String|>().R|SubstitutionOverride</InOuter.OutIntermediate.InInner.InInner>|<R|kotlin/Char|>()
|
||||
}
|
||||
public final fun test18(): R|InOuter.OutIntermediate.InInner<out kotlin/Char, in kotlin/String, kotlin/Int>| {
|
||||
^test18 R|/InOuter.InOuter|<R|kotlin/Int|>().R|SubstitutionOverride</InOuter.OutIntermediate.OutIntermediate>|<R|kotlin/String|>().<CS errors: /InOuter.OutIntermediate.InInner.InInner>#<R|ERROR CLASS: Cannot infer argument for type parameter G|>()
|
||||
^test18 R|/InOuter.InOuter|<R|kotlin/Int|>().R|SubstitutionOverride</InOuter.OutIntermediate.OutIntermediate>|<R|kotlin/String|>().R|SubstitutionOverride</InOuter.OutIntermediate.InInner.InInner><CS errors: /InOuter.OutIntermediate.InInner.InInner>#|<R|ERROR CLASS: Cannot infer argument for type parameter G|>()
|
||||
}
|
||||
public final class TwoParametersOuter<T, in T1> : R|kotlin/Any| {
|
||||
public constructor<T, in T1>(): R|TwoParametersOuter<T, T1>| {
|
||||
|
||||
+4
-4
@@ -61,8 +61,8 @@ FILE: multipleBounds.kt
|
||||
|
||||
}
|
||||
public final fun test(): R|kotlin/Unit| {
|
||||
<Inapplicable(INAPPLICABLE): Jet87/Test1.Test1>#<R|Jet87/B|>()
|
||||
<Inapplicable(INAPPLICABLE): Jet87/Test1.Test1>#<R|Jet87/A|>()
|
||||
R|Jet87/Test1.Test1<Inapplicable(INAPPLICABLE): Jet87/Test1.Test1>#|<R|Jet87/B|>()
|
||||
R|Jet87/Test1.Test1<Inapplicable(INAPPLICABLE): Jet87/Test1.Test1>#|<R|Jet87/A|>()
|
||||
R|Jet87/Test1.Test1|<R|Jet87/C|>()
|
||||
}
|
||||
public final class Foo : R|kotlin/Any| {
|
||||
@@ -101,9 +101,9 @@ FILE: multipleBounds.kt
|
||||
R|<local>/t|.R|Jet87/A.foo|()
|
||||
R|<local>/t|.R|Jet87/B.bar|()
|
||||
}
|
||||
public final val t1: R|kotlin/Unit| = <Inapplicable(INAPPLICABLE): Jet87/test2>#<R|Jet87/A|>(R|Jet87/A.A|())
|
||||
public final val t1: R|kotlin/Unit| = R|Jet87/test2<Inapplicable(INAPPLICABLE): Jet87/test2>#|<R|Jet87/A|>(R|Jet87/A.A|())
|
||||
public get(): R|kotlin/Unit|
|
||||
public final val t2: R|kotlin/Unit| = <Inapplicable(INAPPLICABLE): Jet87/test2>#<R|Jet87/B|>(R|Jet87/C.C|())
|
||||
public final val t2: R|kotlin/Unit| = R|Jet87/test2<Inapplicable(INAPPLICABLE): Jet87/test2>#|<R|Jet87/B|>(R|Jet87/C.C|())
|
||||
public get(): R|kotlin/Unit|
|
||||
public final val t3: R|kotlin/Unit| = R|Jet87/test2|<R|Jet87/C|>(R|Jet87/C.C|())
|
||||
public get(): R|kotlin/Unit|
|
||||
|
||||
Vendored
+1
-1
@@ -180,7 +180,7 @@ FILE: returnTypeMismatchOnOverride.kt
|
||||
}
|
||||
|
||||
public open fun kek(): R|Z| {
|
||||
^kek <CS errors: /Z.Z>#()
|
||||
^kek R|/Z.Z<CS errors: /Z.Z>#|()
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
Vendored
+1
-1
@@ -5,5 +5,5 @@ FILE: sealedClassConstructorCall.kt
|
||||
}
|
||||
|
||||
}
|
||||
public final val b: R|A| = <HIDDEN: /A.A is invisible>#()
|
||||
public final val b: R|A| = R|/A.A<HIDDEN: /A.A is invisible>#|()
|
||||
public get(): R|A|
|
||||
|
||||
+2
-2
@@ -13,7 +13,7 @@ FILE: typeArgumentsNotAllowed.kt
|
||||
|
||||
}
|
||||
public final fun <T> foo(): R|kotlin/Unit| {
|
||||
<Inapplicable(INAPPLICABLE): rest/bar>#<<ERROR TYPE REF: Type arguments not allowed>>()
|
||||
R|rest/bar<Inapplicable(INAPPLICABLE): rest/bar>#|<<ERROR TYPE REF: Type arguments not allowed>>()
|
||||
R|rest/bar|<R|kotlin/collections/List<kotlin/collections/List<ERROR CLASS: Type arguments not allowed>>|>()
|
||||
}
|
||||
public final fun <T> bar(): R|kotlin/Unit| {
|
||||
@@ -44,7 +44,7 @@ FILE: typeArgumentsNotAllowed.kt
|
||||
}
|
||||
public final fun <T> fest(): R|kotlin/Unit| {
|
||||
lval b: R|kotlin/collections/List<ERROR CLASS: Type arguments not allowed>|
|
||||
<Inapplicable(INAPPLICABLE): rest/gest>#<<ERROR TYPE REF: Type arguments not allowed>>()
|
||||
R|rest/gest<Inapplicable(INAPPLICABLE): rest/gest>#|<<ERROR TYPE REF: Type arguments not allowed>>()
|
||||
R|rest/gest|<R|T|>()
|
||||
lval c: R|kotlin/collections/List<kotlin/collections/List<kotlin/collections/List<ERROR CLASS: Type arguments not allowed>>>|
|
||||
R|rest/gest|<R|kotlin/collections/List<kotlin/collections/List<ERROR CLASS: Type arguments not allowed>>|>()
|
||||
|
||||
+10
-10
@@ -19,15 +19,15 @@ FILE: upperBoundViolated.kt
|
||||
public final fun <T : R|A|> fest(): R|kotlin/Unit| {
|
||||
}
|
||||
public final fun test(): R|kotlin/Unit| {
|
||||
lval b1: R|B<kotlin/Int>| = <Inapplicable(INAPPLICABLE): /B.B>#<R|kotlin/Int|>()
|
||||
lval b1: R|B<kotlin/Int>| = R|/B.B<Inapplicable(INAPPLICABLE): /B.B>#|<R|kotlin/Int|>()
|
||||
lval b2: R|B<C>| = R|/B.B|<R|C|>()
|
||||
lval b3: R|B<kotlin/Any?>| = <Inapplicable(INAPPLICABLE): /B.B>#<R|kotlin/Any?|>()
|
||||
lval b4: <ERROR TYPE REF: Unresolved name: NumberPhile> = <Inapplicable(INAPPLICABLE): /B.B>#<<ERROR TYPE REF: Symbol not found for UnexistingType>>().<Unresolved name: NL>#(ERROR_EXPR(No right operand)).<Unresolved name: Int>#(<Call has no callee>#()).<Unresolved name: NumberPhile>#(ERROR_EXPR(No right operand))
|
||||
lval b5: R|B<B<ERROR CLASS: Symbol not found for UnexistingType>>| = <Inapplicable(INAPPLICABLE): /B.B>#<R|B<ERROR CLASS: Symbol not found for UnexistingType>|>()
|
||||
<Inapplicable(INAPPLICABLE): /fest>#<R|kotlin/Boolean|>()
|
||||
lval b3: R|B<kotlin/Any?>| = R|/B.B<Inapplicable(INAPPLICABLE): /B.B>#|<R|kotlin/Any?|>()
|
||||
lval b4: <ERROR TYPE REF: Unresolved name: NumberPhile> = R|/B.B<Inapplicable(INAPPLICABLE): /B.B>#|<<ERROR TYPE REF: Symbol not found for UnexistingType>>().<Unresolved name: NL>#(ERROR_EXPR(No right operand)).<Unresolved name: Int>#(<Call has no callee>#()).<Unresolved name: NumberPhile>#(ERROR_EXPR(No right operand))
|
||||
lval b5: R|B<B<ERROR CLASS: Symbol not found for UnexistingType>>| = R|/B.B<Inapplicable(INAPPLICABLE): /B.B>#|<R|B<ERROR CLASS: Symbol not found for UnexistingType>|>()
|
||||
R|/fest<Inapplicable(INAPPLICABLE): /fest>#|<R|kotlin/Boolean|>()
|
||||
R|/fest|<R|C|>()
|
||||
R|/fest|<R|C|>()
|
||||
<Inapplicable(INAPPLICABLE): /fest>#<R|B<C>|>()
|
||||
R|/fest<Inapplicable(INAPPLICABLE): /fest>#|<R|B<C>|>()
|
||||
}
|
||||
public open class S<F, G : R|F|> : R|kotlin/Any| {
|
||||
public constructor<F, G : R|F|>(): R|S<F, G>| {
|
||||
@@ -58,11 +58,11 @@ FILE: upperBoundViolated.kt
|
||||
lval o2: R|S<K, K>| = R|/S.S|<R|K|, R|K|>()
|
||||
lval o3: R|S<L, L>| = R|/S.S|<R|L|, R|L|>()
|
||||
lval o4: R|S<S<K, L>, T<K, L>>| = R|/S.S|<R|S<K, L>|, R|T<K, L>|>()
|
||||
lval o5: R|S<S<K, L>, T<K, K>>| = <Inapplicable(INAPPLICABLE): /S.S>#<R|S<K, L>|, R|T<K, K>|>()
|
||||
lval o5: R|S<S<L, L>, T<K, L>>| = <Inapplicable(INAPPLICABLE): /S.S>#<R|S<L, L>|, R|T<K, L>|>()
|
||||
lval o5: R|S<S<K, L>, T<K, K>>| = R|/S.S<Inapplicable(INAPPLICABLE): /S.S>#|<R|S<K, L>|, R|T<K, K>|>()
|
||||
lval o5: R|S<S<L, L>, T<K, L>>| = R|/S.S<Inapplicable(INAPPLICABLE): /S.S>#|<R|S<L, L>|, R|T<K, L>|>()
|
||||
lval o6: R|S<kotlin/Any, T<S<K, L>, kotlin/String>>| = R|/S.S|<R|kotlin/Any|, R|T<S<K, L>, kotlin/String>|>()
|
||||
lval o7: R|S<kotlin/Any, T<S<K, L>, kotlin/Nothing>>| = R|/S.S|<R|kotlin/Any|, R|T<S<K, L>, kotlin/Nothing>|>()
|
||||
lval o8: R|P<kotlin/String, P1<kotlin/String, kotlin/String>>| = <Inapplicable(INAPPLICABLE): /P.P>#<R|kotlin/String|, R|P1<kotlin/String, kotlin/String>|>()
|
||||
lval o8: R|P<kotlin/String, P1<kotlin/String, kotlin/String>>| = R|/P.P<Inapplicable(INAPPLICABLE): /P.P>#|<R|kotlin/String|, R|P1<kotlin/String, kotlin/String>|>()
|
||||
}
|
||||
public final class NumColl<T : R|kotlin/collections/Collection<kotlin/Number>|> : R|kotlin/Any| {
|
||||
public constructor<T : R|kotlin/collections/Collection<kotlin/Number>|>(): R|NumColl<T>| {
|
||||
@@ -83,7 +83,7 @@ FILE: upperBoundViolated.kt
|
||||
}
|
||||
public final val np1: R|NumberPhile<kotlin/Int>| = R|/NumberPhile.NumberPhile|<R|kotlin/Int|>(Int(10))
|
||||
public get(): R|NumberPhile<kotlin/Int>|
|
||||
public final val np2: R|NumberPhile<ERROR CLASS: Cannot infer argument for type parameter T>| = <Inapplicable(INAPPLICABLE): /NumberPhile.NumberPhile>#<R|ERROR CLASS: Cannot infer argument for type parameter T|>(String(Test))
|
||||
public final val np2: R|NumberPhile<ERROR CLASS: Cannot infer argument for type parameter T>| = R|/NumberPhile.NumberPhile<Inapplicable(INAPPLICABLE): /NumberPhile.NumberPhile>#|<R|ERROR CLASS: Cannot infer argument for type parameter T|>(String(Test))
|
||||
public get(): R|NumberPhile<ERROR CLASS: Cannot infer argument for type parameter T>|
|
||||
public final class Test1<S1 : R|Test1<S1, K>|, K : R|kotlin/Any|> : R|kotlin/Any| {
|
||||
public constructor<S1 : R|Test1<S1, K>|, K : R|kotlin/Any|>(): R|Test1<S1, K>| {
|
||||
|
||||
+1
-1
@@ -37,5 +37,5 @@ FILE: enumEntryUse.kt
|
||||
R|/useEnum|(Q|TestEnum|.R|/TestEnum.SECOND|)
|
||||
R|/useEnum|(Q|TestEnum|.R|/TestEnum.THIRD|)
|
||||
R|/useVararg|(vararg(Q|TestEnum|.R|/TestEnum.FIRST|, Q|TestEnum|.R|/TestEnum.SECOND|))
|
||||
<Inapplicable(INAPPLICABLE): /useVararg>#(Int(1), Int(2), Int(3), Int(4), Int(5))
|
||||
R|/useVararg<Inapplicable(INAPPLICABLE): /useVararg>#|(Int(1), Int(2), Int(3), Int(4), Int(5))
|
||||
}
|
||||
|
||||
+1
-1
@@ -18,5 +18,5 @@ FILE: typeParameters.kt
|
||||
}
|
||||
public final fun main(fooImpl: R|FooImpl|, bar: R|Bar|): R|kotlin/Unit| {
|
||||
lval a: R|FooImpl| = R|/foo|<R|FooImpl|>(R|<local>/fooImpl|)
|
||||
lval b: <ERROR TYPE REF: Cannot infer argument for type parameter T> = <Inapplicable(INAPPLICABLE): /foo>#<R|ERROR CLASS: Cannot infer argument for type parameter T|>(R|<local>/bar|)
|
||||
lval b: <ERROR TYPE REF: Cannot infer argument for type parameter T> = R|/foo<Inapplicable(INAPPLICABLE): /foo>#|<R|ERROR CLASS: Cannot infer argument for type parameter T|>(R|<local>/bar|)
|
||||
}
|
||||
|
||||
Vendored
+1
-1
@@ -17,6 +17,6 @@ FILE: typeParameters2.kt
|
||||
^foo R|<local>/t|
|
||||
}
|
||||
public final fun main(fooImpl: R|FooImpl|, fooBarImpl: R|FooBarImpl|): R|kotlin/Unit| {
|
||||
lval a: R|FooImpl| = <Inapplicable(INAPPLICABLE): /foo>#<R|FooImpl|>(R|<local>/fooBarImpl|)
|
||||
lval a: R|FooImpl| = R|/foo<Inapplicable(INAPPLICABLE): /foo>#|<R|FooImpl|>(R|<local>/fooBarImpl|)
|
||||
lval b: R|Foo| = R|/foo|<R|Foo|>(R|<local>/fooImpl|)
|
||||
}
|
||||
|
||||
+1
-1
@@ -5,7 +5,7 @@ FILE: implicitTypeOrder.kt
|
||||
}
|
||||
|
||||
public final fun bar(): R|A| {
|
||||
^bar R|/foo|.<Inapplicable(CONVENTION_ERROR): /A.invoke>#()
|
||||
^bar R|/foo|.R|/A.invoke<Inapplicable(CONVENTION_ERROR): /A.invoke>#|()
|
||||
}
|
||||
|
||||
public final fun invoke(): R|A| {
|
||||
|
||||
+6
-6
@@ -53,8 +53,8 @@ FILE: nestedVisibility.kt
|
||||
}
|
||||
|
||||
public final fun foo(): R|kotlin/Unit| {
|
||||
Q|Outer|.<HIDDEN: /Outer.PrivateNested.PrivateNested is invisible>#()
|
||||
this@R|/Derived|.super<R|Outer|>.<HIDDEN: /Outer.PrivateInner.PrivateInner is invisible>#()
|
||||
Q|Outer|.R|/Outer.PrivateNested.PrivateNested<HIDDEN: /Outer.PrivateNested.PrivateNested is invisible>#|()
|
||||
this@R|/Derived|.super<R|Outer|>.R|/Outer.PrivateInner.PrivateInner<HIDDEN: /Outer.PrivateInner.PrivateInner is invisible>#|()
|
||||
Q|Outer|.R|/Outer.ProtectedNested.ProtectedNested|()
|
||||
this@R|/Derived|.super<R|Outer|>.R|/Outer.ProtectedInner.ProtectedInner|()
|
||||
Q|Outer|.R|/Outer.PublicNested.PublicNested|()
|
||||
@@ -63,10 +63,10 @@ FILE: nestedVisibility.kt
|
||||
|
||||
}
|
||||
public final fun foo(): R|kotlin/Unit| {
|
||||
Q|Outer|.<HIDDEN: /Outer.PrivateNested.PrivateNested is invisible>#()
|
||||
R|/Outer.Outer|().<HIDDEN: /Outer.PrivateInner.PrivateInner is invisible>#()
|
||||
Q|Outer|.<HIDDEN: /Outer.ProtectedNested.ProtectedNested is invisible>#()
|
||||
R|/Outer.Outer|().<HIDDEN: /Outer.ProtectedInner.ProtectedInner is invisible>#()
|
||||
Q|Outer|.R|/Outer.PrivateNested.PrivateNested<HIDDEN: /Outer.PrivateNested.PrivateNested is invisible>#|()
|
||||
R|/Outer.Outer|().R|/Outer.PrivateInner.PrivateInner<HIDDEN: /Outer.PrivateInner.PrivateInner is invisible>#|()
|
||||
Q|Outer|.R|/Outer.ProtectedNested.ProtectedNested<HIDDEN: /Outer.ProtectedNested.ProtectedNested is invisible>#|()
|
||||
R|/Outer.Outer|().R|/Outer.ProtectedInner.ProtectedInner<HIDDEN: /Outer.ProtectedInner.ProtectedInner is invisible>#|()
|
||||
Q|Outer|.R|/Outer.PublicNested.PublicNested|()
|
||||
R|/Outer.Outer|().R|/Outer.PublicInner.PublicInner|()
|
||||
}
|
||||
|
||||
+9
-9
@@ -13,7 +13,7 @@ FILE: first.kt
|
||||
this@R|/Private|.R|/Private.bar|()
|
||||
R|/Private.Nested.Nested|()
|
||||
this@R|/Private.Companion|.R|/Private.Companion.fromCompanion|()
|
||||
Q|Private.NotCompanion|.<HIDDEN: /Private.NotCompanion.foo is invisible>#()
|
||||
Q|Private.NotCompanion|.R|/Private.NotCompanion.foo<HIDDEN: /Private.NotCompanion.foo is invisible>#|()
|
||||
}
|
||||
|
||||
public final inner class Inner : R|kotlin/Any| {
|
||||
@@ -24,7 +24,7 @@ FILE: first.kt
|
||||
public final fun foo(): R|kotlin/Unit| {
|
||||
this@R|/Private|.R|/Private.bar|()
|
||||
this@R|/Private.Companion|.R|/Private.Companion.fromCompanion|()
|
||||
Q|Private.NotCompanion|.<HIDDEN: /Private.NotCompanion.foo is invisible>#()
|
||||
Q|Private.NotCompanion|.R|/Private.NotCompanion.foo<HIDDEN: /Private.NotCompanion.foo is invisible>#|()
|
||||
}
|
||||
|
||||
}
|
||||
@@ -36,7 +36,7 @@ FILE: first.kt
|
||||
|
||||
public final fun foo(): R|kotlin/Unit| {
|
||||
this@R|/Private.Companion|.R|/Private.Companion.fromCompanion|()
|
||||
Q|Private.NotCompanion|.<HIDDEN: /Private.NotCompanion.foo is invisible>#()
|
||||
Q|Private.NotCompanion|.R|/Private.NotCompanion.foo<HIDDEN: /Private.NotCompanion.foo is invisible>#|()
|
||||
}
|
||||
|
||||
}
|
||||
@@ -89,18 +89,18 @@ FILE: first.kt
|
||||
}
|
||||
|
||||
R|/Local.Local|().R|<local>/baz|()
|
||||
R|/Local.Local|().<HIDDEN: <local>/bar is invisible>#()
|
||||
R|/Local.Local|().R|<local>/bar<HIDDEN: <local>/bar is invisible>#|()
|
||||
}
|
||||
public final fun test(): R|kotlin/Unit| {
|
||||
R|/foo|()
|
||||
R|/Private.Private|().R|/Private.baz|()
|
||||
R|/Private.Private|().R|/Private.Inner.Inner|()
|
||||
R|/Private.Private|().<HIDDEN: /Private.bar is invisible>#()
|
||||
Q|Private|.<HIDDEN: /Private.Nested.Nested is invisible>#()
|
||||
Q|Private|.<HIDDEN: /Private.Companion.fromCompanion is invisible>#()
|
||||
R|/Private.Private|().R|/Private.bar<HIDDEN: /Private.bar is invisible>#|()
|
||||
Q|Private|.R|/Private.Nested.Nested<HIDDEN: /Private.Nested.Nested is invisible>#|()
|
||||
Q|Private|.R|/Private.Companion.fromCompanion<HIDDEN: /Private.Companion.fromCompanion is invisible>#|()
|
||||
}
|
||||
FILE: second.kt
|
||||
public final fun secondTest(): R|kotlin/Unit| {
|
||||
<HIDDEN: /foo is invisible>#()
|
||||
<HIDDEN: /Private.Private is invisible>#()
|
||||
R|/foo<HIDDEN: /foo is invisible>#|()
|
||||
R|/Private.Private<HIDDEN: /Private.Private is invisible>#|()
|
||||
}
|
||||
|
||||
+3
-3
@@ -59,7 +59,7 @@ FILE: protectedVisibility.kt
|
||||
public final fun foo(): R|kotlin/Unit| {
|
||||
this@R|/Derived|.R|/Protected.bar|()
|
||||
R|/Protected.Nested.Nested|().R|/Protected.Nested.foo|()
|
||||
R|/Protected.Nested.Nested|().<HIDDEN: /Protected.Nested.bar is invisible>#()
|
||||
R|/Protected.Nested.Nested|().R|/Protected.Nested.bar<HIDDEN: /Protected.Nested.bar is invisible>#|()
|
||||
this@R|/Protected.Companion|.R|/Protected.Companion.fromCompanion|()
|
||||
this@R|/Protected.Companion|.R|/Protected.Companion.protectedFromCompanion|()
|
||||
}
|
||||
@@ -79,8 +79,8 @@ FILE: protectedVisibility.kt
|
||||
public final fun test(): R|kotlin/Unit| {
|
||||
R|/Protected.Protected|().R|/Protected.baz|()
|
||||
R|/Protected.Protected|().R|/Protected.Inner.Inner|()
|
||||
R|/Protected.Protected|().<HIDDEN: /Protected.bar is invisible>#()
|
||||
Q|Protected|.<HIDDEN: /Protected.Nested.Nested is invisible>#()
|
||||
R|/Protected.Protected|().R|/Protected.bar<HIDDEN: /Protected.bar is invisible>#|()
|
||||
Q|Protected|.R|/Protected.Nested.Nested<HIDDEN: /Protected.Nested.Nested is invisible>#|()
|
||||
}
|
||||
public open class Generic<T> : R|kotlin/Any| {
|
||||
public constructor<T>(x: R|T|): R|Generic<T>| {
|
||||
|
||||
+1
-1
@@ -36,7 +36,7 @@ FILE: test.kt
|
||||
lval bar: R|kotlin/CharSequence?| = R|<local>/x|?.{ $subj$.R|/SomeClass.bar| }
|
||||
when () {
|
||||
!=(R|<local>/bar|, Null(null)) -> {
|
||||
R|<local>/x|.R|/SomeClass.bar|.<Inapplicable(UNSAFE_CALL): kotlin/CharSequence.length>#
|
||||
R|<local>/x|.R|/SomeClass.bar|.R|kotlin/CharSequence.length<Inapplicable(UNSAFE_CALL): kotlin/CharSequence.length>#|
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
+1
-1
@@ -1,5 +1,5 @@
|
||||
FILE: mutableList.kt
|
||||
public final fun foo(): R|kotlin/Unit| {
|
||||
lvar listVar: R|kotlin/collections/MutableList<kotlin/Int>| = R|kotlin/collections/mutableListOf|<R|kotlin/Int|>(vararg(Int(1), Int(2), Int(3)))
|
||||
R|<local>/listVar| = R|<local>/listVar|.<CS errors: kotlin/collections/plus>#<R|kotlin/Int|>(Int(4))
|
||||
R|<local>/listVar| = R|<local>/listVar|.R|kotlin/collections/plus<CS errors: kotlin/collections/plus>#|<R|kotlin/Int|>(Int(4))
|
||||
}
|
||||
|
||||
+2
-2
@@ -11,7 +11,7 @@ FILE: nullableIntegerLiteralType.kt
|
||||
}
|
||||
}
|
||||
|
||||
<Inapplicable(INAPPLICABLE): /takeInt>#(R|<local>/x|)
|
||||
R|/takeInt<Inapplicable(INAPPLICABLE): /takeInt>#|(R|<local>/x|)
|
||||
}
|
||||
public final fun test_2(b: R|kotlin/Boolean|, y: R|kotlin/Int|): R|kotlin/Unit| {
|
||||
lval x: R|kotlin/Int?| = when () {
|
||||
@@ -23,5 +23,5 @@ FILE: nullableIntegerLiteralType.kt
|
||||
}
|
||||
}
|
||||
|
||||
<Inapplicable(INAPPLICABLE): /takeInt>#(R|<local>/x|)
|
||||
R|/takeInt<Inapplicable(INAPPLICABLE): /takeInt>#|(R|<local>/x|)
|
||||
}
|
||||
|
||||
+1
-1
@@ -24,7 +24,7 @@ FILE: receiverWithCapturedType.kt
|
||||
R|<local>/resolvedCall|.R|/getParameterForArgument|<R|CallableDescriptor|>()
|
||||
}
|
||||
public final fun test_2_1(resolvedCall: R|ResolvedCall<out CallableDescriptor>|, d: R|CallableDescriptor|): R|kotlin/Unit| {
|
||||
lval x: R|CallableDescriptor| = R|<local>/resolvedCall|.<Inapplicable(INAPPLICABLE): /updateD>#<R|CapturedType(out CallableDescriptor)|>(R|<local>/d|)
|
||||
lval x: R|CallableDescriptor| = R|<local>/resolvedCall|.R|/updateD<Inapplicable(INAPPLICABLE): /updateD>#|<R|CapturedType(out CallableDescriptor)|>(R|<local>/d|)
|
||||
}
|
||||
public final fun test_2_2(resolvedCall: R|ResolvedCall<in CallableDescriptor>|, d: R|CallableDescriptor|): R|kotlin/Unit| {
|
||||
lval x: R|CallableDescriptor| = R|<local>/resolvedCall|.R|/updateD|<R|CapturedType(in CallableDescriptor)|>(R|<local>/d|)
|
||||
|
||||
+3
-3
@@ -29,9 +29,9 @@ FILE: innerTypes.kt
|
||||
public final val rrq: R|Outer.Inner<kotlin/Int, kotlin/String>| = R|/Boxed.Boxed|<R|kotlin/String|>().R|SubstitutionOverride</Boxed.substitute: R|Outer.Inner<kotlin/Int, kotlin/String>|>|()
|
||||
public get(): R|Outer.Inner<kotlin/Int, kotlin/String>|
|
||||
public final fun check(): R|kotlin/Unit| {
|
||||
<Inapplicable(INAPPLICABLE): /accept>#(R|/Outer.Outer|<R|kotlin/Int|>().R|SubstitutionOverride</Outer.Inner.Inner>|<R|kotlin/Int|>())
|
||||
<Inapplicable(INAPPLICABLE): /accept>#(R|/Outer.Outer|<R|kotlin/String|>().R|SubstitutionOverride</Outer.Inner.Inner>|<R|kotlin/String|>())
|
||||
R|/accept<Inapplicable(INAPPLICABLE): /accept>#|(R|/Outer.Outer|<R|kotlin/Int|>().R|SubstitutionOverride</Outer.Inner.Inner>|<R|kotlin/Int|>())
|
||||
R|/accept<Inapplicable(INAPPLICABLE): /accept>#|(R|/Outer.Outer|<R|kotlin/String|>().R|SubstitutionOverride</Outer.Inner.Inner>|<R|kotlin/String|>())
|
||||
R|/accept|(R|/Outer.Outer|<R|kotlin/String|>().R|SubstitutionOverride</Outer.Inner.Inner>|<R|kotlin/Int|>())
|
||||
<Inapplicable(INAPPLICABLE): /accept>#(R|/Boxed.Boxed|<R|kotlin/Int|>().R|SubstitutionOverride</Boxed.substitute: R|Outer.Inner<kotlin/Int, kotlin/Int>|>|())
|
||||
R|/accept<Inapplicable(INAPPLICABLE): /accept>#|(R|/Boxed.Boxed|<R|kotlin/Int|>().R|SubstitutionOverride</Boxed.substitute: R|Outer.Inner<kotlin/Int, kotlin/Int>|>|())
|
||||
R|/accept|(R|/Boxed.Boxed|<R|kotlin/String|>().R|SubstitutionOverride</Boxed.substitute: R|Outer.Inner<kotlin/Int, kotlin/String>|>|())
|
||||
}
|
||||
|
||||
+2
-2
@@ -29,7 +29,7 @@ FILE: lambdaArgInScopeFunction.kt
|
||||
}
|
||||
) }
|
||||
R|<local>/lambda|.R|/checkType|<R|(() -> KotlinClass)?|>(<L> = checkType@fun R|CheckTypeInv<kotlin/Function0<KotlinClass>?>|.<anonymous>(): R|kotlin/Unit| <inline=NoInline> {
|
||||
this@R|special/anonymous|.<None of the following candidates is applicable because of receiver type mismatch: [/_]>#<R|(kotlin/Unit) -> KotlinClass?|>()
|
||||
this@R|special/anonymous|.R|/_<None of the following candidates is applicable because of receiver type mismatch: [/_]>#|<R|(kotlin/Unit) -> KotlinClass?|>()
|
||||
}
|
||||
)
|
||||
}
|
||||
@@ -50,7 +50,7 @@ FILE: lambdaArgInScopeFunction.kt
|
||||
}
|
||||
)
|
||||
R|<local>/lambda|.R|/checkType|<R|() -> KotlinClass|>(<L> = checkType@fun R|CheckTypeInv<kotlin/Function0<KotlinClass>>|.<anonymous>(): R|kotlin/Unit| <inline=NoInline> {
|
||||
this@R|special/anonymous|.<None of the following candidates is applicable because of receiver type mismatch: [/_]>#<R|(kotlin/Unit) -> KotlinClass?|>()
|
||||
this@R|special/anonymous|.R|/_<None of the following candidates is applicable because of receiver type mismatch: [/_]>#|<R|(kotlin/Unit) -> KotlinClass?|>()
|
||||
}
|
||||
)
|
||||
}
|
||||
|
||||
+4
-4
@@ -29,11 +29,11 @@ FILE: KotlinClass.kt
|
||||
}
|
||||
)
|
||||
R|<local>/invalidType|.R|/checkType|<R|(JavaClass) -> kotlin/Boolean|>(<L> = checkType@fun R|CheckTypeInv<kotlin/Function1<JavaClass, kotlin/Boolean>>|.<anonymous>(): R|kotlin/Unit| <inline=NoInline> {
|
||||
this@R|special/anonymous|.<None of the following candidates is applicable because of receiver type mismatch: [/_]>#<R|(kotlin/Nothing) -> kotlin/Boolean|>()
|
||||
this@R|special/anonymous|.R|/_<None of the following candidates is applicable because of receiver type mismatch: [/_]>#|<R|(kotlin/Nothing) -> kotlin/Boolean|>()
|
||||
}
|
||||
)
|
||||
R|/Case1.Case1|(R|<local>/javaClass|).R|/Case1.x|.R|/checkType|<R|(KotlinClass) -> kotlin/Boolean|>(<L> = checkType@fun R|CheckTypeInv<kotlin/Function1<KotlinClass, kotlin/Boolean>>|.<anonymous>(): R|kotlin/Unit| <inline=NoInline> {
|
||||
this@R|special/anonymous|.<None of the following candidates is applicable because of receiver type mismatch: [/_]>#<R|(kotlin/Nothing) -> kotlin/Boolean|>()
|
||||
this@R|special/anonymous|.R|/_<None of the following candidates is applicable because of receiver type mismatch: [/_]>#|<R|(kotlin/Nothing) -> kotlin/Boolean|>()
|
||||
}
|
||||
)
|
||||
}
|
||||
@@ -122,11 +122,11 @@ FILE: KotlinClass.kt
|
||||
}
|
||||
)
|
||||
R|<local>/invalidType|.R|/checkType|<R|(KotlinClass) -> kotlin/Boolean|>(<L> = checkType@fun R|CheckTypeInv<kotlin/Function1<KotlinClass, kotlin/Boolean>>|.<anonymous>(): R|kotlin/Unit| <inline=NoInline> {
|
||||
this@R|special/anonymous|.<None of the following candidates is applicable because of receiver type mismatch: [/_]>#<R|(kotlin/Nothing) -> kotlin/Boolean|>()
|
||||
this@R|special/anonymous|.R|/_<None of the following candidates is applicable because of receiver type mismatch: [/_]>#|<R|(kotlin/Nothing) -> kotlin/Boolean|>()
|
||||
}
|
||||
)
|
||||
R|/Case2.Case2|(R|<local>/kotlinClass|).R|/Case2.x|.R|/checkType|<R|(KotlinClass) -> kotlin/Boolean|>(<L> = checkType@fun R|CheckTypeInv<kotlin/Function1<KotlinClass, kotlin/Boolean>>|.<anonymous>(): R|kotlin/Unit| <inline=NoInline> {
|
||||
this@R|special/anonymous|.<None of the following candidates is applicable because of receiver type mismatch: [/_]>#<R|(kotlin/Nothing) -> kotlin/Boolean|>()
|
||||
this@R|special/anonymous|.R|/_<None of the following candidates is applicable because of receiver type mismatch: [/_]>#|<R|(kotlin/Nothing) -> kotlin/Boolean|>()
|
||||
}
|
||||
)
|
||||
}
|
||||
|
||||
+1
-1
@@ -24,5 +24,5 @@ FILE: supertypeGenericsComplex.kt
|
||||
}
|
||||
public final fun f(list: R|kotlin/collections/MutableList<X>|, s: R|kotlin/collections/MutableList<kotlin/CharSequence>|): R|kotlin/Unit| {
|
||||
R|/C.C|().R|SubstitutionOverride</C.f: R|kotlin/Unit|>|<R|X|>(R|<local>/list|, R|<local>/s|)
|
||||
R|/C.C|().<Inapplicable(INAPPLICABLE): /C.f>#<R|ERROR CLASS: Cannot infer argument for type parameter D|>(R|<local>/s|, R|<local>/list|)
|
||||
R|/C.C|().R|SubstitutionOverride</C.f: R|kotlin/Unit|><Inapplicable(INAPPLICABLE): /C.f>#|<R|ERROR CLASS: Cannot infer argument for type parameter D|>(R|<local>/s|, R|<local>/list|)
|
||||
}
|
||||
|
||||
Vendored
+1
-1
@@ -1,4 +1,4 @@
|
||||
FILE: main.kt
|
||||
public final fun <V> R|SLRUMap<V>|.getOrPut(value: R|V|): R|kotlin/Unit| {
|
||||
this@R|/getOrPut|.<Inapplicable(INAPPLICABLE): /SLRUMap.takeV>#(R|<local>/value|)
|
||||
this@R|/getOrPut|.R|SubstitutionOverride</SLRUMap.takeV: R|kotlin/Unit|><Inapplicable(INAPPLICABLE): /SLRUMap.takeV>#|(R|<local>/value|)
|
||||
}
|
||||
|
||||
+1
-1
@@ -26,5 +26,5 @@ FILE: qualifierWithCompanion.kt
|
||||
local final fun R|my/A|.invoke(): R|kotlin/Unit| {
|
||||
}
|
||||
|
||||
Q|my|.R|my/xx|.<Inapplicable(CONVENTION_ERROR): <local>/invoke>#()
|
||||
Q|my|.R|my/xx|.R|<local>/invoke<Inapplicable(CONVENTION_ERROR): <local>/invoke>#|()
|
||||
}
|
||||
|
||||
+1
-1
@@ -8,7 +8,7 @@ FILE: main.kt
|
||||
^ R|<local>/x|.R|kotlin/Int.toString|()
|
||||
}
|
||||
)
|
||||
<CS errors: /MyFunction>#<R|ERROR CLASS: Cannot infer argument for type parameter T|, R|ERROR CLASS: Cannot infer argument for type parameter R|>(<L> = MyFunction@fun <anonymous>(x: <ERROR TYPE REF: Cannot infer argument for type parameter T>): <ERROR TYPE REF: Cannot infer argument for type parameter R> <inline=NoInline> {
|
||||
R|/MyFunction<CS errors: /MyFunction>#|<R|ERROR CLASS: Cannot infer argument for type parameter T|, R|ERROR CLASS: Cannot infer argument for type parameter R|>(<L> = MyFunction@fun <anonymous>(x: <ERROR TYPE REF: Cannot infer argument for type parameter T>): <ERROR TYPE REF: Cannot infer argument for type parameter R> <inline=NoInline> {
|
||||
^ String()
|
||||
}
|
||||
)
|
||||
|
||||
+1
-1
@@ -14,7 +14,7 @@ FILE: main.kt
|
||||
^ R|<local>/x|.R|kotlin/Number.toInt|().R|kotlin/Int.toString|()
|
||||
}
|
||||
))
|
||||
<Inapplicable(INAPPLICABLE): /foo2>#(R|/MyFunction|<R|kotlin/Int!|, R|kotlin/String!|>(<L> = MyFunction@fun <anonymous>(x: R|kotlin/Int|): R|kotlin/String!| <inline=NoInline> {
|
||||
R|/foo2<Inapplicable(INAPPLICABLE): /foo2>#|(R|/MyFunction|<R|kotlin/Int!|, R|kotlin/String!|>(<L> = MyFunction@fun <anonymous>(x: R|kotlin/Int|): R|kotlin/String!| <inline=NoInline> {
|
||||
^ R|<local>/x|.R|kotlin/Int.toString|()
|
||||
}
|
||||
))
|
||||
|
||||
Vendored
+3
-3
@@ -5,11 +5,11 @@ FILE: main.kt
|
||||
^MyRunnable Int(1)
|
||||
}
|
||||
public final fun main(): R|kotlin/Unit| {
|
||||
<Inapplicable(INAPPLICABLE): /foo>#(R|/MyRunnable|(<L> = MyRunnable@fun <anonymous>(x: R|kotlin/Int|): R|kotlin/Boolean| <inline=NoInline> {
|
||||
R|/foo<Inapplicable(INAPPLICABLE): /foo>#|(R|/MyRunnable|(<L> = MyRunnable@fun <anonymous>(x: R|kotlin/Int|): R|kotlin/Boolean| <inline=NoInline> {
|
||||
^ CMP(>, R|<local>/x|.R|kotlin/Int.compareTo|(Int(1)))
|
||||
}
|
||||
))
|
||||
<Inapplicable(INAPPLICABLE): /foo>#(R|/MyRunnable|(MyRunnable@fun <anonymous>(it: R|kotlin/Int|): R|kotlin/Boolean| <inline=NoInline> {
|
||||
R|/foo<Inapplicable(INAPPLICABLE): /foo>#|(R|/MyRunnable|(MyRunnable@fun <anonymous>(it: R|kotlin/Int|): R|kotlin/Boolean| <inline=NoInline> {
|
||||
^ CMP(>, R|<local>/it|.R|kotlin/Int.compareTo|(Int(1)))
|
||||
}
|
||||
))
|
||||
@@ -17,5 +17,5 @@ FILE: main.kt
|
||||
^ CMP(>, R|<local>/x|.R|kotlin/Int.compareTo|(Int(1)))
|
||||
}
|
||||
|
||||
<Inapplicable(INAPPLICABLE): /foo>#(R|/MyRunnable|(R|<local>/x|))
|
||||
R|/foo<Inapplicable(INAPPLICABLE): /foo>#|(R|/MyRunnable|(R|<local>/x|))
|
||||
}
|
||||
|
||||
+1
-1
@@ -8,7 +8,7 @@ FILE: main.kt
|
||||
^ R|<local>/x|.R|kotlin/Number.toInt|().R|kotlin/Int.toString|()
|
||||
}
|
||||
)
|
||||
Q|JavaUsage|.<Inapplicable(INAPPLICABLE): /JavaUsage.foo2>#(<L> = foo2@fun <anonymous>(x: R|kotlin/Int|): R|kotlin/CharSequence!| <inline=Unknown> {
|
||||
Q|JavaUsage|.R|/JavaUsage.foo2<Inapplicable(INAPPLICABLE): /JavaUsage.foo2>#|(<L> = foo2@fun <anonymous>(x: R|kotlin/Int|): R|kotlin/CharSequence!| <inline=Unknown> {
|
||||
^ R|<local>/x|.R|kotlin/Int.toString|()
|
||||
}
|
||||
)
|
||||
|
||||
+4
-4
@@ -38,16 +38,16 @@ FILE: kotlinSam.kt
|
||||
}
|
||||
)
|
||||
R|/foo1|(R|<local>/f|)
|
||||
<Inapplicable(INAPPLICABLE): /foo2>#(<L> = foo2@fun <anonymous>(x: R|kotlin/Nothing|): R|kotlin/Boolean| <inline=Unknown> {
|
||||
R|/foo2<Inapplicable(INAPPLICABLE): /foo2>#|(<L> = foo2@fun <anonymous>(x: R|kotlin/Nothing|): R|kotlin/Boolean| <inline=Unknown> {
|
||||
^ CMP(>, R|<local>/x|.<Unresolved name: compareTo>#(Int(1)))
|
||||
}
|
||||
)
|
||||
<Inapplicable(INAPPLICABLE): /foo2>#(R|<local>/f|)
|
||||
<Inapplicable(INAPPLICABLE): /foo3>#(<L> = foo3@fun <anonymous>(x: R|kotlin/Nothing|): R|kotlin/Boolean| <inline=Unknown> {
|
||||
R|/foo2<Inapplicable(INAPPLICABLE): /foo2>#|(R|<local>/f|)
|
||||
R|/foo3<Inapplicable(INAPPLICABLE): /foo3>#|(<L> = foo3@fun <anonymous>(x: R|kotlin/Nothing|): R|kotlin/Boolean| <inline=Unknown> {
|
||||
^ CMP(>, R|<local>/x|.<Unresolved name: compareTo>#(Int(1)))
|
||||
}
|
||||
)
|
||||
<Inapplicable(INAPPLICABLE): /foo3>#(R|<local>/f|)
|
||||
R|/foo3<Inapplicable(INAPPLICABLE): /foo3>#|(R|<local>/f|)
|
||||
R|/foo4|(<L> = foo4@fun <anonymous>(x: R|kotlin/Int|): R|kotlin/Boolean| <inline=NoInline> {
|
||||
^ CMP(>, R|<local>/x|.R|kotlin/Int.compareTo|(Int(1)))
|
||||
}
|
||||
|
||||
Vendored
+3
-3
@@ -2,11 +2,11 @@ FILE: main.kt
|
||||
public final fun foo(m: R|MyRunnable|): R|kotlin/Unit| {
|
||||
}
|
||||
public final fun main(): R|kotlin/Unit| {
|
||||
Q|JavaUsage|.<Inapplicable(INAPPLICABLE): /JavaUsage.foo>#(<L> = foo@fun <anonymous>(x: R|kotlin/Nothing|): R|kotlin/Boolean| <inline=Unknown> {
|
||||
Q|JavaUsage|.R|/JavaUsage.foo<Inapplicable(INAPPLICABLE): /JavaUsage.foo>#|(<L> = foo@fun <anonymous>(x: R|kotlin/Nothing|): R|kotlin/Boolean| <inline=Unknown> {
|
||||
^ CMP(>, R|<local>/x|.<Unresolved name: compareTo>#(Int(1)))
|
||||
}
|
||||
)
|
||||
Q|JavaUsage|.<Inapplicable(INAPPLICABLE): /JavaUsage.foo>#(foo@fun <anonymous>(): R|kotlin/Boolean| <inline=Unknown> {
|
||||
Q|JavaUsage|.R|/JavaUsage.foo<Inapplicable(INAPPLICABLE): /JavaUsage.foo>#|(foo@fun <anonymous>(): R|kotlin/Boolean| <inline=Unknown> {
|
||||
^ CMP(>, <Unresolved name: it>#.<Unresolved name: compareTo>#(Int(1)))
|
||||
}
|
||||
)
|
||||
@@ -14,5 +14,5 @@ FILE: main.kt
|
||||
^ CMP(>, R|<local>/x|.R|kotlin/Int.compareTo|(Int(1)))
|
||||
}
|
||||
|
||||
Q|JavaUsage|.<Inapplicable(INAPPLICABLE): /JavaUsage.foo>#(R|<local>/x|)
|
||||
Q|JavaUsage|.R|/JavaUsage.foo<Inapplicable(INAPPLICABLE): /JavaUsage.foo>#|(R|<local>/x|)
|
||||
}
|
||||
|
||||
+4
-4
@@ -1,11 +1,11 @@
|
||||
FILE: main.kt
|
||||
public final fun test(map: R|SomeMap<kotlin/Int, kotlin/String>|): R|kotlin/Unit| {
|
||||
R|<local>/map|.R|SubstitutionOverride</SomeMap.containsKey: R|kotlin/Boolean|>|(Int(1))
|
||||
R|<local>/map|.<Inapplicable(INAPPLICABLE): /SomeMap.containsKey>#(String())
|
||||
R|<local>/map|.R|SubstitutionOverride</SomeMap.containsKey: R|kotlin/Boolean|><Inapplicable(INAPPLICABLE): /SomeMap.containsKey>#|(String())
|
||||
R|<local>/map|.R|SubstitutionOverride</SomeMap.containsValue: R|kotlin/Boolean|>|(String())
|
||||
R|<local>/map|.<Inapplicable(INAPPLICABLE): /SomeMap.containsValue>#(Int(1))
|
||||
R|<local>/map|.R|SubstitutionOverride</SomeMap.containsValue: R|kotlin/Boolean|><Inapplicable(INAPPLICABLE): /SomeMap.containsValue>#|(Int(1))
|
||||
R|<local>/map|.R|SubstitutionOverride</SomeMap.get: R|kotlin/String?|>|(Int(1))
|
||||
R|<local>/map|.<Inapplicable(INAPPLICABLE): /SomeMap.get>#(String())
|
||||
R|<local>/map|.R|SubstitutionOverride</SomeMap.get: R|kotlin/String?|><Inapplicable(INAPPLICABLE): /SomeMap.get>#|(String())
|
||||
R|<local>/map|.R|SubstitutionOverride</SomeMap.remove: R|kotlin/String?|>|(Int(1))
|
||||
R|<local>/map|.<Inapplicable(INAPPLICABLE): /SomeMap.remove>#(String())
|
||||
R|<local>/map|.R|SubstitutionOverride</SomeMap.remove: R|kotlin/String?|><Inapplicable(INAPPLICABLE): /SomeMap.remove>#|(String())
|
||||
}
|
||||
|
||||
+5
-5
@@ -17,7 +17,7 @@ FILE: accessToMemberAfterReceiverReassignment.kt
|
||||
!=(R|<local>/y|?.{ $subj$.R|/My.x| }, Null(null)) -> {
|
||||
R|<local>/y|.R|/My.x|.R|/My.x|
|
||||
R|<local>/y| = R|/My.My|(Null(null))
|
||||
R|<local>/y|.R|/My.x|.<Inapplicable(UNSAFE_CALL): /My.x>#
|
||||
R|<local>/y|.R|/My.x|.R|/My.x<Inapplicable(UNSAFE_CALL): /My.x>#|
|
||||
}
|
||||
}
|
||||
|
||||
@@ -28,7 +28,7 @@ FILE: accessToMemberAfterReceiverReassignment.kt
|
||||
!=(R|<local>/y|?.{ $subj$.R|/My.x| }?.{ $subj$.R|/My.x| }, Null(null)) -> {
|
||||
R|<local>/y|.R|/My.x|.R|/My.x|.R|/My.x|
|
||||
R|<local>/y| = R|/My.My|(Null(null))
|
||||
R|<local>/y|.R|/My.x|.<Inapplicable(UNSAFE_CALL): /My.x>#.<Inapplicable(UNSAFE_CALL): /My.x>#
|
||||
R|<local>/y|.R|/My.x|.R|/My.x<Inapplicable(UNSAFE_CALL): /My.x>#|.R|/My.x<Inapplicable(UNSAFE_CALL): /My.x>#|
|
||||
}
|
||||
}
|
||||
|
||||
@@ -39,7 +39,7 @@ FILE: accessToMemberAfterReceiverReassignment.kt
|
||||
!=(R|<local>/y|.R|/My.x|, Null(null)) -> {
|
||||
R|<local>/y|.R|/My.x|.R|/My.x|
|
||||
R|<local>/y| = R|/My.My|(Null(null))
|
||||
R|<local>/y|.R|/My.x|.<Inapplicable(UNSAFE_CALL): /My.x>#
|
||||
R|<local>/y|.R|/My.x|.R|/My.x<Inapplicable(UNSAFE_CALL): /My.x>#|
|
||||
}
|
||||
}
|
||||
|
||||
@@ -53,8 +53,8 @@ FILE: accessToMemberAfterReceiverReassignment.kt
|
||||
R|<local>/y|.R|/My.x|.R|/My.x|
|
||||
R|<local>/y|.R|/My.z|.R|/My.z|
|
||||
R|<local>/y| = R|/My.My|(Null(null))
|
||||
R|<local>/y|.R|/My.x|.<Inapplicable(UNSAFE_CALL): /My.x>#
|
||||
R|<local>/y|.R|/My.z|.<Inapplicable(UNSAFE_CALL): /My.z>#
|
||||
R|<local>/y|.R|/My.x|.R|/My.x<Inapplicable(UNSAFE_CALL): /My.x>#|
|
||||
R|<local>/y|.R|/My.z|.R|/My.z<Inapplicable(UNSAFE_CALL): /My.z>#|
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -213,7 +213,7 @@ digraph bangbang_kt {
|
||||
84 [label="Exit when"];
|
||||
}
|
||||
85 [label="Access variable R|<local>/a|"];
|
||||
86 [label="Function call: R|<local>/a|.<Inapplicable(UNSAFE_CALL): /A.foo>#()" style="filled" fillcolor=yellow];
|
||||
86 [label="Function call: R|<local>/a|.R|/A.foo<Inapplicable(UNSAFE_CALL): /A.foo>#|()" style="filled" fillcolor=yellow];
|
||||
87 [label="Exit block"];
|
||||
}
|
||||
88 [label="Exit function test_3" style="filled" fillcolor=red];
|
||||
@@ -347,14 +347,14 @@ digraph bangbang_kt {
|
||||
color=blue
|
||||
131 [label="Enter block"];
|
||||
132 [label="Access variable R|<local>/a|"];
|
||||
133 [label="Function call: R|<local>/a|.<Inapplicable(UNSAFE_CALL): /A.foo>#()" style="filled" fillcolor=yellow];
|
||||
133 [label="Function call: R|<local>/a|.R|/A.foo<Inapplicable(UNSAFE_CALL): /A.foo>#|()" style="filled" fillcolor=yellow];
|
||||
134 [label="Exit block"];
|
||||
}
|
||||
135 [label="Exit when branch result"];
|
||||
136 [label="Exit when"];
|
||||
}
|
||||
137 [label="Access variable R|<local>/a|"];
|
||||
138 [label="Function call: R|<local>/a|.<Inapplicable(UNSAFE_CALL): /A.foo>#()" style="filled" fillcolor=yellow];
|
||||
138 [label="Function call: R|<local>/a|.R|/A.foo<Inapplicable(UNSAFE_CALL): /A.foo>#|()" style="filled" fillcolor=yellow];
|
||||
139 [label="Exit block"];
|
||||
}
|
||||
140 [label="Exit function test_5" style="filled" fillcolor=red];
|
||||
|
||||
@@ -32,7 +32,7 @@ FILE: bangbang.kt
|
||||
}
|
||||
}
|
||||
|
||||
R|<local>/a|.<Inapplicable(UNSAFE_CALL): /A.foo>#()
|
||||
R|<local>/a|.R|/A.foo<Inapplicable(UNSAFE_CALL): /A.foo>#|()
|
||||
}
|
||||
public final fun test_4(a: R|A?|, b: R|kotlin/Boolean|): R|kotlin/Unit| {
|
||||
when () {
|
||||
@@ -46,11 +46,11 @@ FILE: bangbang.kt
|
||||
public final fun test_5(a: R|A?|, b: R|kotlin/Boolean|): R|kotlin/Unit| {
|
||||
when () {
|
||||
R|<local>/b| || R|<local>/a|!!.R|/A.foo|() -> {
|
||||
R|<local>/a|.<Inapplicable(UNSAFE_CALL): /A.foo>#()
|
||||
R|<local>/a|.R|/A.foo<Inapplicable(UNSAFE_CALL): /A.foo>#|()
|
||||
}
|
||||
}
|
||||
|
||||
R|<local>/a|.<Inapplicable(UNSAFE_CALL): /A.foo>#()
|
||||
R|<local>/a|.R|/A.foo<Inapplicable(UNSAFE_CALL): /A.foo>#|()
|
||||
}
|
||||
public final fun <X : R|A?|> test_6(x: R|X|): R|kotlin/Unit| {
|
||||
R|<local>/x|!!.R|/A.foo|()
|
||||
|
||||
Vendored
+2
-2
@@ -17,7 +17,7 @@ FILE: booleanElvisBoundSmartcast.kt
|
||||
R|<local>/a|.R|/A.foo|()
|
||||
}
|
||||
else -> {
|
||||
R|<local>/a|.<Inapplicable(UNSAFE_CALL): /A.foo>#()
|
||||
R|<local>/a|.R|/A.foo<Inapplicable(UNSAFE_CALL): /A.foo>#|()
|
||||
}
|
||||
}
|
||||
|
||||
@@ -25,7 +25,7 @@ FILE: booleanElvisBoundSmartcast.kt
|
||||
public final fun test_2(a: R|A?|): R|kotlin/Unit| {
|
||||
when () {
|
||||
R|<local>/a|?.{ $subj$.R|/A.b| } ?: Boolean(true) -> {
|
||||
R|<local>/a|.<Inapplicable(UNSAFE_CALL): /A.foo>#()
|
||||
R|<local>/a|.R|/A.foo<Inapplicable(UNSAFE_CALL): /A.foo>#|()
|
||||
}
|
||||
else -> {
|
||||
R|<local>/a|.R|/A.foo|()
|
||||
|
||||
+8
-8
@@ -46,7 +46,7 @@ digraph equalsToBoolean_kt {
|
||||
color=blue
|
||||
17 [label="Enter block"];
|
||||
18 [label="Access variable R|<local>/b|"];
|
||||
19 [label="Function call: R|<local>/b|.<Inapplicable(UNSAFE_CALL): kotlin/Boolean.not>#()" style="filled" fillcolor=yellow];
|
||||
19 [label="Function call: R|<local>/b|.R|kotlin/Boolean.not<Inapplicable(UNSAFE_CALL): kotlin/Boolean.not>#|()" style="filled" fillcolor=yellow];
|
||||
20 [label="Exit block"];
|
||||
}
|
||||
21 [label="Exit when branch result"];
|
||||
@@ -133,7 +133,7 @@ digraph equalsToBoolean_kt {
|
||||
color=blue
|
||||
52 [label="Enter block"];
|
||||
53 [label="Access variable R|<local>/b|"];
|
||||
54 [label="Function call: R|<local>/b|.<Inapplicable(UNSAFE_CALL): kotlin/Boolean.not>#()" style="filled" fillcolor=yellow];
|
||||
54 [label="Function call: R|<local>/b|.R|kotlin/Boolean.not<Inapplicable(UNSAFE_CALL): kotlin/Boolean.not>#|()" style="filled" fillcolor=yellow];
|
||||
55 [label="Exit block"];
|
||||
}
|
||||
56 [label="Exit when branch result"];
|
||||
@@ -210,7 +210,7 @@ digraph equalsToBoolean_kt {
|
||||
color=blue
|
||||
80 [label="Enter block"];
|
||||
81 [label="Access variable R|<local>/b|"];
|
||||
82 [label="Function call: R|<local>/b|.<Inapplicable(UNSAFE_CALL): kotlin/Boolean.not>#()" style="filled" fillcolor=yellow];
|
||||
82 [label="Function call: R|<local>/b|.R|kotlin/Boolean.not<Inapplicable(UNSAFE_CALL): kotlin/Boolean.not>#|()" style="filled" fillcolor=yellow];
|
||||
83 [label="Exit block"];
|
||||
}
|
||||
84 [label="Exit when branch result"];
|
||||
@@ -277,7 +277,7 @@ digraph equalsToBoolean_kt {
|
||||
color=blue
|
||||
101 [label="Enter block"];
|
||||
102 [label="Access variable R|<local>/b|"];
|
||||
103 [label="Function call: R|<local>/b|.<Inapplicable(UNSAFE_CALL): kotlin/Boolean.not>#()" style="filled" fillcolor=yellow];
|
||||
103 [label="Function call: R|<local>/b|.R|kotlin/Boolean.not<Inapplicable(UNSAFE_CALL): kotlin/Boolean.not>#|()" style="filled" fillcolor=yellow];
|
||||
104 [label="Exit block"];
|
||||
}
|
||||
105 [label="Exit when branch result"];
|
||||
@@ -364,7 +364,7 @@ digraph equalsToBoolean_kt {
|
||||
color=blue
|
||||
136 [label="Enter block"];
|
||||
137 [label="Access variable R|<local>/b|"];
|
||||
138 [label="Function call: R|<local>/b|.<Inapplicable(UNSAFE_CALL): kotlin/Boolean.not>#()" style="filled" fillcolor=yellow];
|
||||
138 [label="Function call: R|<local>/b|.R|kotlin/Boolean.not<Inapplicable(UNSAFE_CALL): kotlin/Boolean.not>#|()" style="filled" fillcolor=yellow];
|
||||
139 [label="Exit block"];
|
||||
}
|
||||
140 [label="Exit when branch result"];
|
||||
@@ -431,7 +431,7 @@ digraph equalsToBoolean_kt {
|
||||
color=blue
|
||||
157 [label="Enter block"];
|
||||
158 [label="Access variable R|<local>/b|"];
|
||||
159 [label="Function call: R|<local>/b|.<Inapplicable(UNSAFE_CALL): kotlin/Boolean.not>#()" style="filled" fillcolor=yellow];
|
||||
159 [label="Function call: R|<local>/b|.R|kotlin/Boolean.not<Inapplicable(UNSAFE_CALL): kotlin/Boolean.not>#|()" style="filled" fillcolor=yellow];
|
||||
160 [label="Exit block"];
|
||||
}
|
||||
161 [label="Exit when branch result"];
|
||||
@@ -508,7 +508,7 @@ digraph equalsToBoolean_kt {
|
||||
color=blue
|
||||
185 [label="Enter block"];
|
||||
186 [label="Access variable R|<local>/b|"];
|
||||
187 [label="Function call: R|<local>/b|.<Inapplicable(UNSAFE_CALL): kotlin/Boolean.not>#()" style="filled" fillcolor=yellow];
|
||||
187 [label="Function call: R|<local>/b|.R|kotlin/Boolean.not<Inapplicable(UNSAFE_CALL): kotlin/Boolean.not>#|()" style="filled" fillcolor=yellow];
|
||||
188 [label="Exit block"];
|
||||
}
|
||||
189 [label="Exit when branch result"];
|
||||
@@ -595,7 +595,7 @@ digraph equalsToBoolean_kt {
|
||||
color=blue
|
||||
220 [label="Enter block"];
|
||||
221 [label="Access variable R|<local>/b|"];
|
||||
222 [label="Function call: R|<local>/b|.<Inapplicable(UNSAFE_CALL): kotlin/Boolean.not>#()" style="filled" fillcolor=yellow];
|
||||
222 [label="Function call: R|<local>/b|.R|kotlin/Boolean.not<Inapplicable(UNSAFE_CALL): kotlin/Boolean.not>#|()" style="filled" fillcolor=yellow];
|
||||
223 [label="Exit block"];
|
||||
}
|
||||
224 [label="Exit when branch result"];
|
||||
|
||||
+8
-8
@@ -12,7 +12,7 @@ FILE: equalsToBoolean.kt
|
||||
R|<local>/b|.R|kotlin/Boolean.not|()
|
||||
}
|
||||
else -> {
|
||||
R|<local>/b|.<Inapplicable(UNSAFE_CALL): kotlin/Boolean.not>#()
|
||||
R|<local>/b|.R|kotlin/Boolean.not<Inapplicable(UNSAFE_CALL): kotlin/Boolean.not>#|()
|
||||
}
|
||||
}
|
||||
|
||||
@@ -20,7 +20,7 @@ FILE: equalsToBoolean.kt
|
||||
public final fun test_2(b: R|kotlin/Boolean?|): R|kotlin/Unit| {
|
||||
when () {
|
||||
!=(==(R|<local>/b|, Boolean(true)), Boolean(true)) -> {
|
||||
R|<local>/b|.<Inapplicable(UNSAFE_CALL): kotlin/Boolean.not>#()
|
||||
R|<local>/b|.R|kotlin/Boolean.not<Inapplicable(UNSAFE_CALL): kotlin/Boolean.not>#|()
|
||||
}
|
||||
else -> {
|
||||
R|<local>/b|.R|kotlin/Boolean.not|()
|
||||
@@ -31,7 +31,7 @@ FILE: equalsToBoolean.kt
|
||||
public final fun test_3(b: R|kotlin/Boolean?|): R|kotlin/Unit| {
|
||||
when () {
|
||||
==(==(R|<local>/b|, Boolean(true)), Boolean(false)) -> {
|
||||
R|<local>/b|.<Inapplicable(UNSAFE_CALL): kotlin/Boolean.not>#()
|
||||
R|<local>/b|.R|kotlin/Boolean.not<Inapplicable(UNSAFE_CALL): kotlin/Boolean.not>#|()
|
||||
}
|
||||
else -> {
|
||||
R|<local>/b|.R|kotlin/Boolean.not|()
|
||||
@@ -45,7 +45,7 @@ FILE: equalsToBoolean.kt
|
||||
R|<local>/b|.R|kotlin/Boolean.not|()
|
||||
}
|
||||
else -> {
|
||||
R|<local>/b|.<Inapplicable(UNSAFE_CALL): kotlin/Boolean.not>#()
|
||||
R|<local>/b|.R|kotlin/Boolean.not<Inapplicable(UNSAFE_CALL): kotlin/Boolean.not>#|()
|
||||
}
|
||||
}
|
||||
|
||||
@@ -53,7 +53,7 @@ FILE: equalsToBoolean.kt
|
||||
public final fun test_5(b: R|kotlin/Boolean?|): R|kotlin/Unit| {
|
||||
when () {
|
||||
==(!=(R|<local>/b|, Boolean(true)), Boolean(true)) -> {
|
||||
R|<local>/b|.<Inapplicable(UNSAFE_CALL): kotlin/Boolean.not>#()
|
||||
R|<local>/b|.R|kotlin/Boolean.not<Inapplicable(UNSAFE_CALL): kotlin/Boolean.not>#|()
|
||||
}
|
||||
else -> {
|
||||
R|<local>/b|.R|kotlin/Boolean.not|()
|
||||
@@ -67,7 +67,7 @@ FILE: equalsToBoolean.kt
|
||||
R|<local>/b|.R|kotlin/Boolean.not|()
|
||||
}
|
||||
else -> {
|
||||
R|<local>/b|.<Inapplicable(UNSAFE_CALL): kotlin/Boolean.not>#()
|
||||
R|<local>/b|.R|kotlin/Boolean.not<Inapplicable(UNSAFE_CALL): kotlin/Boolean.not>#|()
|
||||
}
|
||||
}
|
||||
|
||||
@@ -78,7 +78,7 @@ FILE: equalsToBoolean.kt
|
||||
R|<local>/b|.R|kotlin/Boolean.not|()
|
||||
}
|
||||
else -> {
|
||||
R|<local>/b|.<Inapplicable(UNSAFE_CALL): kotlin/Boolean.not>#()
|
||||
R|<local>/b|.R|kotlin/Boolean.not<Inapplicable(UNSAFE_CALL): kotlin/Boolean.not>#|()
|
||||
}
|
||||
}
|
||||
|
||||
@@ -86,7 +86,7 @@ FILE: equalsToBoolean.kt
|
||||
public final fun test_8(b: R|kotlin/Boolean?|): R|kotlin/Unit| {
|
||||
when () {
|
||||
!=(!=(R|<local>/b|, Boolean(true)), Boolean(false)) -> {
|
||||
R|<local>/b|.<Inapplicable(UNSAFE_CALL): kotlin/Boolean.not>#()
|
||||
R|<local>/b|.R|kotlin/Boolean.not<Inapplicable(UNSAFE_CALL): kotlin/Boolean.not>#|()
|
||||
}
|
||||
else -> {
|
||||
R|<local>/b|.R|kotlin/Boolean.not|()
|
||||
|
||||
+6
-6
@@ -280,7 +280,7 @@ digraph jumpFromRhsOfOperator_kt {
|
||||
}
|
||||
108 [label="Access variable R|<local>/a|"];
|
||||
109 [label="Smart cast: R|<local>/a|"];
|
||||
110 [label="Function call: R|<local>/a|.<Inapplicable(UNSAFE_CALL): /A.foo>#()" style="filled" fillcolor=yellow];
|
||||
110 [label="Function call: R|<local>/a|.R|/A.foo<Inapplicable(UNSAFE_CALL): /A.foo>#|()" style="filled" fillcolor=yellow];
|
||||
111 [label="Exit block"];
|
||||
}
|
||||
112 [label="Exit function test_5" style="filled" fillcolor=red];
|
||||
@@ -324,7 +324,7 @@ digraph jumpFromRhsOfOperator_kt {
|
||||
}
|
||||
125 [label="Access variable R|<local>/a|"];
|
||||
126 [label="Smart cast: R|<local>/a|"];
|
||||
127 [label="Function call: R|<local>/a|.<Inapplicable(UNSAFE_CALL): /A.foo>#()" style="filled" fillcolor=yellow];
|
||||
127 [label="Function call: R|<local>/a|.R|/A.foo<Inapplicable(UNSAFE_CALL): /A.foo>#|()" style="filled" fillcolor=yellow];
|
||||
128 [label="Exit block"];
|
||||
}
|
||||
129 [label="Exit function teat_6" style="filled" fillcolor=red];
|
||||
@@ -381,7 +381,7 @@ digraph jumpFromRhsOfOperator_kt {
|
||||
147 [label="Enter block"];
|
||||
148 [label="Access variable R|<local>/a|"];
|
||||
149 [label="Smart cast: R|<local>/a|"];
|
||||
150 [label="Function call: R|<local>/a|.<Inapplicable(UNSAFE_CALL): /A.foo>#()" style="filled" fillcolor=yellow];
|
||||
150 [label="Function call: R|<local>/a|.R|/A.foo<Inapplicable(UNSAFE_CALL): /A.foo>#|()" style="filled" fillcolor=yellow];
|
||||
151 [label="Exit block"];
|
||||
}
|
||||
152 [label="Exit when branch result"];
|
||||
@@ -389,7 +389,7 @@ digraph jumpFromRhsOfOperator_kt {
|
||||
}
|
||||
154 [label="Access variable R|<local>/a|"];
|
||||
155 [label="Smart cast: R|<local>/a|"];
|
||||
156 [label="Function call: R|<local>/a|.<Inapplicable(UNSAFE_CALL): /A.foo>#()" style="filled" fillcolor=yellow];
|
||||
156 [label="Function call: R|<local>/a|.R|/A.foo<Inapplicable(UNSAFE_CALL): /A.foo>#|()" style="filled" fillcolor=yellow];
|
||||
157 [label="Exit block"];
|
||||
}
|
||||
158 [label="Exit function test_7" style="filled" fillcolor=red];
|
||||
@@ -458,7 +458,7 @@ digraph jumpFromRhsOfOperator_kt {
|
||||
176 [label="Enter block"];
|
||||
177 [label="Access variable R|<local>/a|"];
|
||||
178 [label="Smart cast: R|<local>/a|"];
|
||||
179 [label="Function call: R|<local>/a|.<Inapplicable(UNSAFE_CALL): /A.foo>#()" style="filled" fillcolor=yellow];
|
||||
179 [label="Function call: R|<local>/a|.R|/A.foo<Inapplicable(UNSAFE_CALL): /A.foo>#|()" style="filled" fillcolor=yellow];
|
||||
180 [label="Exit block"];
|
||||
}
|
||||
181 [label="Exit when branch result"];
|
||||
@@ -466,7 +466,7 @@ digraph jumpFromRhsOfOperator_kt {
|
||||
}
|
||||
183 [label="Access variable R|<local>/a|"];
|
||||
184 [label="Smart cast: R|<local>/a|"];
|
||||
185 [label="Function call: R|<local>/a|.<Inapplicable(UNSAFE_CALL): /A.foo>#()" style="filled" fillcolor=yellow];
|
||||
185 [label="Function call: R|<local>/a|.R|/A.foo<Inapplicable(UNSAFE_CALL): /A.foo>#|()" style="filled" fillcolor=yellow];
|
||||
186 [label="Exit block"];
|
||||
}
|
||||
187 [label="Exit function test_8" style="filled" fillcolor=red];
|
||||
|
||||
Vendored
+6
-6
@@ -31,27 +31,27 @@ FILE: jumpFromRhsOfOperator.kt
|
||||
}
|
||||
public final fun test_5(a: R|A?|): R|kotlin/Unit| {
|
||||
==(R|<local>/a|, Null(null)) || throw R|java/lang/Exception.Exception|()
|
||||
R|<local>/a|.<Inapplicable(UNSAFE_CALL): /A.foo>#()
|
||||
R|<local>/a|.R|/A.foo<Inapplicable(UNSAFE_CALL): /A.foo>#|()
|
||||
}
|
||||
public final fun teat_6(a: R|A?|): R|kotlin/Unit| {
|
||||
!=(R|<local>/a|, Null(null)) && throw R|java/lang/Exception.Exception|()
|
||||
R|<local>/a|.<Inapplicable(UNSAFE_CALL): /A.foo>#()
|
||||
R|<local>/a|.R|/A.foo<Inapplicable(UNSAFE_CALL): /A.foo>#|()
|
||||
}
|
||||
public final fun test_7(a: R|A?|): R|kotlin/Unit| {
|
||||
when () {
|
||||
==(R|<local>/a|, Null(null)) || throw R|java/lang/Exception.Exception|() -> {
|
||||
R|<local>/a|.<Inapplicable(UNSAFE_CALL): /A.foo>#()
|
||||
R|<local>/a|.R|/A.foo<Inapplicable(UNSAFE_CALL): /A.foo>#|()
|
||||
}
|
||||
}
|
||||
|
||||
R|<local>/a|.<Inapplicable(UNSAFE_CALL): /A.foo>#()
|
||||
R|<local>/a|.R|/A.foo<Inapplicable(UNSAFE_CALL): /A.foo>#|()
|
||||
}
|
||||
public final fun test_8(a: R|A?|): R|kotlin/Unit| {
|
||||
when () {
|
||||
!=(R|<local>/a|, Null(null)) && throw R|java/lang/Exception.Exception|() -> {
|
||||
R|<local>/a|.<Inapplicable(UNSAFE_CALL): /A.foo>#()
|
||||
R|<local>/a|.R|/A.foo<Inapplicable(UNSAFE_CALL): /A.foo>#|()
|
||||
}
|
||||
}
|
||||
|
||||
R|<local>/a|.<Inapplicable(UNSAFE_CALL): /A.foo>#()
|
||||
R|<local>/a|.R|/A.foo<Inapplicable(UNSAFE_CALL): /A.foo>#|()
|
||||
}
|
||||
|
||||
+17
-17
@@ -613,9 +613,9 @@ digraph boundSmartcastsInBranches_kt {
|
||||
230 [label="Smart cast: R|<local>/x|"];
|
||||
231 [label="Access variable R|kotlin/String.length|"];
|
||||
232 [label="Access variable R|<local>/y|"];
|
||||
233 [label="Access variable <Inapplicable(UNSAFE_CALL): kotlin/String.length>#"];
|
||||
233 [label="Access variable R|kotlin/String.length<Inapplicable(UNSAFE_CALL): kotlin/String.length>#|"];
|
||||
234 [label="Access variable R|<local>/z|"];
|
||||
235 [label="Access variable <Inapplicable(UNSAFE_CALL): kotlin/String.length>#"];
|
||||
235 [label="Access variable R|kotlin/String.length<Inapplicable(UNSAFE_CALL): kotlin/String.length>#|"];
|
||||
236 [label="Exit block"];
|
||||
}
|
||||
237 [label="Exit when branch result"];
|
||||
@@ -638,12 +638,12 @@ digraph boundSmartcastsInBranches_kt {
|
||||
color=blue
|
||||
247 [label="Enter block"];
|
||||
248 [label="Access variable R|<local>/x|"];
|
||||
249 [label="Access variable <Inapplicable(UNSAFE_CALL): kotlin/String.length>#"];
|
||||
249 [label="Access variable R|kotlin/String.length<Inapplicable(UNSAFE_CALL): kotlin/String.length>#|"];
|
||||
250 [label="Access variable R|<local>/y|"];
|
||||
251 [label="Smart cast: R|<local>/y|"];
|
||||
252 [label="Access variable R|kotlin/String.length|"];
|
||||
253 [label="Access variable R|<local>/z|"];
|
||||
254 [label="Access variable <Inapplicable(UNSAFE_CALL): kotlin/String.length>#"];
|
||||
254 [label="Access variable R|kotlin/String.length<Inapplicable(UNSAFE_CALL): kotlin/String.length>#|"];
|
||||
255 [label="Exit block"];
|
||||
}
|
||||
256 [label="Exit when branch result"];
|
||||
@@ -666,9 +666,9 @@ digraph boundSmartcastsInBranches_kt {
|
||||
color=blue
|
||||
266 [label="Enter block"];
|
||||
267 [label="Access variable R|<local>/x|"];
|
||||
268 [label="Access variable <Inapplicable(UNSAFE_CALL): kotlin/String.length>#"];
|
||||
268 [label="Access variable R|kotlin/String.length<Inapplicable(UNSAFE_CALL): kotlin/String.length>#|"];
|
||||
269 [label="Access variable R|<local>/y|"];
|
||||
270 [label="Access variable <Inapplicable(UNSAFE_CALL): kotlin/String.length>#"];
|
||||
270 [label="Access variable R|kotlin/String.length<Inapplicable(UNSAFE_CALL): kotlin/String.length>#|"];
|
||||
271 [label="Access variable R|<local>/z|"];
|
||||
272 [label="Smart cast: R|<local>/z|"];
|
||||
273 [label="Access variable R|kotlin/String.length|"];
|
||||
@@ -700,9 +700,9 @@ digraph boundSmartcastsInBranches_kt {
|
||||
290 [label="Access variable R|kotlin/String.length|"];
|
||||
291 [label="Access variable R|<local>/y|"];
|
||||
292 [label="Smart cast: R|<local>/y|"];
|
||||
293 [label="Access variable <Inapplicable(UNSAFE_CALL): kotlin/String.length>#"];
|
||||
293 [label="Access variable R|kotlin/String.length<Inapplicable(UNSAFE_CALL): kotlin/String.length>#|"];
|
||||
294 [label="Access variable R|<local>/z|"];
|
||||
295 [label="Access variable <Inapplicable(UNSAFE_CALL): kotlin/String.length>#"];
|
||||
295 [label="Access variable R|kotlin/String.length<Inapplicable(UNSAFE_CALL): kotlin/String.length>#|"];
|
||||
296 [label="Exit block"];
|
||||
}
|
||||
297 [label="Exit when branch result"];
|
||||
@@ -726,13 +726,13 @@ digraph boundSmartcastsInBranches_kt {
|
||||
color=blue
|
||||
308 [label="Enter block"];
|
||||
309 [label="Access variable R|<local>/x|"];
|
||||
310 [label="Access variable <Inapplicable(UNSAFE_CALL): kotlin/String.length>#"];
|
||||
310 [label="Access variable R|kotlin/String.length<Inapplicable(UNSAFE_CALL): kotlin/String.length>#|"];
|
||||
311 [label="Access variable R|<local>/y|"];
|
||||
312 [label="Smart cast: R|<local>/y|"];
|
||||
313 [label="Stub" style="filled" fillcolor=gray];
|
||||
314 [label="Access variable R|kotlin/String.length|" style="filled" fillcolor=gray];
|
||||
315 [label="Access variable R|<local>/z|" style="filled" fillcolor=gray];
|
||||
316 [label="Access variable <Inapplicable(UNSAFE_CALL): kotlin/String.length>#" style="filled" fillcolor=gray];
|
||||
316 [label="Access variable R|kotlin/String.length<Inapplicable(UNSAFE_CALL): kotlin/String.length>#|" style="filled" fillcolor=gray];
|
||||
317 [label="Exit block" style="filled" fillcolor=gray];
|
||||
}
|
||||
318 [label="Exit when branch result" style="filled" fillcolor=gray];
|
||||
@@ -755,10 +755,10 @@ digraph boundSmartcastsInBranches_kt {
|
||||
color=blue
|
||||
328 [label="Enter block"];
|
||||
329 [label="Access variable R|<local>/x|"];
|
||||
330 [label="Access variable <Inapplicable(UNSAFE_CALL): kotlin/String.length>#"];
|
||||
330 [label="Access variable R|kotlin/String.length<Inapplicable(UNSAFE_CALL): kotlin/String.length>#|"];
|
||||
331 [label="Access variable R|<local>/y|"];
|
||||
332 [label="Smart cast: R|<local>/y|"];
|
||||
333 [label="Access variable <Inapplicable(UNSAFE_CALL): kotlin/String.length>#"];
|
||||
333 [label="Access variable R|kotlin/String.length<Inapplicable(UNSAFE_CALL): kotlin/String.length>#|"];
|
||||
334 [label="Access variable R|<local>/z|"];
|
||||
335 [label="Smart cast: R|<local>/z|"];
|
||||
336 [label="Access variable R|kotlin/String.length|"];
|
||||
@@ -1027,7 +1027,7 @@ digraph boundSmartcastsInBranches_kt {
|
||||
426 [label="Access variable R|kotlin/String.length|"];
|
||||
427 [label="Access variable R|<local>/y|"];
|
||||
428 [label="Smart cast: R|<local>/y|"];
|
||||
429 [label="Access variable <Inapplicable(UNSAFE_CALL): kotlin/String.length>#"];
|
||||
429 [label="Access variable R|kotlin/String.length<Inapplicable(UNSAFE_CALL): kotlin/String.length>#|"];
|
||||
430 [label="Access variable R|<local>/z|"];
|
||||
431 [label="Smart cast: R|<local>/z|"];
|
||||
432 [label="Access variable R|kotlin/String.length|"];
|
||||
@@ -1054,13 +1054,13 @@ digraph boundSmartcastsInBranches_kt {
|
||||
color=blue
|
||||
445 [label="Enter block"];
|
||||
446 [label="Access variable R|<local>/x|"];
|
||||
447 [label="Access variable <Inapplicable(UNSAFE_CALL): kotlin/String.length>#"];
|
||||
447 [label="Access variable R|kotlin/String.length<Inapplicable(UNSAFE_CALL): kotlin/String.length>#|"];
|
||||
448 [label="Access variable R|<local>/y|"];
|
||||
449 [label="Smart cast: R|<local>/y|"];
|
||||
450 [label="Stub" style="filled" fillcolor=gray];
|
||||
451 [label="Access variable R|kotlin/String.length|" style="filled" fillcolor=gray];
|
||||
452 [label="Access variable R|<local>/z|" style="filled" fillcolor=gray];
|
||||
453 [label="Access variable <Inapplicable(UNSAFE_CALL): kotlin/String.length>#" style="filled" fillcolor=gray];
|
||||
453 [label="Access variable R|kotlin/String.length<Inapplicable(UNSAFE_CALL): kotlin/String.length>#|" style="filled" fillcolor=gray];
|
||||
454 [label="Exit block" style="filled" fillcolor=gray];
|
||||
}
|
||||
455 [label="Exit when branch result" style="filled" fillcolor=gray];
|
||||
@@ -1087,7 +1087,7 @@ digraph boundSmartcastsInBranches_kt {
|
||||
468 [label="Access variable R|kotlin/String.length|"];
|
||||
469 [label="Access variable R|<local>/y|"];
|
||||
470 [label="Smart cast: R|<local>/y|"];
|
||||
471 [label="Access variable <Inapplicable(UNSAFE_CALL): kotlin/String.length>#"];
|
||||
471 [label="Access variable R|kotlin/String.length<Inapplicable(UNSAFE_CALL): kotlin/String.length>#|"];
|
||||
472 [label="Access variable R|<local>/z|"];
|
||||
473 [label="Smart cast: R|<local>/z|"];
|
||||
474 [label="Access variable R|kotlin/String.length|"];
|
||||
@@ -1287,7 +1287,7 @@ digraph boundSmartcastsInBranches_kt {
|
||||
507 [label="Exit when"];
|
||||
}
|
||||
508 [label="Access variable R|<local>/b|"];
|
||||
509 [label="Access variable <Inapplicable(UNSAFE_CALL): kotlin/String.length>#"];
|
||||
509 [label="Access variable R|kotlin/String.length<Inapplicable(UNSAFE_CALL): kotlin/String.length>#|"];
|
||||
subgraph cluster_97 {
|
||||
color=blue
|
||||
510 [label="Enter when"];
|
||||
|
||||
+17
-17
@@ -110,23 +110,23 @@ FILE: boundSmartcastsInBranches.kt
|
||||
when () {
|
||||
!=(R|<local>/x|, Null(null)) -> {
|
||||
R|<local>/x|.R|kotlin/String.length|
|
||||
R|<local>/y|.<Inapplicable(UNSAFE_CALL): kotlin/String.length>#
|
||||
R|<local>/z|.<Inapplicable(UNSAFE_CALL): kotlin/String.length>#
|
||||
R|<local>/y|.R|kotlin/String.length<Inapplicable(UNSAFE_CALL): kotlin/String.length>#|
|
||||
R|<local>/z|.R|kotlin/String.length<Inapplicable(UNSAFE_CALL): kotlin/String.length>#|
|
||||
}
|
||||
}
|
||||
|
||||
when () {
|
||||
!=(R|<local>/y|, Null(null)) -> {
|
||||
R|<local>/x|.<Inapplicable(UNSAFE_CALL): kotlin/String.length>#
|
||||
R|<local>/x|.R|kotlin/String.length<Inapplicable(UNSAFE_CALL): kotlin/String.length>#|
|
||||
R|<local>/y|.R|kotlin/String.length|
|
||||
R|<local>/z|.<Inapplicable(UNSAFE_CALL): kotlin/String.length>#
|
||||
R|<local>/z|.R|kotlin/String.length<Inapplicable(UNSAFE_CALL): kotlin/String.length>#|
|
||||
}
|
||||
}
|
||||
|
||||
when () {
|
||||
!=(R|<local>/z|, Null(null)) -> {
|
||||
R|<local>/x|.<Inapplicable(UNSAFE_CALL): kotlin/String.length>#
|
||||
R|<local>/y|.<Inapplicable(UNSAFE_CALL): kotlin/String.length>#
|
||||
R|<local>/x|.R|kotlin/String.length<Inapplicable(UNSAFE_CALL): kotlin/String.length>#|
|
||||
R|<local>/y|.R|kotlin/String.length<Inapplicable(UNSAFE_CALL): kotlin/String.length>#|
|
||||
R|<local>/z|.R|kotlin/String.length|
|
||||
}
|
||||
}
|
||||
@@ -135,23 +135,23 @@ FILE: boundSmartcastsInBranches.kt
|
||||
when () {
|
||||
!=(R|<local>/x|, Null(null)) -> {
|
||||
R|<local>/x|.R|kotlin/String.length|
|
||||
R|<local>/y|.<Inapplicable(UNSAFE_CALL): kotlin/String.length>#
|
||||
R|<local>/z|.<Inapplicable(UNSAFE_CALL): kotlin/String.length>#
|
||||
R|<local>/y|.R|kotlin/String.length<Inapplicable(UNSAFE_CALL): kotlin/String.length>#|
|
||||
R|<local>/z|.R|kotlin/String.length<Inapplicable(UNSAFE_CALL): kotlin/String.length>#|
|
||||
}
|
||||
}
|
||||
|
||||
when () {
|
||||
!=(R|<local>/y|, Null(null)) -> {
|
||||
R|<local>/x|.<Inapplicable(UNSAFE_CALL): kotlin/String.length>#
|
||||
R|<local>/x|.R|kotlin/String.length<Inapplicable(UNSAFE_CALL): kotlin/String.length>#|
|
||||
R|<local>/y|.R|kotlin/String.length|
|
||||
R|<local>/z|.<Inapplicable(UNSAFE_CALL): kotlin/String.length>#
|
||||
R|<local>/z|.R|kotlin/String.length<Inapplicable(UNSAFE_CALL): kotlin/String.length>#|
|
||||
}
|
||||
}
|
||||
|
||||
when () {
|
||||
!=(R|<local>/z|, Null(null)) -> {
|
||||
R|<local>/x|.<Inapplicable(UNSAFE_CALL): kotlin/String.length>#
|
||||
R|<local>/y|.<Inapplicable(UNSAFE_CALL): kotlin/String.length>#
|
||||
R|<local>/x|.R|kotlin/String.length<Inapplicable(UNSAFE_CALL): kotlin/String.length>#|
|
||||
R|<local>/y|.R|kotlin/String.length<Inapplicable(UNSAFE_CALL): kotlin/String.length>#|
|
||||
R|<local>/z|.R|kotlin/String.length|
|
||||
}
|
||||
}
|
||||
@@ -189,23 +189,23 @@ FILE: boundSmartcastsInBranches.kt
|
||||
when () {
|
||||
!=(R|<local>/x|, Null(null)) -> {
|
||||
R|<local>/x|.R|kotlin/String.length|
|
||||
R|<local>/y|.<Inapplicable(UNSAFE_CALL): kotlin/String.length>#
|
||||
R|<local>/y|.R|kotlin/String.length<Inapplicable(UNSAFE_CALL): kotlin/String.length>#|
|
||||
R|<local>/z|.R|kotlin/String.length|
|
||||
}
|
||||
}
|
||||
|
||||
when () {
|
||||
!=(R|<local>/y|, Null(null)) -> {
|
||||
R|<local>/x|.<Inapplicable(UNSAFE_CALL): kotlin/String.length>#
|
||||
R|<local>/x|.R|kotlin/String.length<Inapplicable(UNSAFE_CALL): kotlin/String.length>#|
|
||||
R|<local>/y|.R|kotlin/String.length|
|
||||
R|<local>/z|.<Inapplicable(UNSAFE_CALL): kotlin/String.length>#
|
||||
R|<local>/z|.R|kotlin/String.length<Inapplicable(UNSAFE_CALL): kotlin/String.length>#|
|
||||
}
|
||||
}
|
||||
|
||||
when () {
|
||||
!=(R|<local>/z|, Null(null)) -> {
|
||||
R|<local>/x|.R|kotlin/String.length|
|
||||
R|<local>/y|.<Inapplicable(UNSAFE_CALL): kotlin/String.length>#
|
||||
R|<local>/y|.R|kotlin/String.length<Inapplicable(UNSAFE_CALL): kotlin/String.length>#|
|
||||
R|<local>/z|.R|kotlin/String.length|
|
||||
}
|
||||
}
|
||||
@@ -223,7 +223,7 @@ FILE: boundSmartcastsInBranches.kt
|
||||
}
|
||||
}
|
||||
|
||||
R|<local>/b|.<Inapplicable(UNSAFE_CALL): kotlin/String.length>#
|
||||
R|<local>/b|.R|kotlin/String.length<Inapplicable(UNSAFE_CALL): kotlin/String.length>#|
|
||||
when () {
|
||||
!=(R|<local>/a|, Null(null)) -> {
|
||||
R|<local>/b|.R|kotlin/String.length|
|
||||
|
||||
+4
-4
@@ -140,9 +140,9 @@ digraph equalsAndIdentity_kt {
|
||||
color=blue
|
||||
52 [label="Enter block"];
|
||||
53 [label="Access variable R|<local>/x|"];
|
||||
54 [label="Function call: R|<local>/x|.<Inapplicable(UNSAFE_CALL): /A.foo>#()" style="filled" fillcolor=yellow];
|
||||
54 [label="Function call: R|<local>/x|.R|/A.foo<Inapplicable(UNSAFE_CALL): /A.foo>#|()" style="filled" fillcolor=yellow];
|
||||
55 [label="Access variable R|<local>/y|"];
|
||||
56 [label="Function call: R|<local>/y|.<Inapplicable(UNSAFE_CALL): /A.foo>#()" style="filled" fillcolor=yellow];
|
||||
56 [label="Function call: R|<local>/y|.R|/A.foo<Inapplicable(UNSAFE_CALL): /A.foo>#|()" style="filled" fillcolor=yellow];
|
||||
57 [label="Exit block"];
|
||||
}
|
||||
58 [label="Exit when branch result"];
|
||||
@@ -165,9 +165,9 @@ digraph equalsAndIdentity_kt {
|
||||
color=blue
|
||||
68 [label="Enter block"];
|
||||
69 [label="Access variable R|<local>/x|"];
|
||||
70 [label="Function call: R|<local>/x|.<Inapplicable(UNSAFE_CALL): /A.foo>#()" style="filled" fillcolor=yellow];
|
||||
70 [label="Function call: R|<local>/x|.R|/A.foo<Inapplicable(UNSAFE_CALL): /A.foo>#|()" style="filled" fillcolor=yellow];
|
||||
71 [label="Access variable R|<local>/y|"];
|
||||
72 [label="Function call: R|<local>/y|.<Inapplicable(UNSAFE_CALL): /A.foo>#()" style="filled" fillcolor=yellow];
|
||||
72 [label="Function call: R|<local>/y|.R|/A.foo<Inapplicable(UNSAFE_CALL): /A.foo>#|()" style="filled" fillcolor=yellow];
|
||||
73 [label="Exit block"];
|
||||
}
|
||||
74 [label="Exit when branch result"];
|
||||
|
||||
+4
-4
@@ -22,15 +22,15 @@ FILE: equalsAndIdentity.kt
|
||||
public final fun test_2(x: R|A?|, y: R|A?|): R|kotlin/Unit| {
|
||||
when () {
|
||||
==(R|<local>/x|, R|<local>/y|) -> {
|
||||
R|<local>/x|.<Inapplicable(UNSAFE_CALL): /A.foo>#()
|
||||
R|<local>/y|.<Inapplicable(UNSAFE_CALL): /A.foo>#()
|
||||
R|<local>/x|.R|/A.foo<Inapplicable(UNSAFE_CALL): /A.foo>#|()
|
||||
R|<local>/y|.R|/A.foo<Inapplicable(UNSAFE_CALL): /A.foo>#|()
|
||||
}
|
||||
}
|
||||
|
||||
when () {
|
||||
===(R|<local>/x|, R|<local>/y|) -> {
|
||||
R|<local>/x|.<Inapplicable(UNSAFE_CALL): /A.foo>#()
|
||||
R|<local>/y|.<Inapplicable(UNSAFE_CALL): /A.foo>#()
|
||||
R|<local>/x|.R|/A.foo<Inapplicable(UNSAFE_CALL): /A.foo>#|()
|
||||
R|<local>/y|.R|/A.foo<Inapplicable(UNSAFE_CALL): /A.foo>#|()
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -240,7 +240,7 @@ digraph nullability_kt {
|
||||
76 [label="Enter block"];
|
||||
77 [label="Access variable R|<local>/x|"];
|
||||
78 [label="Smart cast: R|<local>/x|"];
|
||||
79 [label="Function call: R|<local>/x|.<Inapplicable(UNSAFE_CALL): /A.foo>#()" style="filled" fillcolor=yellow];
|
||||
79 [label="Function call: R|<local>/x|.R|/A.foo<Inapplicable(UNSAFE_CALL): /A.foo>#|()" style="filled" fillcolor=yellow];
|
||||
80 [label="Exit block"];
|
||||
}
|
||||
81 [label="Exit when branch result"];
|
||||
@@ -257,7 +257,7 @@ digraph nullability_kt {
|
||||
89 [label="Exit when"];
|
||||
}
|
||||
90 [label="Access variable R|<local>/x|"];
|
||||
91 [label="Function call: R|<local>/x|.<Inapplicable(UNSAFE_CALL): /A.foo>#()" style="filled" fillcolor=yellow];
|
||||
91 [label="Function call: R|<local>/x|.R|/A.foo<Inapplicable(UNSAFE_CALL): /A.foo>#|()" style="filled" fillcolor=yellow];
|
||||
92 [label="Exit block"];
|
||||
}
|
||||
93 [label="Exit function test_1" style="filled" fillcolor=red];
|
||||
@@ -329,14 +329,14 @@ digraph nullability_kt {
|
||||
112 [label="Enter block"];
|
||||
113 [label="Access variable R|<local>/x|"];
|
||||
114 [label="Smart cast: R|<local>/x|"];
|
||||
115 [label="Function call: R|<local>/x|.<Inapplicable(UNSAFE_CALL): /A.foo>#()" style="filled" fillcolor=yellow];
|
||||
115 [label="Function call: R|<local>/x|.R|/A.foo<Inapplicable(UNSAFE_CALL): /A.foo>#|()" style="filled" fillcolor=yellow];
|
||||
116 [label="Exit block"];
|
||||
}
|
||||
117 [label="Exit when branch result"];
|
||||
118 [label="Exit when"];
|
||||
}
|
||||
119 [label="Access variable R|<local>/x|"];
|
||||
120 [label="Function call: R|<local>/x|.<Inapplicable(UNSAFE_CALL): /A.foo>#()" style="filled" fillcolor=yellow];
|
||||
120 [label="Function call: R|<local>/x|.R|/A.foo<Inapplicable(UNSAFE_CALL): /A.foo>#|()" style="filled" fillcolor=yellow];
|
||||
121 [label="Exit block"];
|
||||
}
|
||||
122 [label="Exit function test_2" style="filled" fillcolor=red];
|
||||
@@ -508,13 +508,13 @@ digraph nullability_kt {
|
||||
186 [label="Smart cast: R|<local>/q|"];
|
||||
187 [label="Access variable R|/Q.data|"];
|
||||
188 [label="Smart cast: R|<local>/q|.R|/Q.data|"];
|
||||
189 [label="Access variable <Inapplicable(UNSTABLE_SMARTCAST): /MyData.s>#"];
|
||||
189 [label="Access variable R|/MyData.s<Inapplicable(UNSTABLE_SMARTCAST): /MyData.s>#|"];
|
||||
190 [label="Access variable R|<local>/q|"];
|
||||
191 [label="Smart cast: R|<local>/q|"];
|
||||
192 [label="Access variable R|/Q.data|"];
|
||||
193 [label="Smart cast: R|<local>/q|.R|/Q.data|"];
|
||||
194 [label="Access variable <Inapplicable(UNSTABLE_SMARTCAST): /MyData.s>#"];
|
||||
195 [label="Function call: R|<local>/q|.R|/Q.data|.<Inapplicable(UNSTABLE_SMARTCAST): /MyData.s>#.R|kotlin/Int.inc|()" style="filled" fillcolor=yellow];
|
||||
194 [label="Access variable R|/MyData.s<Inapplicable(UNSTABLE_SMARTCAST): /MyData.s>#|"];
|
||||
195 [label="Function call: R|<local>/q|.R|/Q.data|.R|/MyData.s<Inapplicable(UNSTABLE_SMARTCAST): /MyData.s>#|.R|kotlin/Int.inc|()" style="filled" fillcolor=yellow];
|
||||
196 [label="Exit block"];
|
||||
}
|
||||
197 [label="Exit when branch result"];
|
||||
@@ -594,13 +594,13 @@ digraph nullability_kt {
|
||||
224 [label="Smart cast: R|<local>/q|"];
|
||||
225 [label="Access variable R|/Q.data|"];
|
||||
226 [label="Smart cast: R|<local>/q|.R|/Q.data|"];
|
||||
227 [label="Access variable <Inapplicable(UNSTABLE_SMARTCAST): /MyData.s>#"];
|
||||
227 [label="Access variable R|/MyData.s<Inapplicable(UNSTABLE_SMARTCAST): /MyData.s>#|"];
|
||||
228 [label="Access variable R|<local>/q|"];
|
||||
229 [label="Smart cast: R|<local>/q|"];
|
||||
230 [label="Access variable R|/Q.data|"];
|
||||
231 [label="Smart cast: R|<local>/q|.R|/Q.data|"];
|
||||
232 [label="Access variable <Inapplicable(UNSTABLE_SMARTCAST): /MyData.s>#"];
|
||||
233 [label="Function call: R|<local>/q|.R|/Q.data|.<Inapplicable(UNSTABLE_SMARTCAST): /MyData.s>#.R|kotlin/Int.inc|()" style="filled" fillcolor=yellow];
|
||||
232 [label="Access variable R|/MyData.s<Inapplicable(UNSTABLE_SMARTCAST): /MyData.s>#|"];
|
||||
233 [label="Function call: R|<local>/q|.R|/Q.data|.R|/MyData.s<Inapplicable(UNSTABLE_SMARTCAST): /MyData.s>#|.R|kotlin/Int.inc|()" style="filled" fillcolor=yellow];
|
||||
234 [label="Exit block"];
|
||||
}
|
||||
235 [label="Exit function test_6" style="filled" fillcolor=red];
|
||||
@@ -678,12 +678,12 @@ digraph nullability_kt {
|
||||
259 [label="Access variable R|<local>/q|"];
|
||||
260 [label="Smart cast: R|<local>/q|"];
|
||||
261 [label="Function call: R|<local>/q|.R|/Q.fdata|()" style="filled" fillcolor=yellow];
|
||||
262 [label="Function call: R|<local>/q|.R|/Q.fdata|().<Inapplicable(UNSAFE_CALL): /MyData.fs>#()" style="filled" fillcolor=yellow];
|
||||
262 [label="Function call: R|<local>/q|.R|/Q.fdata|().R|/MyData.fs<Inapplicable(UNSAFE_CALL): /MyData.fs>#|()" style="filled" fillcolor=yellow];
|
||||
263 [label="Access variable R|<local>/q|"];
|
||||
264 [label="Smart cast: R|<local>/q|"];
|
||||
265 [label="Function call: R|<local>/q|.R|/Q.fdata|()" style="filled" fillcolor=yellow];
|
||||
266 [label="Function call: R|<local>/q|.R|/Q.fdata|().<Inapplicable(UNSAFE_CALL): /MyData.fs>#()" style="filled" fillcolor=yellow];
|
||||
267 [label="Function call: R|<local>/q|.R|/Q.fdata|().<Inapplicable(UNSAFE_CALL): /MyData.fs>#().R|kotlin/Int.inc|()" style="filled" fillcolor=yellow];
|
||||
266 [label="Function call: R|<local>/q|.R|/Q.fdata|().R|/MyData.fs<Inapplicable(UNSAFE_CALL): /MyData.fs>#|()" style="filled" fillcolor=yellow];
|
||||
267 [label="Function call: R|<local>/q|.R|/Q.fdata|().R|/MyData.fs<Inapplicable(UNSAFE_CALL): /MyData.fs>#|().R|kotlin/Int.inc|()" style="filled" fillcolor=yellow];
|
||||
268 [label="Exit block"];
|
||||
}
|
||||
269 [label="Exit when branch result"];
|
||||
@@ -814,7 +814,7 @@ digraph nullability_kt {
|
||||
308 [label="Exit when"];
|
||||
}
|
||||
309 [label="Access variable R|<local>/b|"];
|
||||
310 [label="Function call: R|<local>/b|.<Inapplicable(UNSAFE_CALL): kotlin/Int.inc>#()" style="filled" fillcolor=yellow];
|
||||
310 [label="Function call: R|<local>/b|.R|kotlin/Int.inc<Inapplicable(UNSAFE_CALL): kotlin/Int.inc>#|()" style="filled" fillcolor=yellow];
|
||||
subgraph cluster_66 {
|
||||
color=blue
|
||||
311 [label="Enter when"];
|
||||
@@ -840,7 +840,7 @@ digraph nullability_kt {
|
||||
325 [label="Exit when"];
|
||||
}
|
||||
326 [label="Access variable R|<local>/b|"];
|
||||
327 [label="Function call: R|<local>/b|.<Inapplicable(UNSAFE_CALL): kotlin/Int.inc>#()" style="filled" fillcolor=yellow];
|
||||
327 [label="Function call: R|<local>/b|.R|kotlin/Int.inc<Inapplicable(UNSAFE_CALL): kotlin/Int.inc>#|()" style="filled" fillcolor=yellow];
|
||||
subgraph cluster_69 {
|
||||
color=blue
|
||||
328 [label="Enter when"];
|
||||
@@ -866,7 +866,7 @@ digraph nullability_kt {
|
||||
342 [label="Exit when"];
|
||||
}
|
||||
343 [label="Access variable R|<local>/b|"];
|
||||
344 [label="Function call: R|<local>/b|.<Inapplicable(UNSAFE_CALL): kotlin/Int.inc>#()" style="filled" fillcolor=yellow];
|
||||
344 [label="Function call: R|<local>/b|.R|kotlin/Int.inc<Inapplicable(UNSAFE_CALL): kotlin/Int.inc>#|()" style="filled" fillcolor=yellow];
|
||||
subgraph cluster_72 {
|
||||
color=blue
|
||||
345 [label="Enter when"];
|
||||
@@ -892,7 +892,7 @@ digraph nullability_kt {
|
||||
359 [label="Exit when"];
|
||||
}
|
||||
360 [label="Access variable R|<local>/b|"];
|
||||
361 [label="Function call: R|<local>/b|.<Inapplicable(UNSAFE_CALL): kotlin/Int.inc>#()" style="filled" fillcolor=yellow];
|
||||
361 [label="Function call: R|<local>/b|.R|kotlin/Int.inc<Inapplicable(UNSAFE_CALL): kotlin/Int.inc>#|()" style="filled" fillcolor=yellow];
|
||||
362 [label="Exit block"];
|
||||
}
|
||||
363 [label="Exit function test_9" style="filled" fillcolor=red];
|
||||
@@ -992,14 +992,14 @@ digraph nullability_kt {
|
||||
color=blue
|
||||
374 [label="Enter block"];
|
||||
375 [label="Access variable R|<local>/b|"];
|
||||
376 [label="Function call: R|<local>/b|.<Inapplicable(UNSAFE_CALL): kotlin/Int.inc>#()" style="filled" fillcolor=yellow];
|
||||
376 [label="Function call: R|<local>/b|.R|kotlin/Int.inc<Inapplicable(UNSAFE_CALL): kotlin/Int.inc>#|()" style="filled" fillcolor=yellow];
|
||||
377 [label="Exit block"];
|
||||
}
|
||||
378 [label="Exit when branch result"];
|
||||
379 [label="Exit when"];
|
||||
}
|
||||
380 [label="Access variable R|<local>/b|"];
|
||||
381 [label="Function call: R|<local>/b|.<Inapplicable(UNSAFE_CALL): kotlin/Int.inc>#()" style="filled" fillcolor=yellow];
|
||||
381 [label="Function call: R|<local>/b|.R|kotlin/Int.inc<Inapplicable(UNSAFE_CALL): kotlin/Int.inc>#|()" style="filled" fillcolor=yellow];
|
||||
subgraph cluster_80 {
|
||||
color=blue
|
||||
382 [label="Enter when"];
|
||||
@@ -1017,14 +1017,14 @@ digraph nullability_kt {
|
||||
color=blue
|
||||
390 [label="Enter block"];
|
||||
391 [label="Access variable R|<local>/b|"];
|
||||
392 [label="Function call: R|<local>/b|.<Inapplicable(UNSAFE_CALL): kotlin/Int.inc>#()" style="filled" fillcolor=yellow];
|
||||
392 [label="Function call: R|<local>/b|.R|kotlin/Int.inc<Inapplicable(UNSAFE_CALL): kotlin/Int.inc>#|()" style="filled" fillcolor=yellow];
|
||||
393 [label="Exit block"];
|
||||
}
|
||||
394 [label="Exit when branch result"];
|
||||
395 [label="Exit when"];
|
||||
}
|
||||
396 [label="Access variable R|<local>/b|"];
|
||||
397 [label="Function call: R|<local>/b|.<Inapplicable(UNSAFE_CALL): kotlin/Int.inc>#()" style="filled" fillcolor=yellow];
|
||||
397 [label="Function call: R|<local>/b|.R|kotlin/Int.inc<Inapplicable(UNSAFE_CALL): kotlin/Int.inc>#|()" style="filled" fillcolor=yellow];
|
||||
subgraph cluster_83 {
|
||||
color=blue
|
||||
398 [label="Enter when"];
|
||||
@@ -1042,14 +1042,14 @@ digraph nullability_kt {
|
||||
color=blue
|
||||
406 [label="Enter block"];
|
||||
407 [label="Access variable R|<local>/b|"];
|
||||
408 [label="Function call: R|<local>/b|.<Inapplicable(UNSAFE_CALL): kotlin/Int.inc>#()" style="filled" fillcolor=yellow];
|
||||
408 [label="Function call: R|<local>/b|.R|kotlin/Int.inc<Inapplicable(UNSAFE_CALL): kotlin/Int.inc>#|()" style="filled" fillcolor=yellow];
|
||||
409 [label="Exit block"];
|
||||
}
|
||||
410 [label="Exit when branch result"];
|
||||
411 [label="Exit when"];
|
||||
}
|
||||
412 [label="Access variable R|<local>/b|"];
|
||||
413 [label="Function call: R|<local>/b|.<Inapplicable(UNSAFE_CALL): kotlin/Int.inc>#()" style="filled" fillcolor=yellow];
|
||||
413 [label="Function call: R|<local>/b|.R|kotlin/Int.inc<Inapplicable(UNSAFE_CALL): kotlin/Int.inc>#|()" style="filled" fillcolor=yellow];
|
||||
subgraph cluster_86 {
|
||||
color=blue
|
||||
414 [label="Enter when"];
|
||||
@@ -1067,14 +1067,14 @@ digraph nullability_kt {
|
||||
color=blue
|
||||
422 [label="Enter block"];
|
||||
423 [label="Access variable R|<local>/b|"];
|
||||
424 [label="Function call: R|<local>/b|.<Inapplicable(UNSAFE_CALL): kotlin/Int.inc>#()" style="filled" fillcolor=yellow];
|
||||
424 [label="Function call: R|<local>/b|.R|kotlin/Int.inc<Inapplicable(UNSAFE_CALL): kotlin/Int.inc>#|()" style="filled" fillcolor=yellow];
|
||||
425 [label="Exit block"];
|
||||
}
|
||||
426 [label="Exit when branch result"];
|
||||
427 [label="Exit when"];
|
||||
}
|
||||
428 [label="Access variable R|<local>/b|"];
|
||||
429 [label="Function call: R|<local>/b|.<Inapplicable(UNSAFE_CALL): kotlin/Int.inc>#()" style="filled" fillcolor=yellow];
|
||||
429 [label="Function call: R|<local>/b|.R|kotlin/Int.inc<Inapplicable(UNSAFE_CALL): kotlin/Int.inc>#|()" style="filled" fillcolor=yellow];
|
||||
430 [label="Exit block"];
|
||||
}
|
||||
431 [label="Exit function test_10" style="filled" fillcolor=red];
|
||||
@@ -1197,11 +1197,11 @@ digraph nullability_kt {
|
||||
468 [label="Access variable R|/QImpl.data|"];
|
||||
469 [label="Access variable R|<local>/q2|"];
|
||||
470 [label="Access variable R|/QImpl.data|"];
|
||||
471 [label="Access variable <Inapplicable(UNSAFE_CALL): /MyData.s>#"];
|
||||
471 [label="Access variable R|/MyData.s<Inapplicable(UNSAFE_CALL): /MyData.s>#|"];
|
||||
472 [label="Access variable R|<local>/q2|"];
|
||||
473 [label="Access variable R|/QImpl.data|"];
|
||||
474 [label="Access variable <Inapplicable(UNSAFE_CALL): /MyData.s>#"];
|
||||
475 [label="Function call: R|<local>/q2|.R|/QImpl.data|.<Inapplicable(UNSAFE_CALL): /MyData.s>#.R|kotlin/Int.inc|()" style="filled" fillcolor=yellow];
|
||||
474 [label="Access variable R|/MyData.s<Inapplicable(UNSAFE_CALL): /MyData.s>#|"];
|
||||
475 [label="Function call: R|<local>/q2|.R|/QImpl.data|.R|/MyData.s<Inapplicable(UNSAFE_CALL): /MyData.s>#|.R|kotlin/Int.inc|()" style="filled" fillcolor=yellow];
|
||||
subgraph cluster_94 {
|
||||
color=blue
|
||||
476 [label="Enter when"];
|
||||
@@ -1352,13 +1352,13 @@ digraph nullability_kt {
|
||||
528 [label="Smart cast: R|<local>/q|"];
|
||||
529 [label="Access variable R|/QImplWithCustomGetter.data|"];
|
||||
530 [label="Smart cast: R|<local>/q|.R|/QImplWithCustomGetter.data|"];
|
||||
531 [label="Access variable <Inapplicable(UNSTABLE_SMARTCAST): /MyData.s>#"];
|
||||
531 [label="Access variable R|/MyData.s<Inapplicable(UNSTABLE_SMARTCAST): /MyData.s>#|"];
|
||||
532 [label="Access variable R|<local>/q|"];
|
||||
533 [label="Smart cast: R|<local>/q|"];
|
||||
534 [label="Access variable R|/QImplWithCustomGetter.data|"];
|
||||
535 [label="Smart cast: R|<local>/q|.R|/QImplWithCustomGetter.data|"];
|
||||
536 [label="Access variable <Inapplicable(UNSTABLE_SMARTCAST): /MyData.s>#"];
|
||||
537 [label="Function call: R|<local>/q|.R|/QImplWithCustomGetter.data|.<Inapplicable(UNSTABLE_SMARTCAST): /MyData.s>#.R|kotlin/Int.inc|()" style="filled" fillcolor=yellow];
|
||||
536 [label="Access variable R|/MyData.s<Inapplicable(UNSTABLE_SMARTCAST): /MyData.s>#|"];
|
||||
537 [label="Function call: R|<local>/q|.R|/QImplWithCustomGetter.data|.R|/MyData.s<Inapplicable(UNSTABLE_SMARTCAST): /MyData.s>#|.R|kotlin/Int.inc|()" style="filled" fillcolor=yellow];
|
||||
538 [label="Exit block"];
|
||||
}
|
||||
539 [label="Exit when branch result"];
|
||||
@@ -1447,13 +1447,13 @@ digraph nullability_kt {
|
||||
568 [label="Smart cast: R|<local>/q|"];
|
||||
569 [label="Access variable R|/QImplMutable.data|"];
|
||||
570 [label="Smart cast: R|<local>/q|.R|/QImplMutable.data|"];
|
||||
571 [label="Access variable <Inapplicable(UNSTABLE_SMARTCAST): /MyData.s>#"];
|
||||
571 [label="Access variable R|/MyData.s<Inapplicable(UNSTABLE_SMARTCAST): /MyData.s>#|"];
|
||||
572 [label="Access variable R|<local>/q|"];
|
||||
573 [label="Smart cast: R|<local>/q|"];
|
||||
574 [label="Access variable R|/QImplMutable.data|"];
|
||||
575 [label="Smart cast: R|<local>/q|.R|/QImplMutable.data|"];
|
||||
576 [label="Access variable <Inapplicable(UNSTABLE_SMARTCAST): /MyData.s>#"];
|
||||
577 [label="Function call: R|<local>/q|.R|/QImplMutable.data|.<Inapplicable(UNSTABLE_SMARTCAST): /MyData.s>#.R|kotlin/Int.inc|()" style="filled" fillcolor=yellow];
|
||||
576 [label="Access variable R|/MyData.s<Inapplicable(UNSTABLE_SMARTCAST): /MyData.s>#|"];
|
||||
577 [label="Function call: R|<local>/q|.R|/QImplMutable.data|.R|/MyData.s<Inapplicable(UNSTABLE_SMARTCAST): /MyData.s>#|.R|kotlin/Int.inc|()" style="filled" fillcolor=yellow];
|
||||
578 [label="Exit block"];
|
||||
}
|
||||
579 [label="Exit when branch result"];
|
||||
@@ -1529,7 +1529,7 @@ digraph nullability_kt {
|
||||
595 [label="Access variable R|<local>/q|"];
|
||||
596 [label="Access variable R|/Q.data|"];
|
||||
597 [label="Smart cast: R|<local>/q|.R|/Q.data|"];
|
||||
598 [label="Access variable <Inapplicable(UNSAFE_CALL): /MyData.s>#"];
|
||||
598 [label="Access variable R|/MyData.s<Inapplicable(UNSAFE_CALL): /MyData.s>#|"];
|
||||
599 [label="Exit block"];
|
||||
}
|
||||
600 [label="Exit when branch result"];
|
||||
|
||||
+29
-29
@@ -67,23 +67,23 @@ FILE: nullability.kt
|
||||
R|<local>/x|.R|/A.foo|()
|
||||
}
|
||||
else -> {
|
||||
R|<local>/x|.<Inapplicable(UNSAFE_CALL): /A.foo>#()
|
||||
R|<local>/x|.R|/A.foo<Inapplicable(UNSAFE_CALL): /A.foo>#|()
|
||||
}
|
||||
}
|
||||
|
||||
R|<local>/x|.<Inapplicable(UNSAFE_CALL): /A.foo>#()
|
||||
R|<local>/x|.R|/A.foo<Inapplicable(UNSAFE_CALL): /A.foo>#|()
|
||||
}
|
||||
public final fun test_2(x: R|A?|): R|kotlin/Unit| {
|
||||
when () {
|
||||
==(R|<local>/x|, Null(null)) -> {
|
||||
R|<local>/x|.<Inapplicable(UNSAFE_CALL): /A.foo>#()
|
||||
R|<local>/x|.R|/A.foo<Inapplicable(UNSAFE_CALL): /A.foo>#|()
|
||||
}
|
||||
else -> {
|
||||
R|<local>/x|.R|/A.foo|()
|
||||
}
|
||||
}
|
||||
|
||||
R|<local>/x|.<Inapplicable(UNSAFE_CALL): /A.foo>#()
|
||||
R|<local>/x|.R|/A.foo<Inapplicable(UNSAFE_CALL): /A.foo>#|()
|
||||
}
|
||||
public final fun test_3(x: R|A?|): R|kotlin/Unit| {
|
||||
R|<local>/x| ?: ^test_3 Unit
|
||||
@@ -102,8 +102,8 @@ FILE: nullability.kt
|
||||
when () {
|
||||
!=(R|<local>/q|?.{ $subj$.R|/Q.data| }?.{ $subj$.R|/MyData.s| }?.{ $subj$.R|kotlin/Int.inc|() }, Null(null)) -> {
|
||||
R|<local>/q|.R|/Q.data|
|
||||
R|<local>/q|.R|/Q.data|.<Inapplicable(UNSTABLE_SMARTCAST): /MyData.s>#
|
||||
R|<local>/q|.R|/Q.data|.<Inapplicable(UNSTABLE_SMARTCAST): /MyData.s>#.R|kotlin/Int.inc|()
|
||||
R|<local>/q|.R|/Q.data|.R|/MyData.s<Inapplicable(UNSTABLE_SMARTCAST): /MyData.s>#|
|
||||
R|<local>/q|.R|/Q.data|.R|/MyData.s<Inapplicable(UNSTABLE_SMARTCAST): /MyData.s>#|.R|kotlin/Int.inc|()
|
||||
}
|
||||
}
|
||||
|
||||
@@ -111,15 +111,15 @@ FILE: nullability.kt
|
||||
public final fun test_6(q: R|Q?|): R|kotlin/Unit| {
|
||||
R|<local>/q|?.{ $subj$.R|/Q.data| }?.{ $subj$.R|/MyData.s| }?.{ $subj$.R|kotlin/Int.inc|() } ?: ^test_6 Unit
|
||||
R|<local>/q|.R|/Q.data|
|
||||
R|<local>/q|.R|/Q.data|.<Inapplicable(UNSTABLE_SMARTCAST): /MyData.s>#
|
||||
R|<local>/q|.R|/Q.data|.<Inapplicable(UNSTABLE_SMARTCAST): /MyData.s>#.R|kotlin/Int.inc|()
|
||||
R|<local>/q|.R|/Q.data|.R|/MyData.s<Inapplicable(UNSTABLE_SMARTCAST): /MyData.s>#|
|
||||
R|<local>/q|.R|/Q.data|.R|/MyData.s<Inapplicable(UNSTABLE_SMARTCAST): /MyData.s>#|.R|kotlin/Int.inc|()
|
||||
}
|
||||
public final fun test_7(q: R|Q?|): R|kotlin/Unit| {
|
||||
when () {
|
||||
!=(R|<local>/q|?.{ $subj$.R|/Q.fdata|() }?.{ $subj$.R|/MyData.fs|() }?.{ $subj$.R|kotlin/Int.inc|() }, Null(null)) -> {
|
||||
R|<local>/q|.R|/Q.fdata|()
|
||||
R|<local>/q|.R|/Q.fdata|().<Inapplicable(UNSAFE_CALL): /MyData.fs>#()
|
||||
R|<local>/q|.R|/Q.fdata|().<Inapplicable(UNSAFE_CALL): /MyData.fs>#().R|kotlin/Int.inc|()
|
||||
R|<local>/q|.R|/Q.fdata|().R|/MyData.fs<Inapplicable(UNSAFE_CALL): /MyData.fs>#|()
|
||||
R|<local>/q|.R|/Q.fdata|().R|/MyData.fs<Inapplicable(UNSAFE_CALL): /MyData.fs>#|().R|kotlin/Int.inc|()
|
||||
}
|
||||
}
|
||||
|
||||
@@ -139,58 +139,58 @@ FILE: nullability.kt
|
||||
}
|
||||
}
|
||||
|
||||
R|<local>/b|.<Inapplicable(UNSAFE_CALL): kotlin/Int.inc>#()
|
||||
R|<local>/b|.R|kotlin/Int.inc<Inapplicable(UNSAFE_CALL): kotlin/Int.inc>#|()
|
||||
when () {
|
||||
===(R|<local>/a|, R|<local>/b|) -> {
|
||||
R|<local>/b|.R|kotlin/Int.inc|()
|
||||
}
|
||||
}
|
||||
|
||||
R|<local>/b|.<Inapplicable(UNSAFE_CALL): kotlin/Int.inc>#()
|
||||
R|<local>/b|.R|kotlin/Int.inc<Inapplicable(UNSAFE_CALL): kotlin/Int.inc>#|()
|
||||
when () {
|
||||
==(R|<local>/b|, R|<local>/a|) -> {
|
||||
R|<local>/b|.R|kotlin/Int.inc|()
|
||||
}
|
||||
}
|
||||
|
||||
R|<local>/b|.<Inapplicable(UNSAFE_CALL): kotlin/Int.inc>#()
|
||||
R|<local>/b|.R|kotlin/Int.inc<Inapplicable(UNSAFE_CALL): kotlin/Int.inc>#|()
|
||||
when () {
|
||||
===(R|<local>/b|, R|<local>/a|) -> {
|
||||
R|<local>/b|.R|kotlin/Int.inc|()
|
||||
}
|
||||
}
|
||||
|
||||
R|<local>/b|.<Inapplicable(UNSAFE_CALL): kotlin/Int.inc>#()
|
||||
R|<local>/b|.R|kotlin/Int.inc<Inapplicable(UNSAFE_CALL): kotlin/Int.inc>#|()
|
||||
}
|
||||
public final fun test_10(a: R|kotlin/Int?|, b: R|kotlin/Int?|): R|kotlin/Unit| {
|
||||
when () {
|
||||
==(R|<local>/a|, R|<local>/b|) -> {
|
||||
R|<local>/b|.<Inapplicable(UNSAFE_CALL): kotlin/Int.inc>#()
|
||||
R|<local>/b|.R|kotlin/Int.inc<Inapplicable(UNSAFE_CALL): kotlin/Int.inc>#|()
|
||||
}
|
||||
}
|
||||
|
||||
R|<local>/b|.<Inapplicable(UNSAFE_CALL): kotlin/Int.inc>#()
|
||||
R|<local>/b|.R|kotlin/Int.inc<Inapplicable(UNSAFE_CALL): kotlin/Int.inc>#|()
|
||||
when () {
|
||||
===(R|<local>/a|, R|<local>/b|) -> {
|
||||
R|<local>/b|.<Inapplicable(UNSAFE_CALL): kotlin/Int.inc>#()
|
||||
R|<local>/b|.R|kotlin/Int.inc<Inapplicable(UNSAFE_CALL): kotlin/Int.inc>#|()
|
||||
}
|
||||
}
|
||||
|
||||
R|<local>/b|.<Inapplicable(UNSAFE_CALL): kotlin/Int.inc>#()
|
||||
R|<local>/b|.R|kotlin/Int.inc<Inapplicable(UNSAFE_CALL): kotlin/Int.inc>#|()
|
||||
when () {
|
||||
==(R|<local>/b|, R|<local>/a|) -> {
|
||||
R|<local>/b|.<Inapplicable(UNSAFE_CALL): kotlin/Int.inc>#()
|
||||
R|<local>/b|.R|kotlin/Int.inc<Inapplicable(UNSAFE_CALL): kotlin/Int.inc>#|()
|
||||
}
|
||||
}
|
||||
|
||||
R|<local>/b|.<Inapplicable(UNSAFE_CALL): kotlin/Int.inc>#()
|
||||
R|<local>/b|.R|kotlin/Int.inc<Inapplicable(UNSAFE_CALL): kotlin/Int.inc>#|()
|
||||
when () {
|
||||
===(R|<local>/b|, R|<local>/a|) -> {
|
||||
R|<local>/b|.<Inapplicable(UNSAFE_CALL): kotlin/Int.inc>#()
|
||||
R|<local>/b|.R|kotlin/Int.inc<Inapplicable(UNSAFE_CALL): kotlin/Int.inc>#|()
|
||||
}
|
||||
}
|
||||
|
||||
R|<local>/b|.<Inapplicable(UNSAFE_CALL): kotlin/Int.inc>#()
|
||||
R|<local>/b|.R|kotlin/Int.inc<Inapplicable(UNSAFE_CALL): kotlin/Int.inc>#|()
|
||||
}
|
||||
public final fun test_11(q: R|QImpl?|, q2: R|QImpl|): R|kotlin/Unit| {
|
||||
when () {
|
||||
@@ -199,8 +199,8 @@ FILE: nullability.kt
|
||||
R|<local>/q|.R|/QImpl.data|.R|/MyData.s|
|
||||
R|<local>/q|.R|/QImpl.data|.R|/MyData.s|.R|kotlin/Int.inc|()
|
||||
R|<local>/q2|.R|/QImpl.data|
|
||||
R|<local>/q2|.R|/QImpl.data|.<Inapplicable(UNSAFE_CALL): /MyData.s>#
|
||||
R|<local>/q2|.R|/QImpl.data|.<Inapplicable(UNSAFE_CALL): /MyData.s>#.R|kotlin/Int.inc|()
|
||||
R|<local>/q2|.R|/QImpl.data|.R|/MyData.s<Inapplicable(UNSAFE_CALL): /MyData.s>#|
|
||||
R|<local>/q2|.R|/QImpl.data|.R|/MyData.s<Inapplicable(UNSAFE_CALL): /MyData.s>#|.R|kotlin/Int.inc|()
|
||||
when () {
|
||||
!=(R|<local>/q2|.R|/QImpl.data|, Null(null)) -> {
|
||||
R|<local>/q2|.R|/QImpl.data|.R|/MyData.s|
|
||||
@@ -216,8 +216,8 @@ FILE: nullability.kt
|
||||
when () {
|
||||
!=(R|<local>/q|?.{ $subj$.R|/QImplWithCustomGetter.data| }?.{ $subj$.R|/MyData.s| }?.{ $subj$.R|kotlin/Int.inc|() }, Null(null)) -> {
|
||||
R|<local>/q|.R|/QImplWithCustomGetter.data|
|
||||
R|<local>/q|.R|/QImplWithCustomGetter.data|.<Inapplicable(UNSTABLE_SMARTCAST): /MyData.s>#
|
||||
R|<local>/q|.R|/QImplWithCustomGetter.data|.<Inapplicable(UNSTABLE_SMARTCAST): /MyData.s>#.R|kotlin/Int.inc|()
|
||||
R|<local>/q|.R|/QImplWithCustomGetter.data|.R|/MyData.s<Inapplicable(UNSTABLE_SMARTCAST): /MyData.s>#|
|
||||
R|<local>/q|.R|/QImplWithCustomGetter.data|.R|/MyData.s<Inapplicable(UNSTABLE_SMARTCAST): /MyData.s>#|.R|kotlin/Int.inc|()
|
||||
}
|
||||
}
|
||||
|
||||
@@ -226,8 +226,8 @@ FILE: nullability.kt
|
||||
when () {
|
||||
!=(R|<local>/q|?.{ $subj$.R|/QImplMutable.data| }?.{ $subj$.R|/MyData.s| }?.{ $subj$.R|kotlin/Int.inc|() }, Null(null)) -> {
|
||||
R|<local>/q|.R|/QImplMutable.data|
|
||||
R|<local>/q|.R|/QImplMutable.data|.<Inapplicable(UNSTABLE_SMARTCAST): /MyData.s>#
|
||||
R|<local>/q|.R|/QImplMutable.data|.<Inapplicable(UNSTABLE_SMARTCAST): /MyData.s>#.R|kotlin/Int.inc|()
|
||||
R|<local>/q|.R|/QImplMutable.data|.R|/MyData.s<Inapplicable(UNSTABLE_SMARTCAST): /MyData.s>#|
|
||||
R|<local>/q|.R|/QImplMutable.data|.R|/MyData.s<Inapplicable(UNSTABLE_SMARTCAST): /MyData.s>#|.R|kotlin/Int.inc|()
|
||||
}
|
||||
}
|
||||
|
||||
@@ -235,7 +235,7 @@ FILE: nullability.kt
|
||||
public final fun test_14(q: R|Q|): R|kotlin/Unit| {
|
||||
when () {
|
||||
==(R|<local>/q|.R|/Q.data|, Null(null)) -> {
|
||||
R|<local>/q|.R|/Q.data|.<Inapplicable(UNSAFE_CALL): /MyData.s>#
|
||||
R|<local>/q|.R|/Q.data|.R|/MyData.s<Inapplicable(UNSAFE_CALL): /MyData.s>#|
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
+4
-4
@@ -4,7 +4,7 @@ FILE: orInWhenBranch.kt
|
||||
public final fun test_1(a: R|kotlin/Any?|): R|kotlin/Unit| {
|
||||
when (R|<local>/a|) {
|
||||
($subj$ is R|kotlin/String|) || ($subj$ is R|kotlin/Any|) -> {
|
||||
R|<local>/a|.<None of the following candidates is applicable because of receiver type mismatch: [/foo]>#()
|
||||
R|<local>/a|.R|/foo<None of the following candidates is applicable because of receiver type mismatch: [/foo]>#|()
|
||||
}
|
||||
}
|
||||
|
||||
@@ -12,7 +12,7 @@ FILE: orInWhenBranch.kt
|
||||
public final fun test_2(a: R|kotlin/Any?|): R|kotlin/Unit| {
|
||||
when () {
|
||||
(R|<local>/a| is R|kotlin/String|) || (R|<local>/a| is R|kotlin/Any|) -> {
|
||||
R|<local>/a|.<None of the following candidates is applicable because of receiver type mismatch: [/foo]>#()
|
||||
R|<local>/a|.R|/foo<None of the following candidates is applicable because of receiver type mismatch: [/foo]>#|()
|
||||
}
|
||||
}
|
||||
|
||||
@@ -20,7 +20,7 @@ FILE: orInWhenBranch.kt
|
||||
public final fun test_3(a: R|kotlin/Any?|, b: R|kotlin/Boolean|): R|kotlin/Unit| {
|
||||
when (R|<local>/a|) {
|
||||
($subj$ is R|kotlin/String|) || ==($subj$, R|<local>/b|) -> {
|
||||
R|<local>/a|.<None of the following candidates is applicable because of receiver type mismatch: [/foo]>#()
|
||||
R|<local>/a|.R|/foo<None of the following candidates is applicable because of receiver type mismatch: [/foo]>#|()
|
||||
}
|
||||
}
|
||||
|
||||
@@ -28,7 +28,7 @@ FILE: orInWhenBranch.kt
|
||||
public final fun test_4(a: R|kotlin/Any?|, b: R|kotlin/Boolean|): R|kotlin/Unit| {
|
||||
when () {
|
||||
(R|<local>/a| is R|kotlin/String|) || R|<local>/b| -> {
|
||||
R|<local>/a|.<None of the following candidates is applicable because of receiver type mismatch: [/foo]>#()
|
||||
R|<local>/a|.R|/foo<None of the following candidates is applicable because of receiver type mismatch: [/foo]>#|()
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Vendored
+4
-4
@@ -54,7 +54,7 @@ digraph safeCallAndEqualityToBool_kt {
|
||||
color=blue
|
||||
21 [label="Enter block"];
|
||||
22 [label="Access variable R|<local>/s|"];
|
||||
23 [label="Access variable <Inapplicable(UNSAFE_CALL): kotlin/String.length>#"];
|
||||
23 [label="Access variable R|kotlin/String.length<Inapplicable(UNSAFE_CALL): kotlin/String.length>#|"];
|
||||
24 [label="Exit block"];
|
||||
}
|
||||
25 [label="Exit when branch result"];
|
||||
@@ -133,7 +133,7 @@ digraph safeCallAndEqualityToBool_kt {
|
||||
color=blue
|
||||
50 [label="Enter block"];
|
||||
51 [label="Access variable R|<local>/s|"];
|
||||
52 [label="Access variable <Inapplicable(UNSAFE_CALL): kotlin/String.length>#"];
|
||||
52 [label="Access variable R|kotlin/String.length<Inapplicable(UNSAFE_CALL): kotlin/String.length>#|"];
|
||||
53 [label="Exit block"];
|
||||
}
|
||||
54 [label="Exit when branch result"];
|
||||
@@ -222,7 +222,7 @@ digraph safeCallAndEqualityToBool_kt {
|
||||
color=blue
|
||||
86 [label="Enter block"];
|
||||
87 [label="Access variable R|<local>/s|"];
|
||||
88 [label="Access variable <Inapplicable(UNSAFE_CALL): kotlin/String.length>#"];
|
||||
88 [label="Access variable R|kotlin/String.length<Inapplicable(UNSAFE_CALL): kotlin/String.length>#|"];
|
||||
89 [label="Exit block"];
|
||||
}
|
||||
90 [label="Exit when branch result"];
|
||||
@@ -301,7 +301,7 @@ digraph safeCallAndEqualityToBool_kt {
|
||||
color=blue
|
||||
115 [label="Enter block"];
|
||||
116 [label="Access variable R|<local>/s|"];
|
||||
117 [label="Access variable <Inapplicable(UNSAFE_CALL): kotlin/String.length>#"];
|
||||
117 [label="Access variable R|kotlin/String.length<Inapplicable(UNSAFE_CALL): kotlin/String.length>#|"];
|
||||
118 [label="Exit block"];
|
||||
}
|
||||
119 [label="Exit when branch result"];
|
||||
|
||||
Vendored
+4
-4
@@ -8,7 +8,7 @@ FILE: safeCallAndEqualityToBool.kt
|
||||
R|<local>/s|.R|kotlin/String.length|
|
||||
}
|
||||
else -> {
|
||||
R|<local>/s|.<Inapplicable(UNSAFE_CALL): kotlin/String.length>#
|
||||
R|<local>/s|.R|kotlin/String.length<Inapplicable(UNSAFE_CALL): kotlin/String.length>#|
|
||||
}
|
||||
}
|
||||
|
||||
@@ -19,7 +19,7 @@ FILE: safeCallAndEqualityToBool.kt
|
||||
R|<local>/s|.R|kotlin/String.length|
|
||||
}
|
||||
else -> {
|
||||
R|<local>/s|.<Inapplicable(UNSAFE_CALL): kotlin/String.length>#
|
||||
R|<local>/s|.R|kotlin/String.length<Inapplicable(UNSAFE_CALL): kotlin/String.length>#|
|
||||
}
|
||||
}
|
||||
|
||||
@@ -27,7 +27,7 @@ FILE: safeCallAndEqualityToBool.kt
|
||||
public final fun test_3(s: R|kotlin/String?|): R|kotlin/Unit| {
|
||||
when () {
|
||||
!=(R|<local>/s|?.{ $subj$.R|/check|() }, Boolean(true)) -> {
|
||||
R|<local>/s|.<Inapplicable(UNSAFE_CALL): kotlin/String.length>#
|
||||
R|<local>/s|.R|kotlin/String.length<Inapplicable(UNSAFE_CALL): kotlin/String.length>#|
|
||||
}
|
||||
else -> {
|
||||
R|<local>/s|.R|kotlin/String.length|
|
||||
@@ -38,7 +38,7 @@ FILE: safeCallAndEqualityToBool.kt
|
||||
public final fun test_4(s: R|kotlin/String?|): R|kotlin/Unit| {
|
||||
when () {
|
||||
!=(R|<local>/s|?.{ $subj$.R|/check|() }, Boolean(false)) -> {
|
||||
R|<local>/s|.<Inapplicable(UNSAFE_CALL): kotlin/String.length>#
|
||||
R|<local>/s|.R|kotlin/String.length<Inapplicable(UNSAFE_CALL): kotlin/String.length>#|
|
||||
}
|
||||
else -> {
|
||||
R|<local>/s|.R|kotlin/String.length|
|
||||
|
||||
+3
-3
@@ -54,7 +54,7 @@ digraph safeCalls_kt {
|
||||
20 [label="Function call: $subj$.R|/foo|(...)" style="filled" fillcolor=yellow];
|
||||
21 [label="Exit safe call"];
|
||||
22 [label="Access variable R|<local>/x|"];
|
||||
23 [label="Access variable <Inapplicable(UNSAFE_CALL): kotlin/String.length>#"];
|
||||
23 [label="Access variable R|kotlin/String.length<Inapplicable(UNSAFE_CALL): kotlin/String.length>#|"];
|
||||
24 [label="Exit block"];
|
||||
}
|
||||
25 [label="Exit function test" style="filled" fillcolor=red];
|
||||
@@ -218,7 +218,7 @@ digraph safeCalls_kt {
|
||||
83 [label="Exit safe call"];
|
||||
84 [label="Exit safe call"];
|
||||
85 [label="Access variable R|<local>/x|"];
|
||||
86 [label="Function call: R|<local>/x|.<Inapplicable(UNSAFE_CALL): /A.id>#()" style="filled" fillcolor=yellow];
|
||||
86 [label="Function call: R|<local>/x|.R|/A.id<Inapplicable(UNSAFE_CALL): /A.id>#|()" style="filled" fillcolor=yellow];
|
||||
87 [label="Exit block"];
|
||||
}
|
||||
88 [label="Exit function test_4" style="filled" fillcolor=red];
|
||||
@@ -282,7 +282,7 @@ digraph safeCalls_kt {
|
||||
106 [label="Exit safe call"];
|
||||
107 [label="Exit safe call"];
|
||||
108 [label="Access variable R|<local>/x|"];
|
||||
109 [label="Function call: R|<local>/x|.<Inapplicable(UNSAFE_CALL): /A.id>#()" style="filled" fillcolor=yellow];
|
||||
109 [label="Function call: R|<local>/x|.R|/A.id<Inapplicable(UNSAFE_CALL): /A.id>#|()" style="filled" fillcolor=yellow];
|
||||
110 [label="Exit block"];
|
||||
}
|
||||
111 [label="Exit function test_5" style="filled" fillcolor=red];
|
||||
|
||||
+3
-3
@@ -6,7 +6,7 @@ FILE: safeCalls.kt
|
||||
}
|
||||
public final fun test(x: R|kotlin/String?|): R|kotlin/Unit| {
|
||||
R|<local>/x|?.{ $subj$.R|/foo|(==(R|<local>/x|.R|kotlin/String.length|, Int(1))) }
|
||||
R|<local>/x|.<Inapplicable(UNSAFE_CALL): kotlin/String.length>#
|
||||
R|<local>/x|.R|kotlin/String.length<Inapplicable(UNSAFE_CALL): kotlin/String.length>#|
|
||||
}
|
||||
public abstract interface A : R|kotlin/Any| {
|
||||
public abstract fun bar(a: R|A|): R|kotlin/String|
|
||||
@@ -28,7 +28,7 @@ FILE: safeCalls.kt
|
||||
}
|
||||
public final fun test_4(x: R|A?|): R|kotlin/Unit| {
|
||||
R|<local>/x|?.{ $subj$.R|/A.id|() }?.{ $subj$.R|/A.bool|() }
|
||||
R|<local>/x|.<Inapplicable(UNSAFE_CALL): /A.id>#()
|
||||
R|<local>/x|.R|/A.id<Inapplicable(UNSAFE_CALL): /A.id>#|()
|
||||
}
|
||||
public final fun R|kotlin/Any?|.boo(b: R|kotlin/Boolean|): R|kotlin/Unit| {
|
||||
}
|
||||
@@ -37,5 +37,5 @@ FILE: safeCalls.kt
|
||||
^test_5 Unit
|
||||
}
|
||||
) }?.{ $subj$.R|/boo|(R|<local>/x|.R|/A.bool|()) }
|
||||
R|<local>/x|.<Inapplicable(UNSAFE_CALL): /A.id>#()
|
||||
R|<local>/x|.R|/A.id<Inapplicable(UNSAFE_CALL): /A.id>#|()
|
||||
}
|
||||
|
||||
+1
-1
@@ -31,7 +31,7 @@ FILE: unstableSmartCastOnSafeCallArgument.kt
|
||||
when () {
|
||||
!=(R|<local>/foo|.R|/Foo.bar|?.{ $subj$.R|/Bar.buz| }, Null(null)) -> {
|
||||
R|/takesNullable|(R|<local>/foo|.R|/Foo.bar|?.{ $subj$.R|/Bar.buz| })
|
||||
<Inapplicable(INAPPLICABLE): /takesNonNull>#(R|<local>/foo|.R|/Foo.bar|?.{ $subj$.R|/Bar.buz| })
|
||||
R|/takesNonNull<Inapplicable(INAPPLICABLE): /takesNonNull>#|(R|<local>/foo|.R|/Foo.bar|?.{ $subj$.R|/Bar.buz| })
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
compiler/fir/analysis-tests/testData/resolve/smartcasts/smartcastsFromEquals_differentModule.fir.txt
Vendored
+2
-2
@@ -47,7 +47,7 @@ FILE: module_main_smartcastsFromEquals_differentModule.kt
|
||||
public final fun testBase(x: R|Base<*>|, y: R|Base<kotlin/Int>|): R|kotlin/Unit| {
|
||||
when () {
|
||||
==(R|<local>/x|, R|<local>/y|) -> {
|
||||
<Inapplicable(INAPPLICABLE): /takeIntBase>#(R|<local>/x|)
|
||||
R|/takeIntBase<Inapplicable(INAPPLICABLE): /takeIntBase>#|(R|<local>/x|)
|
||||
}
|
||||
}
|
||||
|
||||
@@ -75,7 +75,7 @@ FILE: module_main_smartcastsFromEquals_differentModule.kt
|
||||
public final fun testFinalWithOverride(x: R|FinalWithOverride<*>|, y: R|FinalWithOverride<kotlin/Int>|): R|kotlin/Unit| {
|
||||
when () {
|
||||
==(R|<local>/x|, R|<local>/y|) -> {
|
||||
<Inapplicable(INAPPLICABLE): /takeIntFinalWithOverride>#(R|<local>/x|)
|
||||
R|/takeIntFinalWithOverride<Inapplicable(INAPPLICABLE): /takeIntFinalWithOverride>#|(R|<local>/x|)
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Vendored
+2
-2
@@ -44,7 +44,7 @@ FILE: smartcastsFromEquals_sameModule.kt
|
||||
public final fun testBase(x: R|Base<*>|, y: R|Base<kotlin/Int>|): R|kotlin/Unit| {
|
||||
when () {
|
||||
==(R|<local>/x|, R|<local>/y|) -> {
|
||||
<Inapplicable(INAPPLICABLE): /takeIntBase>#(R|<local>/x|)
|
||||
R|/takeIntBase<Inapplicable(INAPPLICABLE): /takeIntBase>#|(R|<local>/x|)
|
||||
}
|
||||
}
|
||||
|
||||
@@ -72,7 +72,7 @@ FILE: smartcastsFromEquals_sameModule.kt
|
||||
public final fun testFinalWithOverride(x: R|FinalWithOverride<*>|, y: R|FinalWithOverride<kotlin/Int>|): R|kotlin/Unit| {
|
||||
when () {
|
||||
==(R|<local>/x|, R|<local>/y|) -> {
|
||||
<Inapplicable(INAPPLICABLE): /takeIntFinalWithOverride>#(R|<local>/x|)
|
||||
R|/takeIntFinalWithOverride<Inapplicable(INAPPLICABLE): /takeIntFinalWithOverride>#|(R|<local>/x|)
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
+1
-1
@@ -78,7 +78,7 @@ digraph delayedAssignment_kt {
|
||||
33 [label="Exit when"];
|
||||
}
|
||||
34 [label="Access variable R|<local>/a|"];
|
||||
35 [label="Function call: R|<local>/a|.<Inapplicable(UNSAFE_CALL): /A.foo>#()" style="filled" fillcolor=yellow];
|
||||
35 [label="Function call: R|<local>/a|.R|/A.foo<Inapplicable(UNSAFE_CALL): /A.foo>#|()" style="filled" fillcolor=yellow];
|
||||
36 [label="Exit block"];
|
||||
}
|
||||
37 [label="Exit function test" style="filled" fillcolor=red];
|
||||
|
||||
Vendored
+1
-1
@@ -20,5 +20,5 @@ FILE: delayedAssignment.kt
|
||||
}
|
||||
}
|
||||
|
||||
R|<local>/a|.<Inapplicable(UNSAFE_CALL): /A.foo>#()
|
||||
R|<local>/a|.R|/A.foo<Inapplicable(UNSAFE_CALL): /A.foo>#|()
|
||||
}
|
||||
|
||||
Vendored
+1
-1
@@ -109,7 +109,7 @@ digraph smartcastAfterReassignment_kt {
|
||||
44 [label="Assignment: R|<local>/x|"];
|
||||
45 [label="Access variable R|<local>/x|"];
|
||||
46 [label="Smart cast: R|<local>/x|"];
|
||||
47 [label="Access variable <Inapplicable(UNSAFE_CALL): kotlin/String.length>#"];
|
||||
47 [label="Access variable R|kotlin/String.length<Inapplicable(UNSAFE_CALL): kotlin/String.length>#|"];
|
||||
48 [label="Exit block"];
|
||||
}
|
||||
49 [label="Exit function test_3" style="filled" fillcolor=red];
|
||||
|
||||
compiler/fir/analysis-tests/testData/resolve/smartcasts/variables/smartcastAfterReassignment.fir.txt
Vendored
+1
-1
@@ -19,5 +19,5 @@ FILE: smartcastAfterReassignment.kt
|
||||
R|<local>/x| = String()
|
||||
R|<local>/x|.R|kotlin/String.length|
|
||||
R|<local>/x| = Null(null)
|
||||
R|<local>/x|.<Inapplicable(UNSAFE_CALL): kotlin/String.length>#
|
||||
R|<local>/x|.R|kotlin/String.length<Inapplicable(UNSAFE_CALL): kotlin/String.length>#|
|
||||
}
|
||||
|
||||
@@ -2,5 +2,5 @@ FILE: singleError.kt
|
||||
public final fun foo(x: R|kotlin/String|): R|kotlin/Unit| {
|
||||
}
|
||||
@R|kotlin/Suppress|(names = vararg(String(ARGUMENT_TYPE_MISMATCH))) public final fun bar(): R|kotlin/Unit| {
|
||||
<Inapplicable(INAPPLICABLE): /foo>#(Int(10))
|
||||
R|/foo<Inapplicable(INAPPLICABLE): /foo>#|(Int(10))
|
||||
}
|
||||
|
||||
@@ -14,7 +14,7 @@ FILE: tryInference.kt
|
||||
R|/materialize|<R|A|>()
|
||||
}
|
||||
finally {
|
||||
<CS errors: /materialize>#<R|ERROR CLASS: Cannot infer argument for type parameter T|>()
|
||||
R|/materialize<CS errors: /materialize>#|<R|ERROR CLASS: Cannot infer argument for type parameter T|>()
|
||||
}
|
||||
)
|
||||
}
|
||||
|
||||
+1
-1
@@ -85,5 +85,5 @@ FILE: typeAliasWithTypeArguments.kt
|
||||
R|<local>/inv3|.R|SubstitutionOverride</Invariant.value: R|CapturedType(out A)|>|().R|/A.foo|()
|
||||
R|<local>/inv1|.R|SubstitutionOverride</Invariant.take: R|kotlin/Unit|>|(R|<local>/a|)
|
||||
R|<local>/inv2|.R|SubstitutionOverride</Invariant.take: R|kotlin/Unit|>|(R|<local>/a|)
|
||||
R|<local>/inv3|.<Inapplicable(INAPPLICABLE): /Invariant.take>#(R|<local>/a|)
|
||||
R|<local>/inv3|.R|SubstitutionOverride</Invariant.take: R|kotlin/Unit|><Inapplicable(INAPPLICABLE): /Invariant.take>#|(R|<local>/a|)
|
||||
}
|
||||
|
||||
+2
-2
@@ -21,8 +21,8 @@ FILE: singletonConstructors.kt
|
||||
super<R|kotlin/Any|>()
|
||||
}
|
||||
|
||||
private final val x: R|B| = <HIDDEN: /B.B is deprecated with DeprecationLevel.HIDDEN>#()
|
||||
private get(): R|B|
|
||||
private final val x: <ERROR TYPE REF: HIDDEN: /B.B is deprecated with DeprecationLevel.HIDDEN> = <HIDDEN: /B.B is deprecated with DeprecationLevel.HIDDEN>#()
|
||||
private get(): <ERROR TYPE REF: HIDDEN: /B.B is deprecated with DeprecationLevel.HIDDEN>
|
||||
|
||||
}
|
||||
public final class D : R|kotlin/Any| {
|
||||
|
||||
+1
-1
@@ -24,5 +24,5 @@ FILE: A.kt
|
||||
}
|
||||
FILE: main.kt
|
||||
public final fun test(b: R|B|): R|kotlin/String| {
|
||||
^test R|<local>/b|.<HIDDEN: /B.foo is invisible>#(String(hello))
|
||||
^test R|<local>/b|.R|/B.foo<HIDDEN: /B.foo is invisible>#|(String(hello))
|
||||
}
|
||||
|
||||
@@ -158,5 +158,5 @@ FILE: whenExpressionType.kt
|
||||
}
|
||||
}
|
||||
|
||||
lval x1: R|C| = <Inapplicable(INAPPLICABLE): /C.C>#(R|<local>/l1|)
|
||||
lval x1: R|C| = R|/C.C<Inapplicable(INAPPLICABLE): /C.C>#|(R|<local>/l1|)
|
||||
}
|
||||
|
||||
Vendored
+2
-2
@@ -53,10 +53,10 @@ FILE: main.kt
|
||||
R|/foo1|(Q|KotlinClass|::R|/KotlinClass.Companion.baz|)
|
||||
R|/foo2|(Q|KotlinClass|::R|/KotlinClass.baz|)
|
||||
<Ambiguity: foo3, [/foo3, /foo3]>#(Q|KotlinClass|::R|/KotlinClass.baz|)
|
||||
<Inapplicable(INAPPLICABLE): /foo1>#(Q|KotlinClass|::<Unresolved reference: bar>#)
|
||||
R|/foo1<Inapplicable(INAPPLICABLE): /foo1>#|(Q|KotlinClass|::<Unresolved reference: bar>#)
|
||||
R|/foo2|(Q|KotlinClass|::R|/JavaClass.bar|)
|
||||
R|/foo3|(Q|KotlinClass|::R|/JavaClass.bar|)
|
||||
R|/foo1|(Q|KotlinClass2|::R|/KotlinClass2.Companion.bar|)
|
||||
<Inapplicable(INAPPLICABLE): /foo2>#(Q|KotlinClass2|::<Unresolved reference: bar>#)
|
||||
R|/foo2<Inapplicable(INAPPLICABLE): /foo2>#|(Q|KotlinClass2|::<Unresolved reference: bar>#)
|
||||
R|/foo3|(Q|KotlinClass2|::R|/KotlinClass2.Companion.bar|)
|
||||
}
|
||||
|
||||
+1
-1
@@ -6,5 +6,5 @@ FILE: ambiguityWhenNoApplicableCallableReferenceCandidate.kt
|
||||
public final fun <T> bar(f: R|(T) -> kotlin/Unit|): R|kotlin/Unit| {
|
||||
}
|
||||
public final fun test(): R|kotlin/Unit| {
|
||||
<CS errors: /bar>#<R|ERROR CLASS: Cannot infer argument for type parameter T|>(::<Ambiguity: foo, [/foo, /foo]>#)
|
||||
R|/bar<CS errors: /bar>#|<R|ERROR CLASS: Cannot infer argument for type parameter T|>(::<Ambiguity: foo, [/foo, /foo]>#)
|
||||
}
|
||||
|
||||
+1
-1
@@ -30,7 +30,7 @@ FILE: chooseCallableReferenceDependingOnInferredReceiver.kt
|
||||
^bar R|kotlin/TODO|()
|
||||
}
|
||||
public final fun test(): R|kotlin/Unit| {
|
||||
<CS errors: /myWith>#<R|A|, R|ERROR CLASS: Cannot infer argument for type parameter R|>(R|/A.A|(), <L> = myWith@fun R|A|.<anonymous>(): <ERROR TYPE REF: Cannot infer argument for type parameter R> <inline=Inline, kind=UNKNOWN> {
|
||||
R|/myWith<CS errors: /myWith>#|<R|A|, R|ERROR CLASS: Cannot infer argument for type parameter R|>(R|/A.A|(), <L> = myWith@fun R|A|.<anonymous>(): <ERROR TYPE REF: Cannot infer argument for type parameter R> <inline=Inline, kind=UNKNOWN> {
|
||||
lval t1: R|A| = R|/bar|<R|A|>(::R|/A.foo|)
|
||||
lval t2: R|A| = R|/bar|<R|A|>(::R|/A.baz|)
|
||||
^ R|/myWith|<R|B|, R|ERROR CLASS: Cannot infer argument for type parameter R|>(R|/B.B|(), <L> = myWith@fun R|B|.<anonymous>(): <ERROR TYPE REF: Cannot infer argument for type parameter R> <inline=Inline, kind=UNKNOWN> {
|
||||
|
||||
+1
-1
@@ -21,5 +21,5 @@ FILE: eagerAndPostponedCallableReferences.kt
|
||||
lval a4: R|B| = R|/foo|<R|B|>(::R|/multiple|, ::R|/singleB|)
|
||||
lval a5: R|A| = R|/foo|<R|A|>(::R|/singleA|, ::R|/singleA|)
|
||||
lval a6: R|it(A & B)| = R|/foo|<R|it(A & B)|>(::R|/singleA|, ::R|/singleB|)
|
||||
<CS errors: /foo>#<R|ERROR CLASS: Cannot infer argument for type parameter T|>(::<Ambiguity: multiple, [/multiple, /multiple]>#, ::<Ambiguity: multiple, [/multiple, /multiple]>#)
|
||||
R|/foo<CS errors: /foo>#|<R|ERROR CLASS: Cannot infer argument for type parameter T|>(::<Ambiguity: multiple, [/multiple, /multiple]>#, ::<Ambiguity: multiple, [/multiple, /multiple]>#)
|
||||
}
|
||||
|
||||
+2
-2
@@ -10,6 +10,6 @@ FILE: resolveCallableReferencesAfterAllSimpleArguments.kt
|
||||
public final fun <T> baz(e: R|T|, f: R|(T) -> kotlin/Unit|): R|kotlin/Unit| {
|
||||
}
|
||||
public final fun test(a: R|A|, b: R|B|): R|kotlin/Unit| {
|
||||
<Inapplicable(INAPPLICABLE): /baz>#<R|A|>(R|<local>/a|, ::<Unresolved reference: fooB>#)
|
||||
<Inapplicable(INAPPLICABLE): /bar>#<R|A|>(::<Unresolved reference: fooB>#, R|<local>/a|)
|
||||
R|/baz<Inapplicable(INAPPLICABLE): /baz>#|<R|A|>(R|<local>/a|, ::<Unresolved reference: fooB>#)
|
||||
R|/bar<Inapplicable(INAPPLICABLE): /bar>#|<R|A|>(::<Unresolved reference: fooB>#, R|<local>/a|)
|
||||
}
|
||||
|
||||
Vendored
+1
-1
@@ -9,7 +9,7 @@ FILE: implicitTypes.kt
|
||||
^bar Int(1)
|
||||
}
|
||||
public final fun loop1(): R|(ERROR CLASS: Cannot infer argument for type parameter T) -> ERROR CLASS: Cannot infer argument for type parameter R| {
|
||||
^loop1 <Inapplicable(INAPPLICABLE): /use>#<R|ERROR CLASS: Cannot infer argument for type parameter T|, R|ERROR CLASS: Cannot infer argument for type parameter R|>(::<Unresolved reference: loop2>#)
|
||||
^loop1 R|/use<Inapplicable(INAPPLICABLE): /use>#|<R|ERROR CLASS: Cannot infer argument for type parameter T|, R|ERROR CLASS: Cannot infer argument for type parameter R|>(::<Unresolved reference: loop2>#)
|
||||
}
|
||||
public final fun loop2(): <ERROR TYPE REF: cycle> {
|
||||
^loop2 R|/loop1|()
|
||||
|
||||
+1
-1
@@ -10,7 +10,7 @@ FILE: notIsNullOrEmpty.kt
|
||||
public final fun test_2(s: R|kotlin/String?|): R|kotlin/Unit| {
|
||||
when () {
|
||||
R|<local>/s|.R|kotlin/text/isNullOrEmpty|() -> {
|
||||
R|<local>/s|.<Inapplicable(UNSAFE_CALL): kotlin/String.length>#
|
||||
R|<local>/s|.R|kotlin/String.length<Inapplicable(UNSAFE_CALL): kotlin/String.length>#|
|
||||
}
|
||||
else -> {
|
||||
R|<local>/s|.R|kotlin/String.length|
|
||||
|
||||
+1
-1
@@ -29,7 +29,7 @@ FILE: eqNotEq.kt
|
||||
R|<local>/x|.R|kotlin/String.length|
|
||||
}
|
||||
else -> {
|
||||
R|<local>/x|.<Inapplicable(UNSAFE_CALL): kotlin/String.length>#
|
||||
R|<local>/x|.R|kotlin/String.length<Inapplicable(UNSAFE_CALL): kotlin/String.length>#|
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
+1
-1
@@ -33,7 +33,7 @@ FILE: receivers.kt
|
||||
this@R|special/anonymous|.R|/myRequireNotNull|()
|
||||
}
|
||||
)
|
||||
R|<local>/x|.<Inapplicable(UNSAFE_CALL): /foo>#()
|
||||
R|<local>/x|.R|/foo<Inapplicable(UNSAFE_CALL): /foo>#|()
|
||||
}
|
||||
public final fun test_4(x: R|A?|): R|kotlin/Unit| {
|
||||
R|kotlin/with|<R|A?|, R|kotlin/Unit|>(R|<local>/x|, <L> = with@fun R|A?|.<anonymous>(): R|kotlin/Unit| <inline=Inline, kind=EXACTLY_ONCE> {
|
||||
|
||||
+1
-1
@@ -20,7 +20,7 @@ FILE: basic.kt
|
||||
^okOneLineFunction Int(10).R|kotlin/Int.plus|(Int(1))
|
||||
}
|
||||
public final fun errorOneLineFunction(): R|kotlin/String| {
|
||||
^errorOneLineFunction Int(10).<CS errors: kotlin/Int.plus>#(Int(1))
|
||||
^errorOneLineFunction Int(10).R|kotlin/Int.plus<CS errors: kotlin/Int.plus>#|(Int(1))
|
||||
}
|
||||
public final class A : R|kotlin/Any| {
|
||||
public constructor(): R|A| {
|
||||
|
||||
Vendored
+1
-1
@@ -7,7 +7,7 @@ FILE: User.kt
|
||||
}
|
||||
|
||||
public final fun foo(tree: R|BaseClass|): R|kotlin/Unit| {
|
||||
lval ui: R|kotlin/String!| = R|<local>/tree|.<HIDDEN: /BaseClass.ui is invisible>#
|
||||
lval ui: R|kotlin/String!| = R|<local>/tree|.R|/BaseClass.ui<HIDDEN: /BaseClass.ui is invisible>#|
|
||||
}
|
||||
|
||||
public final fun bar(): R|kotlin/Unit| {
|
||||
|
||||
+7
-7
@@ -6,18 +6,18 @@ FILE: k.kt
|
||||
super<R|kotlin/Any|>()
|
||||
}
|
||||
|
||||
public final val p1: R|kotlin/Int| = Q|j/JavaPackageLocal|.<HIDDEN: j/JavaPackageLocal.javaPPackage is invisible>#
|
||||
public final val p1: R|kotlin/Int| = Q|j/JavaPackageLocal|.R|j/JavaPackageLocal.javaPPackage<HIDDEN: j/JavaPackageLocal.javaPPackage is invisible>#|
|
||||
public get(): R|kotlin/Int|
|
||||
|
||||
public final val p2: R|kotlin/Int| = Q|j/JavaProtected|.<HIDDEN: j/JavaProtected.javaPProtectedStatic is invisible>#
|
||||
public final val p2: R|kotlin/Int| = Q|j/JavaProtected|.R|j/JavaProtected.javaPProtectedStatic<HIDDEN: j/JavaProtected.javaPProtectedStatic is invisible>#|
|
||||
public get(): R|kotlin/Int|
|
||||
|
||||
public final val p3: R|kotlin/Int| = R|j/JavaProtected.JavaProtected|().<HIDDEN: j/JavaProtected.javaPProtectedPackage is invisible>#
|
||||
public final val p3: R|kotlin/Int| = R|j/JavaProtected.JavaProtected|().R|j/JavaProtected.javaPProtectedPackage<HIDDEN: j/JavaProtected.javaPProtectedPackage is invisible>#|
|
||||
public get(): R|kotlin/Int|
|
||||
|
||||
public final fun test(): R|kotlin/Unit| {
|
||||
Q|j/JavaProtected|.<HIDDEN: j/JavaProtected.javaMProtectedStatic is invisible>#()
|
||||
Q|j/JavaPackageLocal|.<HIDDEN: j/JavaPackageLocal.javaMPackage is invisible>#()
|
||||
Q|j/JavaProtected|.R|j/JavaProtected.javaMProtectedStatic<HIDDEN: j/JavaProtected.javaMProtectedStatic is invisible>#|()
|
||||
Q|j/JavaPackageLocal|.R|j/JavaPackageLocal.javaMPackage<HIDDEN: j/JavaPackageLocal.javaMPackage is invisible>#|()
|
||||
}
|
||||
|
||||
}
|
||||
@@ -26,7 +26,7 @@ FILE: k.kt
|
||||
super<R|j/JavaProtected|>()
|
||||
}
|
||||
|
||||
public final val p1: R|kotlin/Int| = Q|j/JavaPackageLocal|.<HIDDEN: j/JavaPackageLocal.javaPPackage is invisible>#
|
||||
public final val p1: R|kotlin/Int| = Q|j/JavaPackageLocal|.R|j/JavaPackageLocal.javaPPackage<HIDDEN: j/JavaPackageLocal.javaPPackage is invisible>#|
|
||||
public get(): R|kotlin/Int|
|
||||
|
||||
public final val p2: R|kotlin/Int| = Q|j/JavaProtected|.R|j/JavaProtected.javaPProtectedStatic|
|
||||
@@ -37,7 +37,7 @@ FILE: k.kt
|
||||
|
||||
public final fun test(): R|kotlin/Unit| {
|
||||
Q|j/JavaProtected|.R|j/JavaProtected.javaMProtectedStatic|()
|
||||
Q|j/JavaPackageLocal|.<HIDDEN: j/JavaPackageLocal.javaMPackage is invisible>#()
|
||||
Q|j/JavaPackageLocal|.R|j/JavaPackageLocal.javaMPackage<HIDDEN: j/JavaPackageLocal.javaMPackage is invisible>#|()
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
Vendored
+2
-2
@@ -7,9 +7,9 @@ FILE: K1.kt
|
||||
}
|
||||
public final fun main(k: R|KSub|, vString: R|SuperClass.NestedInSuperClass<kotlin/String>|, vInt: R|SuperClass.NestedInSuperClass<kotlin/Int>|): R|kotlin/Unit| {
|
||||
R|<local>/k|.R|/J1.getImpl|().R|SubstitutionOverride</J1.NestedIImpl.nestedI: R|kotlin/Unit|>|(R|<local>/vString|)
|
||||
R|<local>/k|.R|/J1.getImpl|().<Inapplicable(INAPPLICABLE): /J1.NestedIImpl.nestedI>#(R|<local>/vInt|)
|
||||
R|<local>/k|.R|/J1.getImpl|().R|SubstitutionOverride</J1.NestedIImpl.nestedI: R|kotlin/Unit|><Inapplicable(INAPPLICABLE): /J1.NestedIImpl.nestedI>#|(R|<local>/vInt|)
|
||||
R|<local>/k|.R|/J1.getNestedSubClass|().R|SubstitutionOverride</J1.NestedSubClass.nested: R|kotlin/Unit|>|(String())
|
||||
R|<local>/k|.R|/J1.getNestedSubClass|().<Inapplicable(INAPPLICABLE): /J1.NestedSubClass.nested>#(Int(1))
|
||||
R|<local>/k|.R|/J1.getNestedSubClass|().R|SubstitutionOverride</J1.NestedSubClass.nested: R|kotlin/Unit|><Inapplicable(INAPPLICABLE): /J1.NestedSubClass.nested>#|(Int(1))
|
||||
}
|
||||
FILE: K2.kt
|
||||
public open class KFirst : R|SuperClass<kotlin/String>|, R|SuperI<kotlin/Int>| {
|
||||
|
||||
+1
-1
@@ -8,5 +8,5 @@ FILE: K1.kt
|
||||
FILE: K2.kt
|
||||
public final fun main(): R|kotlin/Unit| {
|
||||
Q|JavaClass|.R|/JavaClass.baz|(R|/KotlinClass.KotlinClass|())
|
||||
Q|JavaClass|.<Inapplicable(INAPPLICABLE): /JavaClass.baz>#(String())
|
||||
Q|JavaClass|.R|/JavaClass.baz<Inapplicable(INAPPLICABLE): /JavaClass.baz>#|(String())
|
||||
}
|
||||
|
||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user