[LL FIR] skip FirScript resolve in transformers

It is a temporary step to be able to implement
granular scripts support

^KT-60728
This commit is contained in:
Dmitrii Gridin
2023-07-28 21:11:59 +02:00
committed by Space Team
parent f31786c2a0
commit 61981f6026
225 changed files with 17236 additions and 17200 deletions
@@ -113,6 +113,8 @@ internal fun LLFirAbstractBodyTargetResolver.transformAnnotations(target: FirEle
target.transformSingle(transformer, ResolutionMode.ContextIndependent)
}
target is FirScript -> {}
else -> throwUnexpectedFirElementError(target)
}
}
@@ -124,7 +126,6 @@ internal val FirElementWithResolveState.isRegularDeclarationWithAnnotation: Bool
is FirDanglingModifierList,
is FirFileAnnotationsContainer,
is FirTypeAlias,
is FirScript,
-> true
else -> false
}
@@ -142,7 +142,7 @@ private class LLFirBodyTargetResolver(
is FirField -> resolve(target, BodyStateKeepers.FIELD)
is FirVariable -> resolve(target, BodyStateKeepers.VARIABLE)
is FirAnonymousInitializer -> resolve(target, BodyStateKeepers.ANONYMOUS_INITIALIZER)
is FirScript -> resolve(target, BodyStateKeepers.SCRIPT)
is FirScript,
is FirDanglingModifierList,
is FirFileAnnotationsContainer,
is FirTypeAlias,
@@ -104,8 +104,10 @@ private class LLFirCompilerRequiredAnnotationsTargetResolver(
}
override fun doResolveWithoutLock(target: FirElementWithResolveState): Boolean {
if (target !is FirRegularClass && !target.isRegularDeclarationWithAnnotation) {
throwUnexpectedFirElementError(target)
when {
target is FirScript -> return false
target is FirRegularClass || target.isRegularDeclarationWithAnnotation -> {}
else -> throwUnexpectedFirElementError(target)
}
requireIsInstance<FirAnnotationContainer>(target)
@@ -295,6 +297,7 @@ private class LLFirCompilerRequiredAnnotationsTargetResolver(
}
override fun doLazyResolveUnderLock(target: FirElementWithResolveState) {
if (target is FirScript) return
throwUnexpectedFirElementError(target)
}
}
@@ -173,6 +173,7 @@ private class LLFirStatusTargetResolver(
is FirRegularClass -> {
error("should be resolved in doResolveWithoutLock")
}
is FirScript -> {}
else -> {
target.transformSingle(transformer, data = null)
}
@@ -123,7 +123,8 @@ private class LLFirTypeTargetResolver(
target.accept(transformer, null)
}
is FirDanglingModifierList, is FirFileAnnotationsContainer, is FirCallableDeclaration, is FirTypeAlias, is FirScript -> {
is FirScript -> {}
is FirDanglingModifierList, is FirFileAnnotationsContainer, is FirCallableDeclaration, is FirTypeAlias -> {
target.accept(transformer, null)
}
is FirRegularClass -> {
@@ -1,27 +1,27 @@
FILE: [ResolvedTo(IMPORTS)] classMemberPropertyScript.kts
context(<script>@R|kotlin/script/templates/standard/ScriptTemplateWithArgs|)
context(<script>@kotlin.script.templates.standard.ScriptTemplateWithArgs)
SCRIPT: [ResolvedTo(BODY_RESOLVE)]
[ResolvedTo(RAW_FIR)] lval args: R|kotlin/Array<kotlin/String>|
public final [ResolvedTo(STATUS)] class X : R|kotlin/Any| {
public [ResolvedTo(STATUS)] constructor(): R|X| {
public? final? [ResolvedTo(RAW_FIR)] class X : R|kotlin/Any| {
public? [ResolvedTo(RAW_FIR)] constructor(): R|X| {
super<R|kotlin/Any|>()
}
public final [ResolvedTo(STATUS)] var x: R|kotlin/Int|
public [ResolvedTo(STATUS)] get(): R|kotlin/Int| {
^ this@R|/X|.F|/X.x|
public? final? [ResolvedTo(RAW_FIR)] var x: Int
public? [ResolvedTo(RAW_FIR)] get(): Int {
^ field#
}
public [ResolvedTo(STATUS)] set([ResolvedTo(STATUS)] value: R|kotlin/Int|): R|kotlin/Unit| {
this@R|/X|.F|/X.x| = R|<local>/value|
public? [ResolvedTo(RAW_FIR)] set([ResolvedTo(RAW_FIR)] value: Int): R|kotlin/Unit| {
field# = value#
}
public final [ResolvedTo(STATUS)] val y: R|kotlin/Int| = Int(42)
public [ResolvedTo(STATUS)] get(): R|kotlin/Int|
public? final? [ResolvedTo(RAW_FIR)] val y: <implicit> = IntegerLiteral(42)
public? [ResolvedTo(RAW_FIR)] get(): <implicit>
public final [ResolvedTo(STATUS)] var z: R|kotlin/Int| = Int(15)
public [ResolvedTo(STATUS)] get(): R|kotlin/Int|
public [ResolvedTo(STATUS)] set([ResolvedTo(STATUS)] value: R|kotlin/Int|): R|kotlin/Unit|
public? final? [ResolvedTo(RAW_FIR)] var z: Int = IntegerLiteral(15)
public? [ResolvedTo(RAW_FIR)] get(): Int
public? [ResolvedTo(RAW_FIR)] set([ResolvedTo(RAW_FIR)] value: Int): R|kotlin/Unit|
}
@@ -1,18 +1,18 @@
FILE: [ResolvedTo(IMPORTS)] classScript.kts
context(<script>@R|kotlin/script/templates/standard/ScriptTemplateWithArgs|)
context(<script>@kotlin.script.templates.standard.ScriptTemplateWithArgs)
SCRIPT: [ResolvedTo(BODY_RESOLVE)]
[ResolvedTo(RAW_FIR)] lval args: R|kotlin/Array<kotlin/String>|
public final [ResolvedTo(STATUS)] class A : R|kotlin/Any| {
public [ResolvedTo(STATUS)] constructor(): R|A| {
public? final? [ResolvedTo(RAW_FIR)] class A : R|kotlin/Any| {
public? [ResolvedTo(RAW_FIR)] constructor(): R|A| {
super<R|kotlin/Any|>()
}
public final [ResolvedTo(STATUS)] fun x(): R|kotlin/Unit| {
public? final? [ResolvedTo(RAW_FIR)] fun x(): R|kotlin/Unit| {
}
public final [ResolvedTo(STATUS)] fun y(): R|kotlin/Int| {
^y Int(10)
public? final? [ResolvedTo(RAW_FIR)] fun y(): Int {
^y IntegerLiteral(10)
}
}
@@ -1,18 +1,18 @@
FILE: [ResolvedTo(IMPORTS)] constructorsScript.kts
context(<script>@R|kotlin/script/templates/standard/ScriptTemplateWithArgs|)
context(<script>@kotlin.script.templates.standard.ScriptTemplateWithArgs)
SCRIPT: [ResolvedTo(BODY_RESOLVE)]
[ResolvedTo(RAW_FIR)] lval args: R|kotlin/Array<kotlin/String>|
public final [ResolvedTo(STATUS)] class A : R|kotlin/Any| {
public [ResolvedTo(STATUS)] constructor([ResolvedTo(STATUS)] a: R|kotlin/Int|): R|A| {
public? final? [ResolvedTo(RAW_FIR)] class A : R|kotlin/Any| {
public? [ResolvedTo(RAW_FIR)] constructor([ResolvedTo(RAW_FIR)] a: Int): R|A| {
super<R|kotlin/Any|>()
}
public final [ResolvedTo(STATUS)] val a: R|kotlin/Int| = R|<local>/a|
public [ResolvedTo(STATUS)] get(): R|kotlin/Int|
public? final? [ResolvedTo(RAW_FIR)] val a: Int = R|<local>/a|
public? [ResolvedTo(RAW_FIR)] get(): Int
public [ResolvedTo(STATUS)] constructor(): R|A| {
this<R|A|>(Int(1))
public? [ResolvedTo(RAW_FIR)] constructor(): R|A| {
this<R|A|>(IntegerLiteral(1))
}
}
@@ -1,44 +1,44 @@
FILE: [ResolvedTo(IMPORTS)] danglingAnnotationClassLevelScript.kts
context(<script>@R|kotlin/script/templates/standard/ScriptTemplateWithArgs|)
context(<script>@kotlin.script.templates.standard.ScriptTemplateWithArgs)
SCRIPT: [ResolvedTo(BODY_RESOLVE)]
[ResolvedTo(RAW_FIR)] lval args: R|kotlin/Array<kotlin/String>|
public final [ResolvedTo(STATUS)] class Foo : R|kotlin/Any| {
public [ResolvedTo(STATUS)] constructor(): R|Foo| {
public? final? [ResolvedTo(RAW_FIR)] class Foo : R|kotlin/Any| {
public? [ResolvedTo(RAW_FIR)] constructor(): R|Foo| {
super<R|kotlin/Any|>()
}
@R|kotlin/Suppress|[Types](names = vararg(String())) @R|kotlin/annotation/MustBeDocumented|[Types]() <DANGLING MODIFIER: Top level declaration expected>
@Suppress[Unresolved](String()) @MustBeDocumented[Unresolved]() <DANGLING MODIFIER: Top level declaration expected>
}
public final [ResolvedTo(STATUS)] class Bar : R|kotlin/Any| {
public [ResolvedTo(STATUS)] constructor(): R|Bar| {
public? final? [ResolvedTo(RAW_FIR)] class Bar : R|kotlin/Any| {
public? [ResolvedTo(RAW_FIR)] constructor(): R|Bar| {
super<R|kotlin/Any|>()
}
@R|kotlin/Suppress|[Types](names = vararg(String())) @R|kotlin/annotation/MustBeDocumented|[Types]() <DANGLING MODIFIER: Top level declaration expected>
@Suppress[Unresolved](String()) @MustBeDocumented[Unresolved]() <DANGLING MODIFIER: Top level declaration expected>
}
public final [ResolvedTo(STATUS)] class Outer : R|kotlin/Any| {
public [ResolvedTo(STATUS)] constructor(): R|Outer| {
public? final? [ResolvedTo(RAW_FIR)] class Outer : R|kotlin/Any| {
public? [ResolvedTo(RAW_FIR)] constructor(): R|Outer| {
super<R|kotlin/Any|>()
}
public final [ResolvedTo(STATUS)] class Inner : R|kotlin/Any| {
public [ResolvedTo(STATUS)] constructor(): R|Outer.Inner| {
public? final? [ResolvedTo(RAW_FIR)] class Inner : R|kotlin/Any| {
public? [ResolvedTo(RAW_FIR)] constructor(): R|Outer.Inner| {
super<R|kotlin/Any|>()
}
@R|kotlin/Suppress|[Types](names = vararg(String())) @R|kotlin/annotation/MustBeDocumented|[Types]() <DANGLING MODIFIER: Top level declaration expected>
@Suppress[Unresolved](String()) @MustBeDocumented[Unresolved]() <DANGLING MODIFIER: Top level declaration expected>
}
public final [ResolvedTo(STATUS)] fun foo(): R|kotlin/Unit| {
local final [ResolvedTo(RAW_FIR)] class Local : R|kotlin/Any| {
public [ResolvedTo(RAW_FIR)] constructor(): R|Outer.Local| {
public? final? [ResolvedTo(RAW_FIR)] fun foo(): R|kotlin/Unit| {
local final? [ResolvedTo(RAW_FIR)] class Local : R|kotlin/Any| {
public? [ResolvedTo(RAW_FIR)] constructor(): R|Outer.Local| {
super<R|kotlin/Any|>()
}
@R|kotlin/Suppress|[Types](names = vararg(String())) @R|kotlin/annotation/MustBeDocumented|[Types]() <DANGLING MODIFIER: Top level declaration expected>
@Suppress[Unresolved](String()) @MustBeDocumented[Unresolved]() <DANGLING MODIFIER: Top level declaration expected>
}
}
@@ -1,29 +1,29 @@
FILE: [ResolvedTo(IMPORTS)] declarationsInPropertyInitScript.kts
context(<script>@R|kotlin/script/templates/standard/ScriptTemplateWithArgs|)
context(<script>@kotlin.script.templates.standard.ScriptTemplateWithArgs)
SCRIPT: [ResolvedTo(BODY_RESOLVE)]
[ResolvedTo(RAW_FIR)] lval args: R|kotlin/Array<kotlin/String>|
public final [ResolvedTo(STATUS)] class A : R|kotlin/Any| {
public [ResolvedTo(STATUS)] constructor(): R|A| {
public? final? [ResolvedTo(RAW_FIR)] class A : R|kotlin/Any| {
public? [ResolvedTo(RAW_FIR)] constructor(): R|A| {
super<R|kotlin/Any|>()
}
public final [ResolvedTo(STATUS)] val a: R|kotlin/Unit| = this@R|/A|.R|kotlin/run|<R|A|, R|kotlin/Unit|>(<L> = [ResolvedTo(RAW_FIR)] run@fun R|A|.<anonymous>(): R|kotlin/Unit| <inline=Inline, kind=EXACTLY_ONCE> {
local final [ResolvedTo(RAW_FIR)] class X : R|kotlin/Any| {
public [ResolvedTo(RAW_FIR)] constructor(): R|A.X| {
public? final? [ResolvedTo(RAW_FIR)] val a: <implicit> = run#(<L> = [ResolvedTo(RAW_FIR)] run@fun <implicit>.<anonymous>(): <implicit> <inline=Unknown> {
local final? [ResolvedTo(RAW_FIR)] class X : R|kotlin/Any| {
public? [ResolvedTo(RAW_FIR)] constructor(): R|A.X| {
super<R|kotlin/Any|>()
}
}
[ResolvedTo(RAW_FIR)] lval y: R|kotlin/Int| = Int(10)
[ResolvedTo(RAW_FIR)] lval y: <implicit> = IntegerLiteral(10)
}
)
public [ResolvedTo(STATUS)] get(): R|kotlin/Unit|
public? [ResolvedTo(RAW_FIR)] get(): <implicit>
}
public final inline [ResolvedTo(RAW_FIR)] fun <[ResolvedTo(RAW_FIR)] R> run([ResolvedTo(RAW_FIR)] block: R|() -> R|): R|R| {
^run R|<local>/block|.R|SubstitutionOverride<kotlin/Function0.invoke: R|R|>|()
public? final? inline [ResolvedTo(RAW_FIR)] fun <[ResolvedTo(RAW_FIR)] R> run([ResolvedTo(RAW_FIR)] block: ( () -> R )): R {
^run block#()
}
@@ -1,34 +1,34 @@
FILE: [ResolvedTo(IMPORTS)] enumClassScript.kts
context(<script>@R|kotlin/script/templates/standard/ScriptTemplateWithArgs|)
context(<script>@kotlin.script.templates.standard.ScriptTemplateWithArgs)
SCRIPT: [ResolvedTo(BODY_RESOLVE)]
[ResolvedTo(RAW_FIR)] lval args: R|kotlin/Array<kotlin/String>|
public final [ResolvedTo(STATUS)] enum class A : R|kotlin/Enum<A>| {
private [ResolvedTo(STATUS)] constructor(): R|A| {
public? final? [ResolvedTo(RAW_FIR)] enum class A : R|kotlin/Enum<A>| {
private [ResolvedTo(RAW_FIR)] constructor(): R|A| {
super<R|kotlin/Enum<A>|>()
}
public final static [ResolvedTo(STATUS)] enum entry X: R|A|
public final static [ResolvedTo(STATUS)] enum entry Y: R|A|
public final static [ResolvedTo(STATUS)] enum entry Z: R|A|
public final [ResolvedTo(STATUS)] fun foo(): R|kotlin/Unit| {
public final static [ResolvedTo(RAW_FIR)] enum entry X: R|A|
public final static [ResolvedTo(RAW_FIR)] enum entry Y: R|A|
public final static [ResolvedTo(RAW_FIR)] enum entry Z: R|A|
public? final? [ResolvedTo(RAW_FIR)] fun foo(): R|kotlin/Unit| {
}
public final [ResolvedTo(STATUS)] val x: R|kotlin/Int| = Int(10)
public [ResolvedTo(STATUS)] get(): R|kotlin/Int|
public? final? [ResolvedTo(RAW_FIR)] val x: <implicit> = IntegerLiteral(10)
public? [ResolvedTo(RAW_FIR)] get(): <implicit>
public final [ResolvedTo(STATUS)] fun bar(): R|kotlin/Int| {
^bar Int(10)
public? final? [ResolvedTo(RAW_FIR)] fun bar(): <implicit> {
^bar IntegerLiteral(10)
}
public final static [ResolvedTo(STATUS)] fun values(): R|kotlin/Array<A>| {
public final static [ResolvedTo(RAW_FIR)] fun values(): R|kotlin/Array<A>| {
}
public final static [ResolvedTo(STATUS)] fun valueOf([ResolvedTo(STATUS)] value: R|kotlin/String|): R|A| {
public final static [ResolvedTo(RAW_FIR)] fun valueOf([ResolvedTo(RAW_FIR)] value: R|kotlin/String|): R|A| {
}
public final static [ResolvedTo(STATUS)] val entries: R|kotlin/enums/EnumEntries<A>|
public [ResolvedTo(STATUS)] get(): R|kotlin/enums/EnumEntries<A>|
public final static [ResolvedTo(RAW_FIR)] val entries: R|kotlin/enums/EnumEntries<A>|
public [ResolvedTo(RAW_FIR)] get(): R|kotlin/enums/EnumEntries<A>|
}
@@ -1,46 +1,46 @@
FILE: [ResolvedTo(IMPORTS)] enumClassWithBodyScript.kts
context(<script>@R|kotlin/script/templates/standard/ScriptTemplateWithArgs|)
context(<script>@kotlin.script.templates.standard.ScriptTemplateWithArgs)
SCRIPT: [ResolvedTo(BODY_RESOLVE)]
[ResolvedTo(RAW_FIR)] lval args: R|kotlin/Array<kotlin/String>|
public final [ResolvedTo(STATUS)] enum class A : R|kotlin/Enum<A>| {
private [ResolvedTo(STATUS)] constructor(): R|A| {
public? final? [ResolvedTo(RAW_FIR)] enum class A : R|kotlin/Enum<A>| {
private [ResolvedTo(RAW_FIR)] constructor(): R|A| {
super<R|kotlin/Enum<A>|>()
}
public final static [ResolvedTo(STATUS)] enum entry X: R|A| = object : R|A| {
public final static [ResolvedTo(RAW_FIR)] enum entry X: R|A| = object : R|A| {
private [ResolvedTo(RAW_FIR)] constructor(): R|<anonymous>| {
super<R|A|>()
}
public final [ResolvedTo(RAW_FIR)] fun localInX(): R|kotlin/Int| {
^localInX Int(1)
public? final? [ResolvedTo(RAW_FIR)] fun localInX(): <implicit> {
^localInX IntegerLiteral(1)
}
}
public final static [ResolvedTo(STATUS)] enum entry Y: R|A| = object : R|A| {
public final static [ResolvedTo(RAW_FIR)] enum entry Y: R|A| = object : R|A| {
private [ResolvedTo(RAW_FIR)] constructor(): R|<anonymous>| {
super<R|A|>()
}
public open override [ResolvedTo(RAW_FIR)] fun foo(): R|kotlin/Unit| {
public? open? override [ResolvedTo(RAW_FIR)] fun foo(): R|kotlin/Unit| {
}
}
public final static [ResolvedTo(STATUS)] enum entry Z: R|A|
public open [ResolvedTo(STATUS)] fun foo(): R|kotlin/Unit| {
public final static [ResolvedTo(RAW_FIR)] enum entry Z: R|A|
public? open [ResolvedTo(RAW_FIR)] fun foo(): R|kotlin/Unit| {
}
public final static [ResolvedTo(STATUS)] fun values(): R|kotlin/Array<A>| {
public final static [ResolvedTo(RAW_FIR)] fun values(): R|kotlin/Array<A>| {
}
public final static [ResolvedTo(STATUS)] fun valueOf([ResolvedTo(STATUS)] value: R|kotlin/String|): R|A| {
public final static [ResolvedTo(RAW_FIR)] fun valueOf([ResolvedTo(RAW_FIR)] value: R|kotlin/String|): R|A| {
}
public final static [ResolvedTo(STATUS)] val entries: R|kotlin/enums/EnumEntries<A>|
public [ResolvedTo(STATUS)] get(): R|kotlin/enums/EnumEntries<A>|
public final static [ResolvedTo(RAW_FIR)] val entries: R|kotlin/enums/EnumEntries<A>|
public [ResolvedTo(RAW_FIR)] get(): R|kotlin/enums/EnumEntries<A>|
}
@@ -1,17 +1,17 @@
FILE: [ResolvedTo(IMPORTS)] initBlockScript.kts
context(<script>@R|kotlin/script/templates/standard/ScriptTemplateWithArgs|)
context(<script>@kotlin.script.templates.standard.ScriptTemplateWithArgs)
SCRIPT: [ResolvedTo(BODY_RESOLVE)]
[ResolvedTo(RAW_FIR)] lval args: R|kotlin/Array<kotlin/String>|
public final [ResolvedTo(STATUS)] class A : R|kotlin/Any| {
public [ResolvedTo(STATUS)] constructor(): R|A| {
public? final? [ResolvedTo(RAW_FIR)] class A : R|kotlin/Any| {
public? [ResolvedTo(RAW_FIR)] constructor(): R|A| {
super<R|kotlin/Any|>()
}
init {
[ResolvedTo(RAW_FIR)] lval x: R|kotlin/Int| = Int(10)
local final [ResolvedTo(RAW_FIR)] class B : R|kotlin/Any| {
public [ResolvedTo(RAW_FIR)] constructor(): R|A.B| {
[ResolvedTo(RAW_FIR)] lval x: <implicit> = IntegerLiteral(10)
local final? [ResolvedTo(RAW_FIR)] class B : R|kotlin/Any| {
public? [ResolvedTo(RAW_FIR)] constructor(): R|A.B| {
super<R|kotlin/Any|>()
}
@@ -1,11 +1,11 @@
FILE: [ResolvedTo(IMPORTS)] localClassScript.kts
context(<script>@R|kotlin/script/templates/standard/ScriptTemplateWithArgs|)
context(<script>@kotlin.script.templates.standard.ScriptTemplateWithArgs)
SCRIPT: [ResolvedTo(BODY_RESOLVE)]
[ResolvedTo(RAW_FIR)] lval args: R|kotlin/Array<kotlin/String>|
public final [ResolvedTo(RAW_FIR)] fun a(): R|kotlin/Unit| {
local final [ResolvedTo(RAW_FIR)] class X : R|kotlin/Any| {
public [ResolvedTo(RAW_FIR)] constructor(): R|X| {
public? final? [ResolvedTo(RAW_FIR)] fun a(): R|kotlin/Unit| {
local final? [ResolvedTo(RAW_FIR)] class X : R|kotlin/Any| {
public? [ResolvedTo(RAW_FIR)] constructor(): R|X| {
super<R|kotlin/Any|>()
}
@@ -13,14 +13,14 @@ FILE: [ResolvedTo(IMPORTS)] localClassScript.kts
}
public final [ResolvedTo(STATUS)] class Y : R|kotlin/Any| {
public [ResolvedTo(STATUS)] constructor(): R|Y| {
public? final? [ResolvedTo(RAW_FIR)] class Y : R|kotlin/Any| {
public? [ResolvedTo(RAW_FIR)] constructor(): R|Y| {
super<R|kotlin/Any|>()
}
public final [ResolvedTo(STATUS)] fun b(): R|kotlin/Unit| {
local final [ResolvedTo(RAW_FIR)] class Z : R|kotlin/Any| {
public [ResolvedTo(RAW_FIR)] constructor(): R|Y.Z| {
public? final? [ResolvedTo(RAW_FIR)] fun b(): R|kotlin/Unit| {
local final? [ResolvedTo(RAW_FIR)] class Z : R|kotlin/Any| {
public? [ResolvedTo(RAW_FIR)] constructor(): R|Y.Z| {
super<R|kotlin/Any|>()
}
@@ -1,21 +1,21 @@
FILE: [ResolvedTo(IMPORTS)] localFunScript.kts
context(<script>@R|kotlin/script/templates/standard/ScriptTemplateWithArgs|)
context(<script>@kotlin.script.templates.standard.ScriptTemplateWithArgs)
SCRIPT: [ResolvedTo(BODY_RESOLVE)]
[ResolvedTo(RAW_FIR)] lval args: R|kotlin/Array<kotlin/String>|
public final [ResolvedTo(RAW_FIR)] fun x(): R|kotlin/Unit| {
local final [ResolvedTo(RAW_FIR)] fun y(): R|kotlin/Unit| {
public? final? [ResolvedTo(RAW_FIR)] fun x(): R|kotlin/Unit| {
local final? [ResolvedTo(RAW_FIR)] fun y(): R|kotlin/Unit| {
}
}
public final [ResolvedTo(STATUS)] class A : R|kotlin/Any| {
public [ResolvedTo(STATUS)] constructor(): R|A| {
public? final? [ResolvedTo(RAW_FIR)] class A : R|kotlin/Any| {
public? [ResolvedTo(RAW_FIR)] constructor(): R|A| {
super<R|kotlin/Any|>()
}
public final [ResolvedTo(STATUS)] fun z(): R|kotlin/Unit| {
local final [ResolvedTo(RAW_FIR)] fun q(): R|kotlin/Unit| {
public? final? [ResolvedTo(RAW_FIR)] fun z(): R|kotlin/Unit| {
local final? [ResolvedTo(RAW_FIR)] fun q(): R|kotlin/Unit| {
}
}
@@ -1,35 +1,35 @@
FILE: [ResolvedTo(IMPORTS)] localPropertyScript.kts
context(<script>@R|kotlin/script/templates/standard/ScriptTemplateWithArgs|)
context(<script>@kotlin.script.templates.standard.ScriptTemplateWithArgs)
SCRIPT: [ResolvedTo(BODY_RESOLVE)]
[ResolvedTo(RAW_FIR)] lval args: R|kotlin/Array<kotlin/String>|
public final [ResolvedTo(RAW_FIR)] fun foo(): R|kotlin/Unit| {
[ResolvedTo(RAW_FIR)] lvar x: R|kotlin/Int|
public? final? [ResolvedTo(RAW_FIR)] fun foo(): R|kotlin/Unit| {
[ResolvedTo(RAW_FIR)] lvar x: Int
}
public final [ResolvedTo(STATUS)] class A : R|kotlin/Any| {
public [ResolvedTo(STATUS)] constructor(): R|A| {
public? final? [ResolvedTo(RAW_FIR)] class A : R|kotlin/Any| {
public? [ResolvedTo(RAW_FIR)] constructor(): R|A| {
super<R|kotlin/Any|>()
}
public final [ResolvedTo(STATUS)] fun q(): R|kotlin/Unit| {
[ResolvedTo(RAW_FIR)] lval y: R|kotlin/Int| = Int(42)
public? final? [ResolvedTo(RAW_FIR)] fun q(): R|kotlin/Unit| {
[ResolvedTo(RAW_FIR)] lval y: <implicit> = IntegerLiteral(42)
}
}
public final [ResolvedTo(STATUS)] class B : R|kotlin/Any| {
public [ResolvedTo(STATUS)] constructor(): R|B| {
public? final? [ResolvedTo(RAW_FIR)] class B : R|kotlin/Any| {
public? [ResolvedTo(RAW_FIR)] constructor(): R|B| {
super<R|kotlin/Any|>()
}
public final [ResolvedTo(STATUS)] class C : R|kotlin/Any| {
public [ResolvedTo(STATUS)] constructor(): R|B.C| {
public? final? [ResolvedTo(RAW_FIR)] class C : R|kotlin/Any| {
public? [ResolvedTo(RAW_FIR)] constructor(): R|B.C| {
super<R|kotlin/Any|>()
}
public final [ResolvedTo(STATUS)] fun u(): R|kotlin/Unit| {
[ResolvedTo(RAW_FIR)] lvar z: R|kotlin/Int| = Int(15)
public? final? [ResolvedTo(RAW_FIR)] fun u(): R|kotlin/Unit| {
[ResolvedTo(RAW_FIR)] lvar z: Int = IntegerLiteral(15)
}
}
@@ -1,14 +1,14 @@
FILE: [ResolvedTo(IMPORTS)] memberTypeAliasScript.kts
context(<script>@R|kotlin/script/templates/standard/ScriptTemplateWithArgs|)
context(<script>@kotlin.script.templates.standard.ScriptTemplateWithArgs)
SCRIPT: [ResolvedTo(BODY_RESOLVE)]
[ResolvedTo(RAW_FIR)] lval args: R|kotlin/Array<kotlin/String>|
public final [ResolvedTo(STATUS)] class A : R|kotlin/Any| {
public [ResolvedTo(STATUS)] constructor(): R|A| {
public? final? [ResolvedTo(RAW_FIR)] class A : R|kotlin/Any| {
public? [ResolvedTo(RAW_FIR)] constructor(): R|A| {
super<R|kotlin/Any|>()
}
public? final [ResolvedTo(RAW_FIR)] typealias X = R|kotlin/Int|
public? final [ResolvedTo(RAW_FIR)] typealias X = Int
}
@@ -1,23 +1,23 @@
FILE: [ResolvedTo(IMPORTS)] nestedClassesScript.kts
context(<script>@R|kotlin/script/templates/standard/ScriptTemplateWithArgs|)
context(<script>@kotlin.script.templates.standard.ScriptTemplateWithArgs)
SCRIPT: [ResolvedTo(BODY_RESOLVE)]
[ResolvedTo(RAW_FIR)] lval args: R|kotlin/Array<kotlin/String>|
public final [ResolvedTo(STATUS)] class A : R|kotlin/Any| {
public [ResolvedTo(STATUS)] constructor(): R|A| {
public? final? [ResolvedTo(RAW_FIR)] class A : R|kotlin/Any| {
public? [ResolvedTo(RAW_FIR)] constructor(): R|A| {
super<R|kotlin/Any|>()
}
public final [ResolvedTo(STATUS)] class B : R|kotlin/Any| {
public [ResolvedTo(STATUS)] constructor(): R|A.B| {
public? final? [ResolvedTo(RAW_FIR)] class B : R|kotlin/Any| {
public? [ResolvedTo(RAW_FIR)] constructor(): R|A.B| {
super<R|kotlin/Any|>()
}
public final [ResolvedTo(STATUS)] fun x(): R|kotlin/Unit| {
public? final? [ResolvedTo(RAW_FIR)] fun x(): R|kotlin/Unit| {
}
public final [ResolvedTo(STATUS)] class C : R|kotlin/Any| {
public [ResolvedTo(STATUS)] constructor(): R|A.B.C| {
public? final? [ResolvedTo(RAW_FIR)] class C : R|kotlin/Any| {
public? [ResolvedTo(RAW_FIR)] constructor(): R|A.B.C| {
super<R|kotlin/Any|>()
}
@@ -25,15 +25,15 @@ FILE: [ResolvedTo(IMPORTS)] nestedClassesScript.kts
}
public final [ResolvedTo(STATUS)] class E : R|kotlin/Any| {
public [ResolvedTo(STATUS)] constructor(): R|A.E| {
public? final? [ResolvedTo(RAW_FIR)] class E : R|kotlin/Any| {
public? [ResolvedTo(RAW_FIR)] constructor(): R|A.E| {
super<R|kotlin/Any|>()
}
}
public final [ResolvedTo(STATUS)] fun y(): R|kotlin/Int| {
^y Int(10)
public? final? [ResolvedTo(RAW_FIR)] fun y(): Int {
^y IntegerLiteral(10)
}
}
@@ -1,27 +1,27 @@
FILE: [ResolvedTo(IMPORTS)] propertyAccessorsScript.kts
context(<script>@R|kotlin/script/templates/standard/ScriptTemplateWithArgs|)
context(<script>@kotlin.script.templates.standard.ScriptTemplateWithArgs)
SCRIPT: [ResolvedTo(BODY_RESOLVE)]
[ResolvedTo(RAW_FIR)] lval args: R|kotlin/Array<kotlin/String>|
public final [ResolvedTo(RAW_FIR)] var x: R|kotlin/Int| = Int(10)
public [ResolvedTo(RAW_FIR)] get(): R|kotlin/Int| {
^ F|/x|
public? final? [ResolvedTo(RAW_FIR)] var x: Int = IntegerLiteral(10)
public? [ResolvedTo(RAW_FIR)] get(): Int {
^ field#
}
public [ResolvedTo(RAW_FIR)] set([ResolvedTo(RAW_FIR)] value: R|kotlin/Int|): R|kotlin/Unit| {
F|/x| = R|<local>/value|
public? [ResolvedTo(RAW_FIR)] set([ResolvedTo(RAW_FIR)] value: Int): R|kotlin/Unit| {
field# = value#
}
public final [ResolvedTo(STATUS)] class X : R|kotlin/Any| {
public [ResolvedTo(STATUS)] constructor(): R|X| {
public? final? [ResolvedTo(RAW_FIR)] class X : R|kotlin/Any| {
public? [ResolvedTo(RAW_FIR)] constructor(): R|X| {
super<R|kotlin/Any|>()
}
public final [ResolvedTo(STATUS)] var y: R|kotlin/Int| = Int(10)
public [ResolvedTo(STATUS)] get(): R|kotlin/Int| {
^ this@R|/X|.F|/X.y|
public? final? [ResolvedTo(RAW_FIR)] var y: Int = IntegerLiteral(10)
public? [ResolvedTo(RAW_FIR)] get(): Int {
^ field#
}
public [ResolvedTo(STATUS)] set([ResolvedTo(STATUS)] value: R|kotlin/Int|): R|kotlin/Unit| {
this@R|/X|.F|/X.y| = R|<local>/value|
public? [ResolvedTo(RAW_FIR)] set([ResolvedTo(RAW_FIR)] value: Int): R|kotlin/Unit| {
field# = value#
}
}
@@ -1,48 +1,48 @@
FILE: [ResolvedTo(IMPORTS)] script.kts
context(<script>@R|kotlin/script/templates/standard/ScriptTemplateWithArgs|)
context(<script>@kotlin.script.templates.standard.ScriptTemplateWithArgs)
SCRIPT: [ResolvedTo(BODY_RESOLVE)]
[ResolvedTo(RAW_FIR)] lval args: R|kotlin/Array<kotlin/String>|
public final [ResolvedTo(STATUS)] class Builder : R|kotlin/Any| {
public [ResolvedTo(STATUS)] constructor(): R|Builder| {
public? final? [ResolvedTo(RAW_FIR)] class Builder : R|kotlin/Any| {
public? [ResolvedTo(RAW_FIR)] constructor(): R|Builder| {
super<R|kotlin/Any|>()
}
public final [ResolvedTo(STATUS)] var version: R|kotlin/String| = String()
public [ResolvedTo(STATUS)] get(): R|kotlin/String|
public [ResolvedTo(STATUS)] set([ResolvedTo(STATUS)] value: R|kotlin/String|): R|kotlin/Unit|
public? final? [ResolvedTo(RAW_FIR)] var version: String = String()
public? [ResolvedTo(RAW_FIR)] get(): String
public? [ResolvedTo(RAW_FIR)] set([ResolvedTo(RAW_FIR)] value: String): R|kotlin/Unit|
public final [ResolvedTo(STATUS)] fun execute(): R|kotlin/Unit| {
<Unresolved name: println>#(this@R|/Builder|.R|/Builder.version|)
public? final? [ResolvedTo(RAW_FIR)] fun execute(): R|kotlin/Unit| {
println#(version#)
}
}
public final [ResolvedTo(RAW_FIR)] fun build([ResolvedTo(RAW_FIR)] action: R|Builder.() -> kotlin/Unit|): R|Builder| {
^build R|/Builder.Builder|().R|kotlin/apply|<R|Builder|>(R|<local>/action|)
public? final? [ResolvedTo(RAW_FIR)] fun build([ResolvedTo(RAW_FIR)] action: ( Builder.() -> Unit )): <implicit> {
^build Builder#().apply#(action#)
}
R|/build|(<L> = [ResolvedTo(RAW_FIR)] build@fun R|Builder|.<anonymous>(): R|kotlin/Unit| <inline=NoInline> {
this@R|special/anonymous|.R|/Builder.version| = String(123)
local final [ResolvedTo(RAW_FIR)] class A : R|kotlin/Any| {
public [ResolvedTo(RAW_FIR)] constructor(): R|A| {
build#(<L> = [ResolvedTo(RAW_FIR)] build@fun <implicit>.<anonymous>(): <implicit> <inline=Unknown> {
version# = String(123)
local final? [ResolvedTo(RAW_FIR)] class A : R|kotlin/Any| {
public? [ResolvedTo(RAW_FIR)] constructor(): R|A| {
super<R|kotlin/Any|>()
}
public final [ResolvedTo(RAW_FIR)] fun doo(): R|kotlin/Unit| {
public? final? [ResolvedTo(RAW_FIR)] fun doo(): R|kotlin/Unit| {
}
}
this@R|special/anonymous|.R|/Builder.execute|()
execute#()
}
)
public final [ResolvedTo(RAW_FIR)] val builder: R|Builder| = R|/build|(<L> = [ResolvedTo(RAW_FIR)] build@fun R|Builder|.<anonymous>(): R|kotlin/Unit| <inline=NoInline> {
this@R|special/anonymous|.R|/Builder.version| = String(321)
public? final? [ResolvedTo(RAW_FIR)] val builder: <implicit> = build#(<L> = [ResolvedTo(RAW_FIR)] build@fun <implicit>.<anonymous>(): <implicit> <inline=Unknown> {
version# = String(321)
}
)
public [ResolvedTo(RAW_FIR)] get(): R|Builder|
public? [ResolvedTo(RAW_FIR)] get(): <implicit>
public final [ResolvedTo(RAW_FIR)] val $$result: R|kotlin/Unit| = R|/builder|.R|/Builder.execute|()
public [ResolvedTo(RAW_FIR)] get(): R|kotlin/Unit|
public final [ResolvedTo(RAW_FIR)] val $$result: <implicit> = builder#.execute#()
public [ResolvedTo(RAW_FIR)] get(): <implicit>
@@ -1,30 +1,30 @@
FILE: [ResolvedTo(IMPORTS)] superClassCallScript.kts
context(<script>@R|kotlin/script/templates/standard/ScriptTemplateWithArgs|)
context(<script>@kotlin.script.templates.standard.ScriptTemplateWithArgs)
SCRIPT: [ResolvedTo(BODY_RESOLVE)]
[ResolvedTo(RAW_FIR)] lval args: R|kotlin/Array<kotlin/String>|
public open [ResolvedTo(STATUS)] class A : R|kotlin/Any| {
public [ResolvedTo(STATUS)] constructor([ResolvedTo(STATUS)] init: R|A.() -> kotlin/Unit|): R|A| {
public? open [ResolvedTo(RAW_FIR)] class A : R|kotlin/Any| {
public? [ResolvedTo(RAW_FIR)] constructor([ResolvedTo(RAW_FIR)] init: ( A.() -> Unit )): R|A| {
super<R|kotlin/Any|>()
}
public final [ResolvedTo(STATUS)] val prop: R|kotlin/String| = String()
public [ResolvedTo(STATUS)] get(): R|kotlin/String|
public? final? [ResolvedTo(RAW_FIR)] val prop: String = String()
public? [ResolvedTo(RAW_FIR)] get(): String
}
public final [ResolvedTo(STATUS)] class B : R|A| {
public [ResolvedTo(STATUS)] constructor(): R|B| {
super<R|A|>()
public? final? [ResolvedTo(RAW_FIR)] class B : A {
public? [ResolvedTo(RAW_FIR)] constructor(): R|B| {
super<A>()
}
}
public final [ResolvedTo(STATUS)] object C : R|A| {
private [ResolvedTo(STATUS)] constructor(): R|C| {
super<R|A|>([ResolvedTo(RAW_FIR)] fun R|A|.<anonymous>(): R|kotlin/Unit| <inline=Unknown> {
local final [ResolvedTo(RAW_FIR)] fun foo(): R|kotlin/String| {
^foo Q|B|.<Unresolved name: prop>#.R|kotlin/toString|()
public? final? [ResolvedTo(RAW_FIR)] object C : A {
private [ResolvedTo(RAW_FIR)] constructor(): R|C| {
super<A>([ResolvedTo(RAW_FIR)] fun <implicit>.<anonymous>(): <implicit> <inline=Unknown> {
local final? [ResolvedTo(RAW_FIR)] fun foo(): <implicit> {
^foo B#.prop#.toString#()
}
}
@@ -33,11 +33,11 @@ FILE: [ResolvedTo(IMPORTS)] superClassCallScript.kts
}
public final [ResolvedTo(RAW_FIR)] val f: R|A| = object : R|A| {
public? final? [ResolvedTo(RAW_FIR)] val f: <implicit> = object : A {
private [ResolvedTo(RAW_FIR)] constructor(): R|<anonymous>| {
super<R|A|>([ResolvedTo(RAW_FIR)] fun R|A|.<anonymous>(): R|kotlin/Unit| <inline=Unknown> {
local final [ResolvedTo(RAW_FIR)] fun bar(): R|kotlin/String| {
^bar Q|B|.<Unresolved name: prop>#.R|kotlin/toString|()
super<A>([ResolvedTo(RAW_FIR)] fun <implicit>.<anonymous>(): <implicit> <inline=Unknown> {
local final? [ResolvedTo(RAW_FIR)] fun bar(): <implicit> {
^bar B#.prop#.toString#()
}
}
@@ -46,23 +46,23 @@ FILE: [ResolvedTo(IMPORTS)] superClassCallScript.kts
}
public [ResolvedTo(RAW_FIR)] get(): R|A|
public? [ResolvedTo(RAW_FIR)] get(): <implicit>
public final [ResolvedTo(STATUS)] class D : R|A| {
public [ResolvedTo(STATUS)] error_constructor(): R|D| {
super<R|A|>([ResolvedTo(RAW_FIR)] fun R|A|.<anonymous>(): R|kotlin/Unit| <inline=Unknown> {
local final [ResolvedTo(RAW_FIR)] fun foo(): R|kotlin/String| {
^foo Q|B|.<Unresolved name: prop>#.R|kotlin/toString|()
public? final? [ResolvedTo(RAW_FIR)] class D : A {
public? [ResolvedTo(RAW_FIR)] error_constructor(): R|D| {
super<A>([ResolvedTo(RAW_FIR)] fun <implicit>.<anonymous>(): <implicit> <inline=Unknown> {
local final? [ResolvedTo(RAW_FIR)] fun foo(): <implicit> {
^foo B#.prop#.toString#()
}
}
)
}
public [ResolvedTo(STATUS)] constructor(): R|D| {
super<R|A|>([ResolvedTo(RAW_FIR)] fun R|A|.<anonymous>(): R|kotlin/Unit| <inline=Unknown> {
local final [ResolvedTo(RAW_FIR)] fun boo(): R|kotlin/String| {
^boo this@R|special/anonymous|.R|/A.prop|.R|kotlin/String.toString|()
public? [ResolvedTo(RAW_FIR)] constructor(): R|D| {
super<A>([ResolvedTo(RAW_FIR)] fun <implicit>.<anonymous>(): <implicit> <inline=Unknown> {
local final? [ResolvedTo(RAW_FIR)] fun boo(): <implicit> {
^boo prop#.toString#()
}
}
@@ -1,9 +1,9 @@
FILE: [ResolvedTo(IMPORTS)] topLevelExpressionBodyFunWithTypeScript.kts
context(<script>@R|kotlin/script/templates/standard/ScriptTemplateWithArgs|)
context(<script>@kotlin.script.templates.standard.ScriptTemplateWithArgs)
SCRIPT: [ResolvedTo(BODY_RESOLVE)]
[ResolvedTo(RAW_FIR)] lval args: R|kotlin/Array<kotlin/String>|
public final [ResolvedTo(RAW_FIR)] fun foo(): R|kotlin/Int| {
^foo Int(42)
public? final? [ResolvedTo(RAW_FIR)] fun foo(): Int {
^foo IntegerLiteral(42)
}
@@ -1,9 +1,9 @@
FILE: [ResolvedTo(IMPORTS)] topLevelExpressionBodyFunWithoutTypeScript.kts
context(<script>@R|kotlin/script/templates/standard/ScriptTemplateWithArgs|)
context(<script>@kotlin.script.templates.standard.ScriptTemplateWithArgs)
SCRIPT: [ResolvedTo(BODY_RESOLVE)]
[ResolvedTo(RAW_FIR)] lval args: R|kotlin/Array<kotlin/String>|
public final [ResolvedTo(RAW_FIR)] fun foo(): R|kotlin/Int| {
^foo Int(42)
public? final? [ResolvedTo(RAW_FIR)] fun foo(): <implicit> {
^foo IntegerLiteral(42)
}
@@ -1,10 +1,10 @@
FILE: [ResolvedTo(IMPORTS)] topLevelFunWithTypeScript.kts
context(<script>@R|kotlin/script/templates/standard/ScriptTemplateWithArgs|)
context(<script>@kotlin.script.templates.standard.ScriptTemplateWithArgs)
SCRIPT: [ResolvedTo(BODY_RESOLVE)]
[ResolvedTo(RAW_FIR)] lval args: R|kotlin/Array<kotlin/String>|
public final [ResolvedTo(RAW_FIR)] fun foo(): R|kotlin/Int| {
<Unresolved name: println>#(String())
^foo Int(10)
public? final? [ResolvedTo(RAW_FIR)] fun foo(): Int {
println#(String())
^foo IntegerLiteral(10)
}
@@ -1,20 +1,20 @@
FILE: [ResolvedTo(IMPORTS)] topLevelPropertyScript.kts
context(<script>@R|kotlin/script/templates/standard/ScriptTemplateWithArgs|)
context(<script>@kotlin.script.templates.standard.ScriptTemplateWithArgs)
SCRIPT: [ResolvedTo(BODY_RESOLVE)]
[ResolvedTo(RAW_FIR)] lval args: R|kotlin/Array<kotlin/String>|
public final [ResolvedTo(RAW_FIR)] var x: R|kotlin/Int|
public [ResolvedTo(RAW_FIR)] get(): R|kotlin/Int| {
^ F|/x|
public? final? [ResolvedTo(RAW_FIR)] var x: Int
public? [ResolvedTo(RAW_FIR)] get(): Int {
^ field#
}
public [ResolvedTo(RAW_FIR)] set([ResolvedTo(RAW_FIR)] value: R|kotlin/Int|): R|kotlin/Unit| {
F|/x| = R|<local>/value|
public? [ResolvedTo(RAW_FIR)] set([ResolvedTo(RAW_FIR)] value: Int): R|kotlin/Unit| {
field# = value#
}
public final [ResolvedTo(RAW_FIR)] val y: R|kotlin/Int| = Int(42)
public [ResolvedTo(RAW_FIR)] get(): R|kotlin/Int|
public? final? [ResolvedTo(RAW_FIR)] val y: <implicit> = IntegerLiteral(42)
public? [ResolvedTo(RAW_FIR)] get(): <implicit>
public final [ResolvedTo(RAW_FIR)] var z: R|kotlin/Int| = Int(15)
public [ResolvedTo(RAW_FIR)] get(): R|kotlin/Int|
public [ResolvedTo(RAW_FIR)] set([ResolvedTo(RAW_FIR)] value: R|kotlin/Int|): R|kotlin/Unit|
public? final? [ResolvedTo(RAW_FIR)] var z: Int = IntegerLiteral(15)
public? [ResolvedTo(RAW_FIR)] get(): Int
public? [ResolvedTo(RAW_FIR)] set([ResolvedTo(RAW_FIR)] value: Int): R|kotlin/Unit|
@@ -1,9 +1,9 @@
FILE: [ResolvedTo(IMPORTS)] topLevelUnitFunScript.kts
context(<script>@R|kotlin/script/templates/standard/ScriptTemplateWithArgs|)
context(<script>@kotlin.script.templates.standard.ScriptTemplateWithArgs)
SCRIPT: [ResolvedTo(BODY_RESOLVE)]
[ResolvedTo(RAW_FIR)] lval args: R|kotlin/Array<kotlin/String>|
public final [ResolvedTo(RAW_FIR)] fun foo(): R|kotlin/Unit| {
<Unresolved name: println>#(String())
public? final? [ResolvedTo(RAW_FIR)] fun foo(): R|kotlin/Unit| {
println#(String())
}
@@ -1,45 +1,45 @@
FILE: [ResolvedTo(IMPORTS)] withoutNameScript.kts
context(<script>@R|kotlin/script/templates/standard/ScriptTemplateWithArgs|)
context(<script>@kotlin.script.templates.standard.ScriptTemplateWithArgs)
SCRIPT: [ResolvedTo(BODY_RESOLVE)]
[ResolvedTo(RAW_FIR)] lval args: R|kotlin/Array<kotlin/String>|
public final [ResolvedTo(RAW_FIR)] fun <no name provided>([ResolvedTo(RAW_FIR)] a: R|kotlin/Int| = Int(1)): R|kotlin/String| {
public? final? [ResolvedTo(RAW_FIR)] fun <no name provided>([ResolvedTo(RAW_FIR)] a: Int = IntegerLiteral(1)): String {
^<no name provided> String(str)
}
public final [ResolvedTo(RAW_FIR)] fun <no name provided>(): R|kotlin/Unit| {
public? final? [ResolvedTo(RAW_FIR)] fun <no name provided>(): R|kotlin/Unit| {
}
public final [ResolvedTo(RAW_FIR)] val <no name provided>: R|kotlin/Int| = Int(4)
public [ResolvedTo(RAW_FIR)] get(): R|kotlin/Int|
public? final? [ResolvedTo(RAW_FIR)] val <no name provided>: Int = IntegerLiteral(4)
public? [ResolvedTo(RAW_FIR)] get(): Int
public final [ResolvedTo(RAW_FIR)] var <no name provided>: R|kotlin/Int|
public [ResolvedTo(RAW_FIR)] get(): R|kotlin/Int| {
^ Int(4)
public? final? [ResolvedTo(RAW_FIR)] var <no name provided>: Int
public? [ResolvedTo(RAW_FIR)] get(): Int {
^ IntegerLiteral(4)
}
public [ResolvedTo(RAW_FIR)] set([ResolvedTo(RAW_FIR)] value: R|kotlin/Int|): R|kotlin/Unit| {
public? [ResolvedTo(RAW_FIR)] set([ResolvedTo(RAW_FIR)] value: Int): R|kotlin/Unit| {
}
public final [ResolvedTo(STATUS)] class A : R|kotlin/Any| {
public [ResolvedTo(STATUS)] constructor(): R|A| {
public? final? [ResolvedTo(RAW_FIR)] class A : R|kotlin/Any| {
public? [ResolvedTo(RAW_FIR)] constructor(): R|A| {
super<R|kotlin/Any|>()
}
public final [ResolvedTo(STATUS)] fun <no name provided>([ResolvedTo(STATUS)] a: R|kotlin/Int| = Int(1)): R|kotlin/String| {
public? final? [ResolvedTo(RAW_FIR)] fun <no name provided>([ResolvedTo(RAW_FIR)] a: Int = IntegerLiteral(1)): String {
^<no name provided> String(str)
}
public final [ResolvedTo(STATUS)] fun <no name provided>(): R|kotlin/Unit| {
public? final? [ResolvedTo(RAW_FIR)] fun <no name provided>(): R|kotlin/Unit| {
}
public final [ResolvedTo(STATUS)] val <no name provided>: R|kotlin/Int| = Int(4)
public [ResolvedTo(STATUS)] get(): R|kotlin/Int|
public? final? [ResolvedTo(RAW_FIR)] val <no name provided>: Int = IntegerLiteral(4)
public? [ResolvedTo(RAW_FIR)] get(): Int
public final [ResolvedTo(STATUS)] var <no name provided>: R|kotlin/Boolean|
public [ResolvedTo(STATUS)] get(): R|kotlin/Boolean| {
public? final? [ResolvedTo(RAW_FIR)] var <no name provided>: Boolean
public? [ResolvedTo(RAW_FIR)] get(): Boolean {
^ Boolean(true)
}
public [ResolvedTo(STATUS)] set([ResolvedTo(STATUS)] value: R|kotlin/Boolean|): R|kotlin/Unit| {
public? [ResolvedTo(RAW_FIR)] set([ResolvedTo(RAW_FIR)] value: Boolean): R|kotlin/Unit| {
}
}
@@ -7,22 +7,22 @@ String(y)
FIR FILE:
FILE: [ResolvedTo(IMPORTS)] annotationApplicationArgumentOnStatement.kts
context(<script>@R|kotlin/script/templates/standard/ScriptTemplateWithArgs|)
context(<script>@kotlin.script.templates.standard.ScriptTemplateWithArgs)
SCRIPT: [ResolvedTo(BODY_RESOLVE)]
[ResolvedTo(RAW_FIR)] lval args: R|kotlin/Array<kotlin/String>|
@R|kotlin/annotation/Target|[Types](allowedTargets = vararg(Q|kotlin/annotation/AnnotationTarget|.R|kotlin/annotation/AnnotationTarget.EXPRESSION|)) @R|kotlin/annotation/Retention|[Types](value = Q|kotlin/annotation/AnnotationRetention|.R|kotlin/annotation/AnnotationRetention.SOURCE|) public final [ResolvedTo(STATUS)] annotation class Annotation : R|kotlin/Annotation| {
public [ResolvedTo(STATUS)] [ContainingClassKey=Annotation] constructor([ResolvedTo(STATUS)] [CorrespondingProperty=/Annotation.name] name: R|kotlin/String|): R|Annotation| {
@Target[Unresolved](AnnotationTarget#.EXPRESSION#) @Retention[Unresolved](AnnotationRetention#.SOURCE#) public final? [ResolvedTo(RAW_FIR)] annotation class Annotation : R|kotlin/Annotation| {
public? [ResolvedTo(RAW_FIR)] [ContainingClassKey=Annotation] constructor([ResolvedTo(RAW_FIR)] [CorrespondingProperty=/Annotation.name] name: String): R|Annotation| {
super<R|kotlin/Any|>()
}
public final [ResolvedTo(STATUS)] [IsFromPrimaryConstructor=true] val name: R|kotlin/String| = R|<local>/name|
public [ResolvedTo(STATUS)] [ContainingClassKey=Annotation] get(): R|kotlin/String|
public? final? [ResolvedTo(RAW_FIR)] [IsFromPrimaryConstructor=true] val name: String = R|<local>/name|
public? [ResolvedTo(RAW_FIR)] [ContainingClassKey=Annotation] get(): String
}
public final [ResolvedTo(RAW_FIR)] fun x(): R|kotlin/Unit| {
public? final? [ResolvedTo(RAW_FIR)] fun x(): R|kotlin/Unit| {
}
public final [ResolvedTo(RAW_FIR)] val $$result: R|kotlin/Unit| = @R|Annotation|[Types](name = String(y)) R|/x|()
public [ResolvedTo(RAW_FIR)] get(): R|kotlin/Unit|
public final [ResolvedTo(RAW_FIR)] val $$result: <implicit> = @Annotation[Unresolved](String(y)) x#()
public [ResolvedTo(RAW_FIR)] get(): <implicit>
@@ -7,19 +7,19 @@ String(y)
FIR FILE:
FILE: [ResolvedTo(IMPORTS)] annotationApplicationArgumentScript.kts
context(<script>@R|kotlin/script/templates/standard/ScriptTemplateWithArgs|)
context(<script>@kotlin.script.templates.standard.ScriptTemplateWithArgs)
SCRIPT: [ResolvedTo(BODY_RESOLVE)]
[ResolvedTo(RAW_FIR)] lval args: R|kotlin/Array<kotlin/String>|
public final [ResolvedTo(STATUS)] annotation class Annotation : R|kotlin/Annotation| {
public [ResolvedTo(STATUS)] [ContainingClassKey=Annotation] constructor([ResolvedTo(STATUS)] [CorrespondingProperty=/Annotation.name] name: R|kotlin/String|): R|Annotation| {
public final? [ResolvedTo(RAW_FIR)] annotation class Annotation : R|kotlin/Annotation| {
public? [ResolvedTo(RAW_FIR)] [ContainingClassKey=Annotation] constructor([ResolvedTo(RAW_FIR)] [CorrespondingProperty=/Annotation.name] name: String): R|Annotation| {
super<R|kotlin/Any|>()
}
public final [ResolvedTo(STATUS)] [IsFromPrimaryConstructor=true] val name: R|kotlin/String| = R|<local>/name|
public [ResolvedTo(STATUS)] [ContainingClassKey=Annotation] get(): R|kotlin/String|
public? final? [ResolvedTo(RAW_FIR)] [IsFromPrimaryConstructor=true] val name: String = R|<local>/name|
public? [ResolvedTo(RAW_FIR)] [ContainingClassKey=Annotation] get(): String
}
@R|Annotation|[Types](name = String(y)) public final [ResolvedTo(RAW_FIR)] fun x(): R|kotlin/Unit| {
@Annotation[Unresolved](String(y)) public? final? [ResolvedTo(RAW_FIR)] fun x(): R|kotlin/Unit| {
}
@@ -3,13 +3,13 @@ FIR element: FirAnnotationCallImpl
FIR source kind: KtRealSourceElementKind
FIR element rendered:
@R|kotlin/Suppress|[Types](names = vararg(String()))
@Suppress[Unresolved](String())
FIR FILE:
FILE: [ResolvedTo(IMPORTS)] annotationApplicationCallExpressionScript.kts
context(<script>@R|kotlin/script/templates/standard/ScriptTemplateWithArgs|)
context(<script>@kotlin.script.templates.standard.ScriptTemplateWithArgs)
SCRIPT: [ResolvedTo(BODY_RESOLVE)]
[ResolvedTo(RAW_FIR)] lval args: R|kotlin/Array<kotlin/String>|
@R|kotlin/Suppress|[Types](names = vararg(String())) public final [ResolvedTo(RAW_FIR)] fun x(): R|kotlin/Unit| {
@Suppress[Unresolved](String()) public? final? [ResolvedTo(RAW_FIR)] fun x(): R|kotlin/Unit| {
}
@@ -3,14 +3,14 @@ FIR element: FirAnnotationCallImpl
FIR source kind: KtRealSourceElementKind
FIR element rendered:
@<ERROR TYPE REF: HIDDEN: kotlin/internal/NoInfer is invisible>[Unresolved]()
@kotlin.internal.NoInfer[Unresolved]()
FIR FILE:
FILE: [ResolvedTo(IMPORTS)] annotationOnReturnTypeScript.kts
context(<script>@R|kotlin/script/templates/standard/ScriptTemplateWithArgs|)
context(<script>@kotlin.script.templates.standard.ScriptTemplateWithArgs)
SCRIPT: [ResolvedTo(BODY_RESOLVE)]
[ResolvedTo(RAW_FIR)] lval args: R|kotlin/Array<kotlin/String>|
public final [ResolvedTo(RAW_FIR)] fun <reified [ResolvedTo(RAW_FIR)] T : R|kotlin/Number|> R|kotlin/String|.collectOfType([ResolvedTo(RAW_FIR)] i: R|kotlin/Int|): <ERROR TYPE REF: Symbol not found for Sequence> {
^collectOfType Int(4)
public? final? [ResolvedTo(RAW_FIR)] fun <reified [ResolvedTo(RAW_FIR)] T : Number> String.collectOfType([ResolvedTo(RAW_FIR)] i: Int): Sequence<@kotlin.internal.NoInfer[Unresolved]() T> {
^collectOfType IntegerLiteral(4)
}
@@ -1,18 +1,18 @@
KT element: KtNameReferenceExpression
FIR element: FirResolvedNamedReferenceImpl
FIR element: FirPropertyAccessExpressionImpl
FIR source kind: KtRealSourceElementKind
FIR element rendered:
R|kotlin/annotation/AnnotationRetention.SOURCE|
AnnotationRetention#.SOURCE#
FIR FILE:
FILE: [ResolvedTo(IMPORTS)] retentionValueScript.kts
context(<script>@R|kotlin/script/templates/standard/ScriptTemplateWithArgs|)
context(<script>@kotlin.script.templates.standard.ScriptTemplateWithArgs)
SCRIPT: [ResolvedTo(BODY_RESOLVE)]
[ResolvedTo(RAW_FIR)] lval args: R|kotlin/Array<kotlin/String>|
@R|kotlin/annotation/Retention|[Types](value = Q|kotlin/annotation/AnnotationRetention|.R|kotlin/annotation/AnnotationRetention.SOURCE|) public final [ResolvedTo(STATUS)] annotation class Anno : R|kotlin/Annotation| {
public [ResolvedTo(STATUS)] [ContainingClassKey=Anno] constructor(): R|Anno| {
@Retention[Unresolved](AnnotationRetention#.SOURCE#) public? final? [ResolvedTo(RAW_FIR)] annotation class Anno : R|kotlin/Annotation| {
public? [ResolvedTo(RAW_FIR)] [ContainingClassKey=Anno] constructor(): R|Anno| {
super<R|kotlin/Any|>()
}
@@ -3,16 +3,16 @@ FIR element: FirAnnotationCallImpl
FIR source kind: KtRealSourceElementKind
FIR element rendered:
@R|kotlin/Suppress|[Types](names = vararg(String()))
@Suppress[Unresolved](String())
FIR FILE:
FILE: [ResolvedTo(IMPORTS)] statementAnnotation.kts
context(<script>@R|kotlin/script/templates/standard/ScriptTemplateWithArgs|)
context(<script>@kotlin.script.templates.standard.ScriptTemplateWithArgs)
SCRIPT: [ResolvedTo(BODY_RESOLVE)]
[ResolvedTo(RAW_FIR)] lval args: R|kotlin/Array<kotlin/String>|
public final [ResolvedTo(RAW_FIR)] fun foo(): R|kotlin/Unit| {
public? final? [ResolvedTo(RAW_FIR)] fun foo(): R|kotlin/Unit| {
}
public final [ResolvedTo(RAW_FIR)] val $$result: R|kotlin/Unit| = @R|kotlin/Suppress|[Types](names = vararg(String())) R|/foo|()
public [ResolvedTo(RAW_FIR)] get(): R|kotlin/Unit|
public final [ResolvedTo(RAW_FIR)] val $$result: <implicit> = @Suppress[Unresolved](String()) foo#()
public [ResolvedTo(RAW_FIR)] get(): <implicit>
@@ -3,31 +3,31 @@ FIR element: FirAnnotationCallImpl
FIR source kind: KtRealSourceElementKind
FIR element rendered:
@R|Anno|[Types]()
@Anno[Unresolved]()
FIR FILE:
FILE: [ResolvedTo(IMPORTS)] superCallAnnotationScript.kts
context(<script>@R|kotlin/script/templates/standard/ScriptTemplateWithArgs|)
context(<script>@kotlin.script.templates.standard.ScriptTemplateWithArgs)
SCRIPT: [ResolvedTo(BODY_RESOLVE)]
[ResolvedTo(RAW_FIR)] lval args: R|kotlin/Array<kotlin/String>|
@R|kotlin/annotation/Target|[Types](allowedTargets = vararg(Q|kotlin/annotation/AnnotationTarget|.R|kotlin/annotation/AnnotationTarget.TYPE|)) public final [ResolvedTo(STATUS)] annotation class Anno : R|kotlin/Annotation| {
public [ResolvedTo(STATUS)] [ContainingClassKey=Anno] constructor(): R|Anno| {
@Target[Unresolved](AnnotationTarget#.TYPE#) public? final? [ResolvedTo(RAW_FIR)] annotation class Anno : R|kotlin/Annotation| {
public? [ResolvedTo(RAW_FIR)] [ContainingClassKey=Anno] constructor(): R|Anno| {
super<R|kotlin/Any|>()
}
}
public open [ResolvedTo(STATUS)] class A : R|kotlin/Any| {
public [ResolvedTo(STATUS)] [ContainingClassKey=A] constructor(): R|A| {
public? open [ResolvedTo(RAW_FIR)] class A : R|kotlin/Any| {
public? [ResolvedTo(RAW_FIR)] [ContainingClassKey=A] constructor(): R|A| {
super<R|kotlin/Any|>()
}
}
public final [ResolvedTo(STATUS)] class B : R|@R|Anno|() A| {
public [ResolvedTo(STATUS)] [ContainingClassKey=B] constructor(): R|B| {
super<R|@R|Anno|() A|>()
public? final? [ResolvedTo(RAW_FIR)] class B : @Anno[Unresolved]() A {
public? [ResolvedTo(RAW_FIR)] [ContainingClassKey=B] constructor(): R|B| {
super<@Anno[Unresolved]() A>()
}
}
@@ -7,23 +7,23 @@ String(abc)
FIR FILE:
FILE: [ResolvedTo(IMPORTS)] typeOnAnnotationOnConstructorParameterExpressionScript.kts
context(<script>@R|kotlin/script/templates/standard/ScriptTemplateWithArgs|)
context(<script>@kotlin.script.templates.standard.ScriptTemplateWithArgs)
SCRIPT: [ResolvedTo(BODY_RESOLVE)]
[ResolvedTo(RAW_FIR)] lval args: R|kotlin/Array<kotlin/String>|
public final [ResolvedTo(STATUS)] class ResolveMe : R|kotlin/Any| {
public [ResolvedTo(STATUS)] [ContainingClassKey=ResolveMe] constructor([ResolvedTo(STATUS)] addCommaWarning: R|@R|Anno|(s = String(abc)) kotlin/Boolean| = Boolean(false)): R|ResolveMe| {
public? final? [ResolvedTo(RAW_FIR)] class ResolveMe : R|kotlin/Any| {
public? [ResolvedTo(RAW_FIR)] [ContainingClassKey=ResolveMe] constructor([ResolvedTo(RAW_FIR)] addCommaWarning: @Anno[Unresolved](String(abc)) Boolean = Boolean(false)): R|ResolveMe| {
super<R|kotlin/Any|>()
}
}
@R|kotlin/annotation/Target|[Types](allowedTargets = vararg(Q|kotlin/annotation/AnnotationTarget|.R|kotlin/annotation/AnnotationTarget.TYPE|)) public final [ResolvedTo(STATUS)] annotation class Anno : R|kotlin/Annotation| {
public [ResolvedTo(STATUS)] [ContainingClassKey=Anno] constructor([ResolvedTo(STATUS)] [CorrespondingProperty=/Anno.s] s: R|kotlin/String|): R|Anno| {
@Target[Unresolved](AnnotationTarget#.TYPE#) public? final? [ResolvedTo(RAW_FIR)] annotation class Anno : R|kotlin/Annotation| {
public? [ResolvedTo(RAW_FIR)] [ContainingClassKey=Anno] constructor([ResolvedTo(RAW_FIR)] [CorrespondingProperty=/Anno.s] s: String): R|Anno| {
super<R|kotlin/Any|>()
}
public final [ResolvedTo(STATUS)] [IsFromPrimaryConstructor=true] val s: R|kotlin/String| = R|<local>/s|
public [ResolvedTo(STATUS)] [ContainingClassKey=Anno] get(): R|kotlin/String|
public? final? [ResolvedTo(RAW_FIR)] [IsFromPrimaryConstructor=true] val s: String = R|<local>/s|
public? [ResolvedTo(RAW_FIR)] [ContainingClassKey=Anno] get(): String
}
@@ -3,26 +3,26 @@ FIR element: FirAnnotationCallImpl
FIR source kind: KtRealSourceElementKind
FIR element rendered:
@R|Anno|[Types]()
@Anno[Unresolved]()
FIR FILE:
FILE: [ResolvedTo(IMPORTS)] typeOnAnnotationOnFunctionParameterScript.kts
context(<script>@R|kotlin/script/templates/standard/ScriptTemplateWithArgs|)
context(<script>@kotlin.script.templates.standard.ScriptTemplateWithArgs)
SCRIPT: [ResolvedTo(BODY_RESOLVE)]
[ResolvedTo(RAW_FIR)] lval args: R|kotlin/Array<kotlin/String>|
public final [ResolvedTo(RAW_FIR)] fun t([ResolvedTo(RAW_FIR)] addCommaWarning: R|@R|Anno|() kotlin/Boolean|): R|kotlin/Unit| {
public? final? [ResolvedTo(RAW_FIR)] fun t([ResolvedTo(RAW_FIR)] addCommaWarning: @Anno[Unresolved]() Boolean): R|kotlin/Unit| {
}
public open [ResolvedTo(STATUS)] class A : R|kotlin/Any| {
public [ResolvedTo(STATUS)] [ContainingClassKey=A] constructor(): R|A| {
public? open [ResolvedTo(RAW_FIR)] class A : R|kotlin/Any| {
public? [ResolvedTo(RAW_FIR)] [ContainingClassKey=A] constructor(): R|A| {
super<R|kotlin/Any|>()
}
}
@R|kotlin/annotation/Target|[Types](allowedTargets = vararg(Q|kotlin/annotation/AnnotationTarget|.R|kotlin/annotation/AnnotationTarget.TYPE|)) public final [ResolvedTo(STATUS)] annotation class Anno : R|kotlin/Annotation| {
public [ResolvedTo(STATUS)] [ContainingClassKey=Anno] constructor(): R|Anno| {
@Target[Unresolved](AnnotationTarget#.TYPE#) public? final? [ResolvedTo(RAW_FIR)] annotation class Anno : R|kotlin/Annotation| {
public? [ResolvedTo(RAW_FIR)] [ContainingClassKey=Anno] constructor(): R|Anno| {
super<R|kotlin/Any|>()
}
@@ -3,30 +3,30 @@ FIR element: FirAnnotationCallImpl
FIR source kind: KtRealSourceElementKind
FIR element rendered:
@R|Anno|[Types](value = String(abcd))
@Anno[Unresolved](String(abcd))
FIR FILE:
FILE: [ResolvedTo(IMPORTS)] typeOnAnnotationOnFunctionParameterWithArgumentsScript.kts
context(<script>@R|kotlin/script/templates/standard/ScriptTemplateWithArgs|)
context(<script>@kotlin.script.templates.standard.ScriptTemplateWithArgs)
SCRIPT: [ResolvedTo(BODY_RESOLVE)]
[ResolvedTo(RAW_FIR)] lval args: R|kotlin/Array<kotlin/String>|
public final [ResolvedTo(RAW_FIR)] fun t([ResolvedTo(RAW_FIR)] addCommaWarning: R|@R|Anno|(value = String(abcd)) kotlin/Boolean|): R|kotlin/Unit| {
public? final? [ResolvedTo(RAW_FIR)] fun t([ResolvedTo(RAW_FIR)] addCommaWarning: @Anno[Unresolved](String(abcd)) Boolean): R|kotlin/Unit| {
}
public open [ResolvedTo(STATUS)] class A : R|kotlin/Any| {
public [ResolvedTo(STATUS)] [ContainingClassKey=A] constructor(): R|A| {
public? open [ResolvedTo(RAW_FIR)] class A : R|kotlin/Any| {
public? [ResolvedTo(RAW_FIR)] [ContainingClassKey=A] constructor(): R|A| {
super<R|kotlin/Any|>()
}
}
@R|kotlin/annotation/Target|[Types](allowedTargets = vararg(Q|kotlin/annotation/AnnotationTarget|.R|kotlin/annotation/AnnotationTarget.TYPE|)) public final [ResolvedTo(STATUS)] annotation class Anno : R|kotlin/Annotation| {
public [ResolvedTo(STATUS)] [ContainingClassKey=Anno] constructor([ResolvedTo(STATUS)] [CorrespondingProperty=/Anno.value] value: R|kotlin/String|): R|Anno| {
@Target[Unresolved](AnnotationTarget#.TYPE#) public? final? [ResolvedTo(RAW_FIR)] annotation class Anno : R|kotlin/Annotation| {
public? [ResolvedTo(RAW_FIR)] [ContainingClassKey=Anno] constructor([ResolvedTo(RAW_FIR)] [CorrespondingProperty=/Anno.value] value: String): R|Anno| {
super<R|kotlin/Any|>()
}
public final [ResolvedTo(STATUS)] [IsFromPrimaryConstructor=true] val value: R|kotlin/String| = R|<local>/value|
public [ResolvedTo(STATUS)] [ContainingClassKey=Anno] get(): R|kotlin/String|
public? final? [ResolvedTo(RAW_FIR)] [IsFromPrimaryConstructor=true] val value: String = R|<local>/value|
public? [ResolvedTo(RAW_FIR)] [ContainingClassKey=Anno] get(): String
}
@@ -3,24 +3,24 @@ FIR element: FirAnnotationCallImpl
FIR source kind: KtRealSourceElementKind
FIR element rendered:
@R|Anno|[Types](s = String(ab))
@Anno[Unresolved](String(ab))
FIR FILE:
FILE: [ResolvedTo(IMPORTS)] typeOnAnnotationOnReceiverFunctionScript.kts
context(<script>@R|kotlin/script/templates/standard/ScriptTemplateWithArgs|)
context(<script>@kotlin.script.templates.standard.ScriptTemplateWithArgs)
SCRIPT: [ResolvedTo(BODY_RESOLVE)]
[ResolvedTo(RAW_FIR)] lval args: R|kotlin/Array<kotlin/String>|
public final [ResolvedTo(RAW_FIR)] fun R|@R|Anno|(s = String(ab)) kotlin/Int|.check(): R|kotlin/Int| {
^check Int(1)
public? final? [ResolvedTo(RAW_FIR)] fun @Anno[Unresolved](String(ab)) Int.check(): <implicit> {
^check IntegerLiteral(1)
}
@R|kotlin/annotation/Target|[Types](allowedTargets = vararg(Q|kotlin/annotation/AnnotationTarget|.R|kotlin/annotation/AnnotationTarget.TYPE|)) public final [ResolvedTo(STATUS)] annotation class Anno : R|kotlin/Annotation| {
public [ResolvedTo(STATUS)] [ContainingClassKey=Anno] constructor([ResolvedTo(STATUS)] [CorrespondingProperty=/Anno.s] s: R|kotlin/String|): R|Anno| {
@Target[Unresolved](AnnotationTarget#.TYPE#) public? final? [ResolvedTo(RAW_FIR)] annotation class Anno : R|kotlin/Annotation| {
public? [ResolvedTo(RAW_FIR)] [ContainingClassKey=Anno] constructor([ResolvedTo(RAW_FIR)] [CorrespondingProperty=/Anno.s] s: String): R|Anno| {
super<R|kotlin/Any|>()
}
public final [ResolvedTo(STATUS)] [IsFromPrimaryConstructor=true] val s: R|kotlin/String| = R|<local>/s|
public [ResolvedTo(STATUS)] [ContainingClassKey=Anno] get(): R|kotlin/String|
public? final? [ResolvedTo(RAW_FIR)] [IsFromPrimaryConstructor=true] val s: String = R|<local>/s|
public? [ResolvedTo(RAW_FIR)] [ContainingClassKey=Anno] get(): String
}
@@ -3,24 +3,24 @@ FIR element: FirAnnotationCallImpl
FIR source kind: FromUseSiteTarget
FIR element rendered:
@RECEIVER:R|Anno|[Types](s = String(ab))
@RECEIVER:Anno[Unresolved](String(ab))
FIR FILE:
FILE: [ResolvedTo(IMPORTS)] typeOnAnnotationOnReceiverParameterScript.kts
context(<script>@R|kotlin/script/templates/standard/ScriptTemplateWithArgs|)
context(<script>@kotlin.script.templates.standard.ScriptTemplateWithArgs)
SCRIPT: [ResolvedTo(BODY_RESOLVE)]
[ResolvedTo(RAW_FIR)] lval args: R|kotlin/Array<kotlin/String>|
public final [ResolvedTo(RAW_FIR)] fun @RECEIVER:R|Anno|[Types](s = String(ab)) R|kotlin/Int|.check(): R|kotlin/Int| {
^check Int(1)
public? final? [ResolvedTo(RAW_FIR)] fun @RECEIVER:Anno[Unresolved](String(ab)) Int.check(): <implicit> {
^check IntegerLiteral(1)
}
@R|kotlin/annotation/Target|[Types](allowedTargets = vararg(Q|kotlin/annotation/AnnotationTarget|.R|kotlin/annotation/AnnotationTarget.TYPE|)) public final [ResolvedTo(STATUS)] annotation class Anno : R|kotlin/Annotation| {
public [ResolvedTo(STATUS)] [ContainingClassKey=Anno] constructor([ResolvedTo(STATUS)] [CorrespondingProperty=/Anno.s] s: R|kotlin/String|): R|Anno| {
@Target[Unresolved](AnnotationTarget#.TYPE#) public? final? [ResolvedTo(RAW_FIR)] annotation class Anno : R|kotlin/Annotation| {
public? [ResolvedTo(RAW_FIR)] [ContainingClassKey=Anno] constructor([ResolvedTo(RAW_FIR)] [CorrespondingProperty=/Anno.s] s: String): R|Anno| {
super<R|kotlin/Any|>()
}
public final [ResolvedTo(STATUS)] [IsFromPrimaryConstructor=true] val s: R|kotlin/String| = R|<local>/s|
public [ResolvedTo(STATUS)] [ContainingClassKey=Anno] get(): R|kotlin/String|
public? final? [ResolvedTo(RAW_FIR)] [IsFromPrimaryConstructor=true] val s: String = R|<local>/s|
public? [ResolvedTo(RAW_FIR)] [ContainingClassKey=Anno] get(): String
}
@@ -1,27 +1,27 @@
KT element: KtTypeReference
FIR element: FirResolvedTypeRefImpl
FIR element: FirAnnotationCallImpl
FIR source kind: KtRealSourceElementKind
FIR element rendered:
R|Anno|
@Anno[Unresolved](String(a))
FIR FILE:
FILE: [ResolvedTo(IMPORTS)] typeOnAnnotationOnReceiverPropertyCallScript.kts
context(<script>@R|kotlin/script/templates/standard/ScriptTemplateWithArgs|)
context(<script>@kotlin.script.templates.standard.ScriptTemplateWithArgs)
SCRIPT: [ResolvedTo(BODY_RESOLVE)]
[ResolvedTo(RAW_FIR)] lval args: R|kotlin/Array<kotlin/String>|
public final [ResolvedTo(RAW_FIR)] val R|@R|Anno|(s = String(a)) kotlin/Int|.i: R|kotlin/String|
public [ResolvedTo(RAW_FIR)] get(): R|kotlin/String| {
public? final? [ResolvedTo(RAW_FIR)] val @Anno[Unresolved](String(a)) Int.i: String
public? [ResolvedTo(RAW_FIR)] get(): String {
^ String()
}
@R|kotlin/annotation/Target|[Types](allowedTargets = vararg(Q|kotlin/annotation/AnnotationTarget|.R|kotlin/annotation/AnnotationTarget.TYPE|)) public final [ResolvedTo(STATUS)] annotation class Anno : R|kotlin/Annotation| {
public [ResolvedTo(STATUS)] [ContainingClassKey=Anno] constructor([ResolvedTo(STATUS)] [CorrespondingProperty=/Anno.s] s: R|kotlin/String|): R|Anno| {
@Target[Unresolved](AnnotationTarget#.TYPE#) public? final? [ResolvedTo(RAW_FIR)] annotation class Anno : R|kotlin/Annotation| {
public? [ResolvedTo(RAW_FIR)] [ContainingClassKey=Anno] constructor([ResolvedTo(RAW_FIR)] [CorrespondingProperty=/Anno.s] s: String): R|Anno| {
super<R|kotlin/Any|>()
}
public final [ResolvedTo(STATUS)] [IsFromPrimaryConstructor=true] val s: R|kotlin/String| = R|<local>/s|
public [ResolvedTo(STATUS)] [ContainingClassKey=Anno] get(): R|kotlin/String|
public? final? [ResolvedTo(RAW_FIR)] [IsFromPrimaryConstructor=true] val s: String = R|<local>/s|
public? [ResolvedTo(RAW_FIR)] [ContainingClassKey=Anno] get(): String
}
@@ -3,25 +3,25 @@ FIR element: FirAnnotationCallImpl
FIR source kind: KtRealSourceElementKind
FIR element rendered:
@R|Anno|[Types](s = String(a))
@Anno[Unresolved](String(a))
FIR FILE:
FILE: [ResolvedTo(IMPORTS)] typeOnAnnotationOnReceiverPropertyScript.kts
context(<script>@R|kotlin/script/templates/standard/ScriptTemplateWithArgs|)
context(<script>@kotlin.script.templates.standard.ScriptTemplateWithArgs)
SCRIPT: [ResolvedTo(BODY_RESOLVE)]
[ResolvedTo(RAW_FIR)] lval args: R|kotlin/Array<kotlin/String>|
public final [ResolvedTo(RAW_FIR)] val R|@R|Anno|(s = String(a)) kotlin/Int|.i: R|kotlin/String|
public [ResolvedTo(RAW_FIR)] get(): R|kotlin/String| {
public? final? [ResolvedTo(RAW_FIR)] val @Anno[Unresolved](String(a)) Int.i: String
public? [ResolvedTo(RAW_FIR)] get(): String {
^ String()
}
@R|kotlin/annotation/Target|[Types](allowedTargets = vararg(Q|kotlin/annotation/AnnotationTarget|.R|kotlin/annotation/AnnotationTarget.TYPE|)) public final [ResolvedTo(STATUS)] annotation class Anno : R|kotlin/Annotation| {
public [ResolvedTo(STATUS)] [ContainingClassKey=Anno] constructor([ResolvedTo(STATUS)] [CorrespondingProperty=/Anno.s] s: R|kotlin/String|): R|Anno| {
@Target[Unresolved](AnnotationTarget#.TYPE#) public? final? [ResolvedTo(RAW_FIR)] annotation class Anno : R|kotlin/Annotation| {
public? [ResolvedTo(RAW_FIR)] [ContainingClassKey=Anno] constructor([ResolvedTo(RAW_FIR)] [CorrespondingProperty=/Anno.s] s: String): R|Anno| {
super<R|kotlin/Any|>()
}
public final [ResolvedTo(STATUS)] [IsFromPrimaryConstructor=true] val s: R|kotlin/String| = R|<local>/s|
public [ResolvedTo(STATUS)] [ContainingClassKey=Anno] get(): R|kotlin/String|
public? final? [ResolvedTo(RAW_FIR)] [IsFromPrimaryConstructor=true] val s: String = R|<local>/s|
public? [ResolvedTo(RAW_FIR)] [ContainingClassKey=Anno] get(): String
}
@@ -3,24 +3,24 @@ FIR element: FirAnnotationCallImpl
FIR source kind: KtRealSourceElementKind
FIR element rendered:
@R|Anno|[Types](s = String(ab))
@Anno[Unresolved](String(ab))
FIR FILE:
FILE: [ResolvedTo(IMPORTS)] typeOnAnnotationOnReturnFunctionScript.kts
context(<script>@R|kotlin/script/templates/standard/ScriptTemplateWithArgs|)
context(<script>@kotlin.script.templates.standard.ScriptTemplateWithArgs)
SCRIPT: [ResolvedTo(BODY_RESOLVE)]
[ResolvedTo(RAW_FIR)] lval args: R|kotlin/Array<kotlin/String>|
public final [ResolvedTo(RAW_FIR)] fun check(): R|@R|Anno|(s = String(ab)) kotlin/Int| {
^check Int(1)
public? final? [ResolvedTo(RAW_FIR)] fun check(): @Anno[Unresolved](String(ab)) Int {
^check IntegerLiteral(1)
}
@R|kotlin/annotation/Target|[Types](allowedTargets = vararg(Q|kotlin/annotation/AnnotationTarget|.R|kotlin/annotation/AnnotationTarget.TYPE|)) public final [ResolvedTo(STATUS)] annotation class Anno : R|kotlin/Annotation| {
public [ResolvedTo(STATUS)] [ContainingClassKey=Anno] constructor([ResolvedTo(STATUS)] [CorrespondingProperty=/Anno.s] s: R|kotlin/String|): R|Anno| {
@Target[Unresolved](AnnotationTarget#.TYPE#) public? final? [ResolvedTo(RAW_FIR)] annotation class Anno : R|kotlin/Annotation| {
public? [ResolvedTo(RAW_FIR)] [ContainingClassKey=Anno] constructor([ResolvedTo(RAW_FIR)] [CorrespondingProperty=/Anno.s] s: String): R|Anno| {
super<R|kotlin/Any|>()
}
public final [ResolvedTo(STATUS)] [IsFromPrimaryConstructor=true] val s: R|kotlin/String| = R|<local>/s|
public [ResolvedTo(STATUS)] [ContainingClassKey=Anno] get(): R|kotlin/String|
public? final? [ResolvedTo(RAW_FIR)] [IsFromPrimaryConstructor=true] val s: String = R|<local>/s|
public? [ResolvedTo(RAW_FIR)] [ContainingClassKey=Anno] get(): String
}
@@ -3,23 +3,23 @@ FIR element: FirAnnotationCallImpl
FIR source kind: KtRealSourceElementKind
FIR element rendered:
@R|Anno|[Types](s = String(ab))
@Anno[Unresolved](String(ab))
FIR FILE:
FILE: [ResolvedTo(IMPORTS)] typeOnAnnotationOnReturnPropertyScript.kts
context(<script>@R|kotlin/script/templates/standard/ScriptTemplateWithArgs|)
context(<script>@kotlin.script.templates.standard.ScriptTemplateWithArgs)
SCRIPT: [ResolvedTo(BODY_RESOLVE)]
[ResolvedTo(RAW_FIR)] lval args: R|kotlin/Array<kotlin/String>|
public final [ResolvedTo(RAW_FIR)] val i: R|@R|Anno|(s = String(ab)) kotlin/Int| = Int(1)
public [ResolvedTo(RAW_FIR)] get(): R|@R|Anno|(s = String(ab)) kotlin/Int|
public? final? [ResolvedTo(RAW_FIR)] val i: @Anno[Unresolved](String(ab)) Int = IntegerLiteral(1)
public? [ResolvedTo(RAW_FIR)] get(): @Anno[Unresolved](String(ab)) Int
@R|kotlin/annotation/Target|[Types](allowedTargets = vararg(Q|kotlin/annotation/AnnotationTarget|.R|kotlin/annotation/AnnotationTarget.TYPE|)) public final [ResolvedTo(STATUS)] annotation class Anno : R|kotlin/Annotation| {
public [ResolvedTo(STATUS)] [ContainingClassKey=Anno] constructor([ResolvedTo(STATUS)] [CorrespondingProperty=/Anno.s] s: R|kotlin/String|): R|Anno| {
@Target[Unresolved](AnnotationTarget#.TYPE#) public? final? [ResolvedTo(RAW_FIR)] annotation class Anno : R|kotlin/Annotation| {
public? [ResolvedTo(RAW_FIR)] [ContainingClassKey=Anno] constructor([ResolvedTo(RAW_FIR)] [CorrespondingProperty=/Anno.s] s: String): R|Anno| {
super<R|kotlin/Any|>()
}
public final [ResolvedTo(STATUS)] [IsFromPrimaryConstructor=true] val s: R|kotlin/String| = R|<local>/s|
public [ResolvedTo(STATUS)] [ContainingClassKey=Anno] get(): R|kotlin/String|
public? final? [ResolvedTo(RAW_FIR)] [IsFromPrimaryConstructor=true] val s: String = R|<local>/s|
public? [ResolvedTo(RAW_FIR)] [ContainingClassKey=Anno] get(): String
}
@@ -3,32 +3,32 @@ FIR element: FirAnnotationCallImpl
FIR source kind: KtRealSourceElementKind
FIR element rendered:
@PROPERTY_DELEGATE_FIELD:R|Ann|[Types]()
@PROPERTY_DELEGATE_FIELD:Ann[Unresolved]()
FIR FILE:
FILE: [ResolvedTo(IMPORTS)] delegateScript.kts
context(<script>@R|kotlin/script/templates/standard/ScriptTemplateWithArgs|)
context(<script>@kotlin.script.templates.standard.ScriptTemplateWithArgs)
SCRIPT: [ResolvedTo(BODY_RESOLVE)]
[ResolvedTo(RAW_FIR)] lval args: R|kotlin/Array<kotlin/String>|
public final [ResolvedTo(STATUS)] annotation class Ann : R|kotlin/Annotation| {
public [ResolvedTo(STATUS)] [ContainingClassKey=Ann] constructor(): R|Ann| {
public? final? [ResolvedTo(RAW_FIR)] annotation class Ann : R|kotlin/Annotation| {
public? [ResolvedTo(RAW_FIR)] [ContainingClassKey=Ann] constructor(): R|Ann| {
super<R|kotlin/Any|>()
}
}
public final [ResolvedTo(STATUS)] class X : R|kotlin/Any| {
public [ResolvedTo(STATUS)] [ContainingClassKey=X] constructor(): R|X| {
public? final? [ResolvedTo(RAW_FIR)] class X : R|kotlin/Any| {
public? [ResolvedTo(RAW_FIR)] [ContainingClassKey=X] constructor(): R|X| {
super<R|kotlin/Any|>()
}
field:@PROPERTY_DELEGATE_FIELD:R|Ann|[Types]() public final [ResolvedTo(STATUS)] val a: <ERROR TYPE REF: Unresolved name: getValue>by <Unresolved name: lazy>#(<L> = [ResolvedTo(RAW_FIR)] lazy@fun <anonymous>(): R|kotlin/Int| <inline=Unknown> {
^ Int(1)
field:@PROPERTY_DELEGATE_FIELD:Ann[Unresolved]() public? final? [ResolvedTo(RAW_FIR)] val a: <implicit>by lazy#(<L> = [ResolvedTo(RAW_FIR)] lazy@fun <implicit>.<anonymous>(): <implicit> <inline=Unknown> {
IntegerLiteral(1)
}
)
public [ResolvedTo(STATUS)] [ContainingClassKey=X] get(): <ERROR TYPE REF: Unresolved name: getValue> {
^ this@R|/X|.D|/X.a|.<Unresolved name: getValue>#(this@R|/X|, ::R|/X.a|)
public? [ResolvedTo(RAW_FIR)] [ContainingClassKey=X] get(): <implicit> {
^ this@R|/X|.D|/X.a|.getValue#(this@R|/X|, ::R|/X.a|)
}
}
@@ -3,28 +3,28 @@ FIR element: FirAnnotationCallImpl
FIR source kind: KtRealSourceElementKind
FIR element rendered:
@FIELD:R|Ann|[Types]()
@FIELD:Ann[Unresolved]()
FIR FILE:
FILE: [ResolvedTo(IMPORTS)] fieldScript.kts
context(<script>@R|kotlin/script/templates/standard/ScriptTemplateWithArgs|)
context(<script>@kotlin.script.templates.standard.ScriptTemplateWithArgs)
SCRIPT: [ResolvedTo(BODY_RESOLVE)]
[ResolvedTo(RAW_FIR)] lval args: R|kotlin/Array<kotlin/String>|
public final [ResolvedTo(STATUS)] annotation class Ann : R|kotlin/Annotation| {
public [ResolvedTo(STATUS)] [ContainingClassKey=Ann] constructor(): R|Ann| {
public? final? [ResolvedTo(RAW_FIR)] annotation class Ann : R|kotlin/Annotation| {
public? [ResolvedTo(RAW_FIR)] [ContainingClassKey=Ann] constructor(): R|Ann| {
super<R|kotlin/Any|>()
}
}
public final [ResolvedTo(STATUS)] class X : R|kotlin/Any| {
public [ResolvedTo(STATUS)] [ContainingClassKey=X] constructor([ResolvedTo(STATUS)] [CorrespondingProperty=/X.x] x: R|kotlin/Int|): R|X| {
public? final? [ResolvedTo(RAW_FIR)] class X : R|kotlin/Any| {
public? [ResolvedTo(RAW_FIR)] [ContainingClassKey=X] constructor([ResolvedTo(RAW_FIR)] [CorrespondingProperty=/X.x] x: Int): R|X| {
super<R|kotlin/Any|>()
}
field:@FIELD:R|Ann|[Types]() public final [ResolvedTo(STATUS)] [IsFromPrimaryConstructor=true] var x: R|kotlin/Int| = R|<local>/x|
public [ResolvedTo(STATUS)] [ContainingClassKey=X] get(): R|kotlin/Int|
public [ResolvedTo(STATUS)] [ContainingClassKey=X] set([ResolvedTo(STATUS)] value: R|kotlin/Int|): R|kotlin/Unit|
field:@FIELD:Ann[Unresolved]() public? final? [ResolvedTo(RAW_FIR)] [IsFromPrimaryConstructor=true] var x: Int = R|<local>/x|
public? [ResolvedTo(RAW_FIR)] [ContainingClassKey=X] get(): Int
public? [ResolvedTo(RAW_FIR)] [ContainingClassKey=X] set([ResolvedTo(RAW_FIR)] value: Int): R|kotlin/Unit|
}
@@ -9,11 +9,11 @@ FIR FILE:
FILE: [ResolvedTo(IMPORTS)] fileScript.kts
@FILE:R|Ann|[Types]()
[ResolvedTo(BODY_RESOLVE)] annotations container
context(<script>@R|kotlin/script/templates/standard/ScriptTemplateWithArgs|)
context(<script>@kotlin.script.templates.standard.ScriptTemplateWithArgs)
SCRIPT: [ResolvedTo(STATUS)]
[ResolvedTo(RAW_FIR)] lval args: R|kotlin/Array<kotlin/String>|
public final [ResolvedTo(RAW_FIR)] annotation class Ann : R|kotlin/Annotation| {
public? final? [ResolvedTo(RAW_FIR)] annotation class Ann : R|kotlin/Annotation| {
public? [ResolvedTo(RAW_FIR)] [ContainingClassKey=Ann] constructor(): R|Ann| {
super<R|kotlin/Any|>()
}
@@ -3,28 +3,28 @@ FIR element: FirAnnotationCallImpl
FIR source kind: FromUseSiteTarget
FIR element rendered:
@PROPERTY_GETTER:R|Ann|[Types]()
@PROPERTY_GETTER:Ann[Unresolved]()
FIR FILE:
FILE: [ResolvedTo(IMPORTS)] getterScript.kts
context(<script>@R|kotlin/script/templates/standard/ScriptTemplateWithArgs|)
context(<script>@kotlin.script.templates.standard.ScriptTemplateWithArgs)
SCRIPT: [ResolvedTo(BODY_RESOLVE)]
[ResolvedTo(RAW_FIR)] lval args: R|kotlin/Array<kotlin/String>|
public final [ResolvedTo(STATUS)] annotation class Ann : R|kotlin/Annotation| {
public [ResolvedTo(STATUS)] [ContainingClassKey=Ann] constructor(): R|Ann| {
public? final? [ResolvedTo(RAW_FIR)] annotation class Ann : R|kotlin/Annotation| {
public? [ResolvedTo(RAW_FIR)] [ContainingClassKey=Ann] constructor(): R|Ann| {
super<R|kotlin/Any|>()
}
}
public final [ResolvedTo(STATUS)] class X : R|kotlin/Any| {
public [ResolvedTo(STATUS)] [ContainingClassKey=X] constructor([ResolvedTo(STATUS)] [CorrespondingProperty=/X.x] x: R|kotlin/Int|): R|X| {
public? final? [ResolvedTo(RAW_FIR)] class X : R|kotlin/Any| {
public? [ResolvedTo(RAW_FIR)] [ContainingClassKey=X] constructor([ResolvedTo(RAW_FIR)] [CorrespondingProperty=/X.x] x: Int): R|X| {
super<R|kotlin/Any|>()
}
public final [ResolvedTo(STATUS)] [IsFromPrimaryConstructor=true] var x: R|kotlin/Int| = R|<local>/x|
@PROPERTY_GETTER:R|Ann|[Types]() public [ResolvedTo(STATUS)] [ContainingClassKey=X] get(): R|kotlin/Int|
public [ResolvedTo(STATUS)] [ContainingClassKey=X] set([ResolvedTo(STATUS)] value: R|kotlin/Int|): R|kotlin/Unit|
public? final? [ResolvedTo(RAW_FIR)] [IsFromPrimaryConstructor=true] var x: Int = R|<local>/x|
@PROPERTY_GETTER:Ann[Unresolved]() public? [ResolvedTo(RAW_FIR)] [ContainingClassKey=X] get(): Int
public? [ResolvedTo(RAW_FIR)] [ContainingClassKey=X] set([ResolvedTo(RAW_FIR)] value: Int): R|kotlin/Unit|
}
@@ -3,28 +3,28 @@ FIR element: FirAnnotationCallImpl
FIR source kind: KtRealSourceElementKind
FIR element rendered:
@CONSTRUCTOR_PARAMETER:R|Ann|[Types]()
@CONSTRUCTOR_PARAMETER:Ann[Unresolved]()
FIR FILE:
FILE: [ResolvedTo(IMPORTS)] paramScript.kts
context(<script>@R|kotlin/script/templates/standard/ScriptTemplateWithArgs|)
context(<script>@kotlin.script.templates.standard.ScriptTemplateWithArgs)
SCRIPT: [ResolvedTo(BODY_RESOLVE)]
[ResolvedTo(RAW_FIR)] lval args: R|kotlin/Array<kotlin/String>|
public final [ResolvedTo(STATUS)] annotation class Ann : R|kotlin/Annotation| {
public [ResolvedTo(STATUS)] [ContainingClassKey=Ann] constructor(): R|Ann| {
public? final? [ResolvedTo(RAW_FIR)] annotation class Ann : R|kotlin/Annotation| {
public? [ResolvedTo(RAW_FIR)] [ContainingClassKey=Ann] constructor(): R|Ann| {
super<R|kotlin/Any|>()
}
}
public final [ResolvedTo(STATUS)] class X : R|kotlin/Any| {
public [ResolvedTo(STATUS)] [ContainingClassKey=X] constructor([ResolvedTo(STATUS)] [CorrespondingProperty=/X.x] @CONSTRUCTOR_PARAMETER:R|Ann|[Types]() x: R|kotlin/Int|): R|X| {
public? final? [ResolvedTo(RAW_FIR)] class X : R|kotlin/Any| {
public? [ResolvedTo(RAW_FIR)] [ContainingClassKey=X] constructor([ResolvedTo(RAW_FIR)] [CorrespondingProperty=/X.x] @CONSTRUCTOR_PARAMETER:Ann[Unresolved]() x: Int): R|X| {
super<R|kotlin/Any|>()
}
public final [ResolvedTo(STATUS)] [IsFromPrimaryConstructor=true] var x: R|kotlin/Int| = R|<local>/x|
public [ResolvedTo(STATUS)] [ContainingClassKey=X] get(): R|kotlin/Int|
public [ResolvedTo(STATUS)] [ContainingClassKey=X] set([ResolvedTo(STATUS)] value: R|kotlin/Int|): R|kotlin/Unit|
public? final? [ResolvedTo(RAW_FIR)] [IsFromPrimaryConstructor=true] var x: Int = R|<local>/x|
public? [ResolvedTo(RAW_FIR)] [ContainingClassKey=X] get(): Int
public? [ResolvedTo(RAW_FIR)] [ContainingClassKey=X] set([ResolvedTo(RAW_FIR)] value: Int): R|kotlin/Unit|
}
@@ -3,28 +3,28 @@ FIR element: FirAnnotationCallImpl
FIR source kind: KtRealSourceElementKind
FIR element rendered:
@PROPERTY:R|Ann|[Types]()
@PROPERTY:Ann[Unresolved]()
FIR FILE:
FILE: [ResolvedTo(IMPORTS)] propertyScript.kts
context(<script>@R|kotlin/script/templates/standard/ScriptTemplateWithArgs|)
context(<script>@kotlin.script.templates.standard.ScriptTemplateWithArgs)
SCRIPT: [ResolvedTo(BODY_RESOLVE)]
[ResolvedTo(RAW_FIR)] lval args: R|kotlin/Array<kotlin/String>|
public final [ResolvedTo(STATUS)] annotation class Ann : R|kotlin/Annotation| {
public [ResolvedTo(STATUS)] [ContainingClassKey=Ann] constructor(): R|Ann| {
public? final? [ResolvedTo(RAW_FIR)] annotation class Ann : R|kotlin/Annotation| {
public? [ResolvedTo(RAW_FIR)] [ContainingClassKey=Ann] constructor(): R|Ann| {
super<R|kotlin/Any|>()
}
}
public final [ResolvedTo(STATUS)] class X : R|kotlin/Any| {
public [ResolvedTo(STATUS)] [ContainingClassKey=X] constructor([ResolvedTo(STATUS)] [CorrespondingProperty=/X.x] x: R|kotlin/Int|): R|X| {
public? final? [ResolvedTo(RAW_FIR)] class X : R|kotlin/Any| {
public? [ResolvedTo(RAW_FIR)] [ContainingClassKey=X] constructor([ResolvedTo(RAW_FIR)] [CorrespondingProperty=/X.x] x: Int): R|X| {
super<R|kotlin/Any|>()
}
@PROPERTY:R|Ann|[Types]() public final [ResolvedTo(STATUS)] [IsFromPrimaryConstructor=true] var x: R|kotlin/Int| = R|<local>/x|
public [ResolvedTo(STATUS)] [ContainingClassKey=X] get(): R|kotlin/Int|
public [ResolvedTo(STATUS)] [ContainingClassKey=X] set([ResolvedTo(STATUS)] value: R|kotlin/Int|): R|kotlin/Unit|
@PROPERTY:Ann[Unresolved]() public? final? [ResolvedTo(RAW_FIR)] [IsFromPrimaryConstructor=true] var x: Int = R|<local>/x|
public? [ResolvedTo(RAW_FIR)] [ContainingClassKey=X] get(): Int
public? [ResolvedTo(RAW_FIR)] [ContainingClassKey=X] set([ResolvedTo(RAW_FIR)] value: Int): R|kotlin/Unit|
}
@@ -3,28 +3,28 @@ FIR element: FirAnnotationCallImpl
FIR source kind: FromUseSiteTarget
FIR element rendered:
@SETTER_PARAMETER:R|Ann|[Types]()
@SETTER_PARAMETER:Ann[Unresolved]()
FIR FILE:
FILE: [ResolvedTo(IMPORTS)] setParamScript.kts
context(<script>@R|kotlin/script/templates/standard/ScriptTemplateWithArgs|)
context(<script>@kotlin.script.templates.standard.ScriptTemplateWithArgs)
SCRIPT: [ResolvedTo(BODY_RESOLVE)]
[ResolvedTo(RAW_FIR)] lval args: R|kotlin/Array<kotlin/String>|
public final [ResolvedTo(STATUS)] annotation class Ann : R|kotlin/Annotation| {
public [ResolvedTo(STATUS)] [ContainingClassKey=Ann] constructor(): R|Ann| {
public? final? [ResolvedTo(RAW_FIR)] annotation class Ann : R|kotlin/Annotation| {
public? [ResolvedTo(RAW_FIR)] [ContainingClassKey=Ann] constructor(): R|Ann| {
super<R|kotlin/Any|>()
}
}
public final [ResolvedTo(STATUS)] class X : R|kotlin/Any| {
public [ResolvedTo(STATUS)] [ContainingClassKey=X] constructor([ResolvedTo(STATUS)] [CorrespondingProperty=/X.x] x: R|kotlin/Int|): R|X| {
public? final? [ResolvedTo(RAW_FIR)] class X : R|kotlin/Any| {
public? [ResolvedTo(RAW_FIR)] [ContainingClassKey=X] constructor([ResolvedTo(RAW_FIR)] [CorrespondingProperty=/X.x] x: Int): R|X| {
super<R|kotlin/Any|>()
}
public final [ResolvedTo(STATUS)] [IsFromPrimaryConstructor=true] var x: R|kotlin/Int| = R|<local>/x|
public [ResolvedTo(STATUS)] [ContainingClassKey=X] get(): R|kotlin/Int|
public [ResolvedTo(STATUS)] [ContainingClassKey=X] set([ResolvedTo(STATUS)] @SETTER_PARAMETER:R|Ann|[Types]() value: R|kotlin/Int|): R|kotlin/Unit|
public? final? [ResolvedTo(RAW_FIR)] [IsFromPrimaryConstructor=true] var x: Int = R|<local>/x|
public? [ResolvedTo(RAW_FIR)] [ContainingClassKey=X] get(): Int
public? [ResolvedTo(RAW_FIR)] [ContainingClassKey=X] set([ResolvedTo(RAW_FIR)] @SETTER_PARAMETER:Ann[Unresolved]() value: Int): R|kotlin/Unit|
}
@@ -3,28 +3,28 @@ FIR element: FirAnnotationCallImpl
FIR source kind: FromUseSiteTarget
FIR element rendered:
@PROPERTY_SETTER:R|Ann|[Types]()
@PROPERTY_SETTER:Ann[Unresolved]()
FIR FILE:
FILE: [ResolvedTo(IMPORTS)] setterScript.kts
context(<script>@R|kotlin/script/templates/standard/ScriptTemplateWithArgs|)
context(<script>@kotlin.script.templates.standard.ScriptTemplateWithArgs)
SCRIPT: [ResolvedTo(BODY_RESOLVE)]
[ResolvedTo(RAW_FIR)] lval args: R|kotlin/Array<kotlin/String>|
public final [ResolvedTo(STATUS)] annotation class Ann : R|kotlin/Annotation| {
public [ResolvedTo(STATUS)] [ContainingClassKey=Ann] constructor(): R|Ann| {
public? final? [ResolvedTo(RAW_FIR)] annotation class Ann : R|kotlin/Annotation| {
public? [ResolvedTo(RAW_FIR)] [ContainingClassKey=Ann] constructor(): R|Ann| {
super<R|kotlin/Any|>()
}
}
public final [ResolvedTo(STATUS)] class X : R|kotlin/Any| {
public [ResolvedTo(STATUS)] [ContainingClassKey=X] constructor([ResolvedTo(STATUS)] [CorrespondingProperty=/X.x] x: R|kotlin/Int|): R|X| {
public? final? [ResolvedTo(RAW_FIR)] class X : R|kotlin/Any| {
public? [ResolvedTo(RAW_FIR)] [ContainingClassKey=X] constructor([ResolvedTo(RAW_FIR)] [CorrespondingProperty=/X.x] x: Int): R|X| {
super<R|kotlin/Any|>()
}
public final [ResolvedTo(STATUS)] [IsFromPrimaryConstructor=true] var x: R|kotlin/Int| = R|<local>/x|
public [ResolvedTo(STATUS)] [ContainingClassKey=X] get(): R|kotlin/Int|
@PROPERTY_SETTER:R|Ann|[Types]() public [ResolvedTo(STATUS)] [ContainingClassKey=X] set([ResolvedTo(STATUS)] value: R|kotlin/Int|): R|kotlin/Unit|
public? final? [ResolvedTo(RAW_FIR)] [IsFromPrimaryConstructor=true] var x: Int = R|<local>/x|
public? [ResolvedTo(RAW_FIR)] [ContainingClassKey=X] get(): Int
@PROPERTY_SETTER:Ann[Unresolved]() public? [ResolvedTo(RAW_FIR)] [ContainingClassKey=X] set([ResolvedTo(RAW_FIR)] value: Int): R|kotlin/Unit|
}
@@ -3,17 +3,17 @@ FIR element: FirConstExpressionImpl
FIR source kind: KtRealSourceElementKind
FIR element rendered:
Int(1)
IntegerLiteral(1)
FIR FILE:
FILE: [ResolvedTo(IMPORTS)] callArgumentScript.kts
context(<script>@R|kotlin/script/templates/standard/ScriptTemplateWithArgs|)
context(<script>@kotlin.script.templates.standard.ScriptTemplateWithArgs)
SCRIPT: [ResolvedTo(BODY_RESOLVE)]
[ResolvedTo(RAW_FIR)] lval args: R|kotlin/Array<kotlin/String>|
public final [ResolvedTo(RAW_FIR)] fun y([ResolvedTo(RAW_FIR)] a: R|kotlin/Int|): R|kotlin/Unit| {
public? final? [ResolvedTo(RAW_FIR)] fun y([ResolvedTo(RAW_FIR)] a: Int): R|kotlin/Unit| {
}
public final [ResolvedTo(RAW_FIR)] fun x(): R|kotlin/Unit| {
R|/y|(Int(1))
public? final? [ResolvedTo(RAW_FIR)] fun x(): R|kotlin/Unit| {
y#(IntegerLiteral(1))
}
@@ -3,30 +3,30 @@ FIR element: FirFunctionCallImpl
FIR source kind: KtRealSourceElementKind
FIR element rendered:
R|/foo|()
foo#()
FIR FILE:
FILE: [ResolvedTo(IMPORTS)] callInsideLambdaInsideSuperCallAndExplicitConstructorScript.kts
context(<script>@R|kotlin/script/templates/standard/ScriptTemplateWithArgs|)
context(<script>@kotlin.script.templates.standard.ScriptTemplateWithArgs)
SCRIPT: [ResolvedTo(BODY_RESOLVE)]
[ResolvedTo(RAW_FIR)] lval args: R|kotlin/Array<kotlin/String>|
public open [ResolvedTo(STATUS)] class B : R|kotlin/Any| {
public [ResolvedTo(STATUS)] [ContainingClassKey=B] constructor([ResolvedTo(STATUS)] x: R|() -> kotlin/Unit|): R|B| {
public? open [ResolvedTo(RAW_FIR)] class B : R|kotlin/Any| {
public? [ResolvedTo(RAW_FIR)] [ContainingClassKey=B] constructor([ResolvedTo(RAW_FIR)] x: ( () -> Unit )): R|B| {
super<R|kotlin/Any|>()
}
}
public final [ResolvedTo(STATUS)] class A : R|B| {
public [ResolvedTo(STATUS)] [ContainingClassKey=A] constructor(): R|A| {
super<R|B|>(Int(1), [ResolvedTo(RAW_FIR)] fun <anonymous>(): R|kotlin/Unit| <inline=Unknown> {
R|/foo|()
public? final? [ResolvedTo(RAW_FIR)] class A : B {
public? [ResolvedTo(RAW_FIR)] [ContainingClassKey=A] constructor(): R|A| {
super<B>(IntegerLiteral(1), [ResolvedTo(RAW_FIR)] fun <implicit>.<anonymous>(): <implicit> <inline=Unknown> {
foo#()
}
)
}
}
public final [ResolvedTo(RAW_FIR)] fun foo(): R|kotlin/Unit| {
public? final? [ResolvedTo(RAW_FIR)] fun foo(): R|kotlin/Unit| {
}
@@ -3,17 +3,17 @@ FIR element: FirTypeProjectionWithVarianceImpl
FIR source kind: KtRealSourceElementKind
FIR element rendered:
R|kotlin/Int|
Int
FIR FILE:
FILE: [ResolvedTo(IMPORTS)] calllTypeArgumentsScript.kts
context(<script>@R|kotlin/script/templates/standard/ScriptTemplateWithArgs|)
context(<script>@kotlin.script.templates.standard.ScriptTemplateWithArgs)
SCRIPT: [ResolvedTo(BODY_RESOLVE)]
[ResolvedTo(RAW_FIR)] lval args: R|kotlin/Array<kotlin/String>|
public final [ResolvedTo(RAW_FIR)] fun <[ResolvedTo(RAW_FIR)] T> y(): R|kotlin/Unit| {
public? final? [ResolvedTo(RAW_FIR)] fun <[ResolvedTo(RAW_FIR)] T> y(): R|kotlin/Unit| {
}
public final [ResolvedTo(RAW_FIR)] fun x(): R|kotlin/Unit| {
R|/y|<R|kotlin/Int|>()
public? final? [ResolvedTo(RAW_FIR)] fun x(): R|kotlin/Unit| {
y#<Int>()
}
@@ -3,24 +3,24 @@ FIR element: FirScriptImpl
FIR source kind: KtRealSourceElementKind
FIR element rendered:
context(<script>@R|kotlin/script/templates/standard/ScriptTemplateWithArgs|)
context(<script>@kotlin.script.templates.standard.ScriptTemplateWithArgs)
SCRIPT: [ResolvedTo(BODY_RESOLVE)]
[ResolvedTo(RAW_FIR)] lval args: R|kotlin/Array<kotlin/String>|
public final [ResolvedTo(RAW_FIR)] var i: R|kotlin/Int| = Int(1)
public [ResolvedTo(RAW_FIR)] get(): R|kotlin/Int|
public [ResolvedTo(RAW_FIR)] set([ResolvedTo(RAW_FIR)] value: R|kotlin/Int|): R|kotlin/Unit|
public? final? [ResolvedTo(RAW_FIR)] var i: <implicit> = IntegerLiteral(1)
public? [ResolvedTo(RAW_FIR)] get(): <implicit>
public? [ResolvedTo(RAW_FIR)] set([ResolvedTo(RAW_FIR)] value: <implicit>): R|kotlin/Unit|
R|/i| = R|/i|.R|kotlin/Int.plus|(Int(1))
+=(i#, IntegerLiteral(1))
FIR FILE:
FILE: [ResolvedTo(IMPORTS)] compoundAssignOnVarScript.kts
context(<script>@R|kotlin/script/templates/standard/ScriptTemplateWithArgs|)
context(<script>@kotlin.script.templates.standard.ScriptTemplateWithArgs)
SCRIPT: [ResolvedTo(BODY_RESOLVE)]
[ResolvedTo(RAW_FIR)] lval args: R|kotlin/Array<kotlin/String>|
public final [ResolvedTo(RAW_FIR)] var i: R|kotlin/Int| = Int(1)
public [ResolvedTo(RAW_FIR)] get(): R|kotlin/Int|
public [ResolvedTo(RAW_FIR)] set([ResolvedTo(RAW_FIR)] value: R|kotlin/Int|): R|kotlin/Unit|
public? final? [ResolvedTo(RAW_FIR)] var i: <implicit> = IntegerLiteral(1)
public? [ResolvedTo(RAW_FIR)] get(): <implicit>
public? [ResolvedTo(RAW_FIR)] set([ResolvedTo(RAW_FIR)] value: <implicit>): R|kotlin/Unit|
R|/i| = R|/i|.R|kotlin/Int.plus|(Int(1))
+=(i#, IntegerLiteral(1))
@@ -1,29 +1,24 @@
KT element: KtBinaryExpression
FIR element: FirFunctionCallImpl
FIR element: FirAugmentedArraySetCallImpl
FIR source kind: KtRealSourceElementKind
FIR element rendered:
R|<local>/<array>|.R|SubstitutionOverride</MyMap.set: R|kotlin/Unit|>|(R|<local>/<index_0>|, R|<local>/<array>|.R|SubstitutionOverride</MyMap.get: R|kotlin/Int|>|(R|<local>/<index_0>|).R|kotlin/Int.plus|(Int(1)))
ArraySet:[m#.get#(String(a)) += IntegerLiteral(1)]
FIR FILE:
FILE: [ResolvedTo(IMPORTS)] compoundAssignWithArrayAccessConventionScript.kts
context(<script>@R|kotlin/script/templates/standard/ScriptTemplateWithArgs|)
context(<script>@kotlin.script.templates.standard.ScriptTemplateWithArgs)
SCRIPT: [ResolvedTo(BODY_RESOLVE)]
[ResolvedTo(RAW_FIR)] lval args: R|kotlin/Array<kotlin/String>|
public abstract [ResolvedTo(STATUS)] interface MyMap<[ResolvedTo(STATUS)] K, [ResolvedTo(STATUS)] V> : R|kotlin/Any| {
public abstract operator [ResolvedTo(STATUS)] fun get([ResolvedTo(STATUS)] k: R|K|): R|V|
public? final? [ResolvedTo(RAW_FIR)] interface MyMap<[ResolvedTo(RAW_FIR)] K, [ResolvedTo(RAW_FIR)] V> : R|kotlin/Any| {
public? final? operator [ResolvedTo(RAW_FIR)] fun get([ResolvedTo(RAW_FIR)] k: K): V
public abstract operator [ResolvedTo(STATUS)] fun set([ResolvedTo(STATUS)] k: R|K|, [ResolvedTo(STATUS)] v: R|V|): R|kotlin/Unit|
public? final? operator [ResolvedTo(RAW_FIR)] fun set([ResolvedTo(RAW_FIR)] k: K, [ResolvedTo(RAW_FIR)] v: V): R|kotlin/Unit|
}
public final [ResolvedTo(RAW_FIR)] fun test([ResolvedTo(RAW_FIR)] m: R|MyMap<kotlin/String, kotlin/Int>|): R|kotlin/Unit| {
{
[ResolvedTo(RAW_FIR)] lval <array>: R|MyMap<kotlin/String, kotlin/Int>| = R|<local>/m|
[ResolvedTo(RAW_FIR)] lval <index_0>: R|kotlin/String| = String(a)
R|<local>/<array>|.R|SubstitutionOverride</MyMap.set: R|kotlin/Unit|>|(R|<local>/<index_0>|, R|<local>/<array>|.R|SubstitutionOverride</MyMap.get: R|kotlin/Int|>|(R|<local>/<index_0>|).R|kotlin/Int.plus|(Int(1)))
}
public? final? [ResolvedTo(RAW_FIR)] fun test([ResolvedTo(RAW_FIR)] m: MyMap<String, Int>): R|kotlin/Unit| {
ArraySet:[m#.get#(String(a)) += IntegerLiteral(1)]
Unit
}
@@ -1,27 +1,27 @@
KT element: KtBinaryExpression
FIR element: FirFunctionCallImpl
FIR source kind: DesugaredCompoundAssignment
FIR element: FirAugmentedArraySetCallImpl
FIR source kind: KtRealSourceElementKind
FIR element rendered:
R|<local>/m|.R|SubstitutionOverride</MyMap.get: R|A|>|(String(a)).R|/A.plusAssign|(Int(1))
ArraySet:[m#.get#(String(a)) += IntegerLiteral(1)]
FIR FILE:
FILE: [ResolvedTo(IMPORTS)] compoundAssignWithArrayGetConventionScript.kts
context(<script>@R|kotlin/script/templates/standard/ScriptTemplateWithArgs|)
context(<script>@kotlin.script.templates.standard.ScriptTemplateWithArgs)
SCRIPT: [ResolvedTo(BODY_RESOLVE)]
[ResolvedTo(RAW_FIR)] lval args: R|kotlin/Array<kotlin/String>|
public abstract [ResolvedTo(STATUS)] interface A : R|kotlin/Any| {
public abstract operator [ResolvedTo(STATUS)] fun plusAssign([ResolvedTo(STATUS)] i: R|kotlin/Int|): R|kotlin/Unit|
public? final? [ResolvedTo(RAW_FIR)] interface A : R|kotlin/Any| {
public? final? operator [ResolvedTo(RAW_FIR)] fun plusAssign([ResolvedTo(RAW_FIR)] i: Int): R|kotlin/Unit|
}
public abstract [ResolvedTo(STATUS)] interface MyMap<[ResolvedTo(STATUS)] K, [ResolvedTo(STATUS)] V> : R|kotlin/Any| {
public abstract operator [ResolvedTo(STATUS)] fun get([ResolvedTo(STATUS)] k: R|K|): R|V|
public? final? [ResolvedTo(RAW_FIR)] interface MyMap<[ResolvedTo(RAW_FIR)] K, [ResolvedTo(RAW_FIR)] V> : R|kotlin/Any| {
public? final? operator [ResolvedTo(RAW_FIR)] fun get([ResolvedTo(RAW_FIR)] k: K): V
}
public final [ResolvedTo(RAW_FIR)] fun test([ResolvedTo(RAW_FIR)] m: R|MyMap<kotlin/String, A>|): R|kotlin/Unit| {
R|<local>/m|.R|SubstitutionOverride</MyMap.get: R|A|>|(String(a)).R|/A.plusAssign|(Int(1))
public? final? [ResolvedTo(RAW_FIR)] fun test([ResolvedTo(RAW_FIR)] m: MyMap<String, A>): R|kotlin/Unit| {
ArraySet:[m#.get#(String(a)) += IntegerLiteral(1)]
Unit
}
@@ -3,24 +3,24 @@ FIR element: FirDelegatedConstructorCallImpl
FIR source kind: KtRealSourceElementKind
FIR element rendered:
super<R|B|>(Int(1))
super<B>(IntegerLiteral(1))
FIR FILE:
FILE: [ResolvedTo(IMPORTS)] constructorDelegationSuperCallScript.kts
context(<script>@R|kotlin/script/templates/standard/ScriptTemplateWithArgs|)
context(<script>@kotlin.script.templates.standard.ScriptTemplateWithArgs)
SCRIPT: [ResolvedTo(BODY_RESOLVE)]
[ResolvedTo(RAW_FIR)] lval args: R|kotlin/Array<kotlin/String>|
public open [ResolvedTo(STATUS)] class B : R|kotlin/Any| {
public [ResolvedTo(STATUS)] [ContainingClassKey=B] constructor([ResolvedTo(STATUS)] x: R|kotlin/Int|): R|B| {
public? open [ResolvedTo(RAW_FIR)] class B : R|kotlin/Any| {
public? [ResolvedTo(RAW_FIR)] [ContainingClassKey=B] constructor([ResolvedTo(RAW_FIR)] x: Int): R|B| {
super<R|kotlin/Any|>()
}
}
public final [ResolvedTo(STATUS)] class A : R|B| {
public [ResolvedTo(STATUS)] [ContainingClassKey=A] constructor(): R|A| {
super<R|B|>(Int(1))
public? final? [ResolvedTo(RAW_FIR)] class A : B {
public? [ResolvedTo(RAW_FIR)] [ContainingClassKey=A] constructor(): R|A| {
super<B>(IntegerLiteral(1))
}
}
@@ -1,19 +1,19 @@
KT element: KtValueArgumentList
FIR element: FirResolvedArgumentListImpl
FIR element: FirArgumentListImpl
FIR source kind: KtRealSourceElementKind
FIR element rendered:
Int(1)String(2)
IntegerLiteral(1)String(2)
FIR FILE:
FILE: [ResolvedTo(IMPORTS)] functionCallArgumentListScript.kts
context(<script>@R|kotlin/script/templates/standard/ScriptTemplateWithArgs|)
context(<script>@kotlin.script.templates.standard.ScriptTemplateWithArgs)
SCRIPT: [ResolvedTo(BODY_RESOLVE)]
[ResolvedTo(RAW_FIR)] lval args: R|kotlin/Array<kotlin/String>|
public final [ResolvedTo(RAW_FIR)] fun callMe([ResolvedTo(RAW_FIR)] x: R|kotlin/Int|, [ResolvedTo(RAW_FIR)] y: R|kotlin/String|): R|kotlin/Unit| {
public? final? [ResolvedTo(RAW_FIR)] fun callMe([ResolvedTo(RAW_FIR)] x: Int, [ResolvedTo(RAW_FIR)] y: String): R|kotlin/Unit| {
}
public final [ResolvedTo(RAW_FIR)] fun foo(): R|kotlin/Unit| {
R|/callMe|(Int(1), String(2))
public? final? [ResolvedTo(RAW_FIR)] fun foo(): R|kotlin/Unit| {
callMe#(IntegerLiteral(1), String(2))
}
@@ -1,16 +1,16 @@
KT element: KtValueArgumentList
FIR element: FirResolvedArgumentListImpl
FIR element: FirArgumentListImpl
FIR source kind: KtRealSourceElementKind
FIR element rendered:
Int(1)String(2)
IntegerLiteral(1)String(2)
FIR FILE:
FILE: [ResolvedTo(IMPORTS)] invokeCallArgumentListScript.kts
context(<script>@R|kotlin/script/templates/standard/ScriptTemplateWithArgs|)
context(<script>@kotlin.script.templates.standard.ScriptTemplateWithArgs)
SCRIPT: [ResolvedTo(BODY_RESOLVE)]
[ResolvedTo(RAW_FIR)] lval args: R|kotlin/Array<kotlin/String>|
public final [ResolvedTo(RAW_FIR)] fun foo([ResolvedTo(RAW_FIR)] f: R|(kotlin/Int, kotlin/String) -> kotlin/Unit|): R|kotlin/Unit| {
R|<local>/f|.R|SubstitutionOverride<kotlin/Function2.invoke: R|kotlin/Unit|>|(Int(1), String(2))
public? final? [ResolvedTo(RAW_FIR)] fun foo([ResolvedTo(RAW_FIR)] f: ( (Int, String) -> Unit )): R|kotlin/Unit| {
f#(IntegerLiteral(1), String(2))
}
@@ -1,29 +1,29 @@
KT element: KtNameReferenceExpression
FIR element: FirResolvedNamedReferenceImpl
FIR element: FirPropertyAccessExpressionImpl
FIR source kind: KtRealSourceElementKind
FIR element rendered:
R|/A.prop|
B#.prop#
FIR FILE:
FILE: [ResolvedTo(IMPORTS)] qualifiedCallInsideSuperCallScript.kts
context(<script>@R|kotlin/script/templates/standard/ScriptTemplateWithArgs|)
context(<script>@kotlin.script.templates.standard.ScriptTemplateWithArgs)
SCRIPT: [ResolvedTo(BODY_RESOLVE)]
[ResolvedTo(RAW_FIR)] lval args: R|kotlin/Array<kotlin/String>|
public open [ResolvedTo(STATUS)] class A : R|kotlin/Any| {
public [ResolvedTo(STATUS)] [ContainingClassKey=A] constructor([ResolvedTo(STATUS)] init: R|A.() -> kotlin/Unit|): R|A| {
public? open [ResolvedTo(RAW_FIR)] class A : R|kotlin/Any| {
public? [ResolvedTo(RAW_FIR)] [ContainingClassKey=A] constructor([ResolvedTo(RAW_FIR)] init: ( A.() -> Unit )): R|A| {
super<R|kotlin/Any|>()
}
public final [ResolvedTo(STATUS)] val prop: R|kotlin/String| = String()
public [ResolvedTo(STATUS)] [ContainingClassKey=A] get(): R|kotlin/String|
public? final? [ResolvedTo(RAW_FIR)] val prop: String = String()
public? [ResolvedTo(RAW_FIR)] [ContainingClassKey=A] get(): String
}
public final [ResolvedTo(STATUS)] object B : R|A| {
private [ResolvedTo(STATUS)] [ContainingClassKey=B] constructor(): R|B| {
super<R|A|>([ResolvedTo(RAW_FIR)] fun R|A|.<anonymous>(): R|kotlin/Unit| <inline=Unknown> {
public? final? [ResolvedTo(RAW_FIR)] object B : A {
private [ResolvedTo(RAW_FIR)] [ContainingClassKey=B] constructor(): R|B| {
super<A>([ResolvedTo(RAW_FIR)] fun <implicit>.<anonymous>(): <implicit> <inline=Unknown> {
^ Unit
}
)
@@ -31,11 +31,11 @@ FILE: [ResolvedTo(IMPORTS)] qualifiedCallInsideSuperCallScript.kts
}
public final [ResolvedTo(STATUS)] object C : R|A| {
private [ResolvedTo(STATUS)] [ContainingClassKey=C] constructor(): R|C| {
super<R|A|>([ResolvedTo(RAW_FIR)] fun R|A|.<anonymous>(): R|kotlin/Unit| <inline=Unknown> {
local final [ResolvedTo(RAW_FIR)] fun foo(): R|kotlin/String| {
^foo Q|B|.R|/A.prop|.R|kotlin/String.toString|()
public? final? [ResolvedTo(RAW_FIR)] object C : A {
private [ResolvedTo(RAW_FIR)] [ContainingClassKey=C] constructor(): R|C| {
super<A>([ResolvedTo(RAW_FIR)] fun <implicit>.<anonymous>(): <implicit> <inline=Unknown> {
local final? [ResolvedTo(RAW_FIR)] fun foo(): <implicit> {
^foo B#.prop#.toString#()
}
}
@@ -1,47 +1,82 @@
KT element: KtArrayAccessExpression
FIR element: FirResolvedNamedReferenceImpl
FIR element: FirScriptImpl
FIR source kind: KtRealSourceElementKind
FIR element rendered:
R|test/B.set|
context(<script>@kotlin.script.templates.standard.ScriptTemplateWithArgs)
SCRIPT: [ResolvedTo(BODY_RESOLVE)]
[ResolvedTo(RAW_FIR)] lval args: R|kotlin/Array<kotlin/String>|
public? final? [ResolvedTo(RAW_FIR)] class B : R|kotlin/Any| {
public? [ResolvedTo(RAW_FIR)] [ContainingClassKey=B] constructor([ResolvedTo(RAW_FIR)] [CorrespondingProperty=test/B.n] n: Int): R|test/B| {
super<R|kotlin/Any|>()
}
public? final? [ResolvedTo(RAW_FIR)] [IsFromPrimaryConstructor=true] val n: Int = R|<local>/n|
public? [ResolvedTo(RAW_FIR)] [ContainingClassKey=B] get(): Int
public? final? operator [ResolvedTo(RAW_FIR)] fun set([ResolvedTo(RAW_FIR)] i: Int, [ResolvedTo(RAW_FIR)] a: B): R|kotlin/Unit| {
}
public? final? operator [ResolvedTo(RAW_FIR)] fun get([ResolvedTo(RAW_FIR)] i: Int): B {
}
public? final? operator [ResolvedTo(RAW_FIR)] fun inc(): B {
}
}
public? final? [ResolvedTo(RAW_FIR)] var a: <implicit> = B#(IntegerLiteral(1))
public? [ResolvedTo(RAW_FIR)] get(): <implicit>
public? [ResolvedTo(RAW_FIR)] set([ResolvedTo(RAW_FIR)] value: <implicit>): R|kotlin/Unit|
public final [ResolvedTo(RAW_FIR)] val $$result: <implicit> = {
[ResolvedTo(RAW_FIR)] lval <array>: <implicit> = a#
[ResolvedTo(RAW_FIR)] lval <index_0>: <implicit> = IntegerLiteral(2)
[ResolvedTo(RAW_FIR)] lval <unary>: <implicit> = R|<local>/<array>|.get#(R|<local>/<index_0>|)
R|<local>/<array>|.set#(R|<local>/<index_0>|, R|<local>/<unary>|.inc#())
R|<local>/<unary>|
}
public [ResolvedTo(RAW_FIR)] get(): <implicit>
FIR FILE:
FILE: [ResolvedTo(IMPORTS)] setOperatorScript.kts
package test
context(<script>@R|kotlin/script/templates/standard/ScriptTemplateWithArgs|)
context(<script>@kotlin.script.templates.standard.ScriptTemplateWithArgs)
SCRIPT: [ResolvedTo(BODY_RESOLVE)]
[ResolvedTo(RAW_FIR)] lval args: R|kotlin/Array<kotlin/String>|
public final [ResolvedTo(STATUS)] class B : R|kotlin/Any| {
public [ResolvedTo(STATUS)] [ContainingClassKey=B] constructor([ResolvedTo(STATUS)] [CorrespondingProperty=test/B.n] n: R|kotlin/Int|): R|test/B| {
public? final? [ResolvedTo(RAW_FIR)] class B : R|kotlin/Any| {
public? [ResolvedTo(RAW_FIR)] [ContainingClassKey=B] constructor([ResolvedTo(RAW_FIR)] [CorrespondingProperty=test/B.n] n: Int): R|test/B| {
super<R|kotlin/Any|>()
}
public final [ResolvedTo(STATUS)] [IsFromPrimaryConstructor=true] val n: R|kotlin/Int| = R|<local>/n|
public [ResolvedTo(STATUS)] [ContainingClassKey=B] get(): R|kotlin/Int|
public? final? [ResolvedTo(RAW_FIR)] [IsFromPrimaryConstructor=true] val n: Int = R|<local>/n|
public? [ResolvedTo(RAW_FIR)] [ContainingClassKey=B] get(): Int
public final operator [ResolvedTo(STATUS)] fun set([ResolvedTo(STATUS)] i: R|kotlin/Int|, [ResolvedTo(STATUS)] a: R|test/B|): R|kotlin/Unit| {
public? final? operator [ResolvedTo(RAW_FIR)] fun set([ResolvedTo(RAW_FIR)] i: Int, [ResolvedTo(RAW_FIR)] a: B): R|kotlin/Unit| {
}
public final operator [ResolvedTo(STATUS)] fun get([ResolvedTo(STATUS)] i: R|kotlin/Int|): R|test/B| {
public? final? operator [ResolvedTo(RAW_FIR)] fun get([ResolvedTo(RAW_FIR)] i: Int): B {
}
public final operator [ResolvedTo(STATUS)] fun inc(): R|test/B| {
public? final? operator [ResolvedTo(RAW_FIR)] fun inc(): B {
}
}
public final [ResolvedTo(RAW_FIR)] var a: R|test/B| = R|test/B.B|(Int(1))
public [ResolvedTo(RAW_FIR)] get(): R|test/B|
public [ResolvedTo(RAW_FIR)] set([ResolvedTo(RAW_FIR)] value: R|test/B|): R|kotlin/Unit|
public? final? [ResolvedTo(RAW_FIR)] var a: <implicit> = B#(IntegerLiteral(1))
public? [ResolvedTo(RAW_FIR)] get(): <implicit>
public? [ResolvedTo(RAW_FIR)] set([ResolvedTo(RAW_FIR)] value: <implicit>): R|kotlin/Unit|
public final [ResolvedTo(RAW_FIR)] val $$result: R|test/B| = {
[ResolvedTo(RAW_FIR)] lval <array>: R|test/B| = R|test/a|
[ResolvedTo(RAW_FIR)] lval <index_0>: R|kotlin/Int| = Int(2)
[ResolvedTo(RAW_FIR)] lval <unary>: R|test/B| = R|<local>/<array>|.R|test/B.get|(R|<local>/<index_0>|)
R|<local>/<array>|.R|test/B.set|(R|<local>/<index_0>|, R|<local>/<unary>|.R|test/B.inc|())
public final [ResolvedTo(RAW_FIR)] val $$result: <implicit> = {
[ResolvedTo(RAW_FIR)] lval <array>: <implicit> = a#
[ResolvedTo(RAW_FIR)] lval <index_0>: <implicit> = IntegerLiteral(2)
[ResolvedTo(RAW_FIR)] lval <unary>: <implicit> = R|<local>/<array>|.get#(R|<local>/<index_0>|)
R|<local>/<array>|.set#(R|<local>/<index_0>|, R|<local>/<unary>|.inc#())
R|<local>/<unary>|
}
public [ResolvedTo(RAW_FIR)] get(): R|test/B|
public [ResolvedTo(RAW_FIR)] get(): <implicit>
@@ -1,22 +1,27 @@
KT element: KtTypeReference
FIR element: FirResolvedTypeRefImpl
FIR element: FirRegularClassImpl
FIR source kind: KtRealSourceElementKind
FIR element rendered:
R|A|
public? final? [ResolvedTo(RAW_FIR)] class C : A {
public? [ResolvedTo(RAW_FIR)] [ContainingClassKey=C] constructor(): R|C| {
super<<implicit>>()
}
}
FIR FILE:
FILE: [ResolvedTo(IMPORTS)] superTypeScript.kts
context(<script>@R|kotlin/script/templates/standard/ScriptTemplateWithArgs|)
context(<script>@kotlin.script.templates.standard.ScriptTemplateWithArgs)
SCRIPT: [ResolvedTo(BODY_RESOLVE)]
[ResolvedTo(RAW_FIR)] lval args: R|kotlin/Array<kotlin/String>|
public abstract [ResolvedTo(STATUS)] interface A : R|kotlin/Any| {
public? final? [ResolvedTo(RAW_FIR)] interface A : R|kotlin/Any| {
}
public final [ResolvedTo(STATUS)] class C : R|A| {
public [ResolvedTo(STATUS)] [ContainingClassKey=C] constructor(): R|C| {
super<R|kotlin/Any|>()
public? final? [ResolvedTo(RAW_FIR)] class C : A {
public? [ResolvedTo(RAW_FIR)] [ContainingClassKey=C] constructor(): R|C| {
super<<implicit>>()
}
}
@@ -3,16 +3,16 @@ FIR element: FirValueParameterImpl
FIR source kind: KtRealSourceElementKind
FIR element rendered:
[ResolvedTo(STATUS)] resolveMe: R|kotlin/Int| = Int(5)
[ResolvedTo(RAW_FIR)] resolveMe: Int = IntegerLiteral(5)
FIR FILE:
FILE: [ResolvedTo(IMPORTS)] constructorParameterScript.kts
context(<script>@R|kotlin/script/templates/standard/ScriptTemplateWithArgs|)
context(<script>@kotlin.script.templates.standard.ScriptTemplateWithArgs)
SCRIPT: [ResolvedTo(BODY_RESOLVE)]
[ResolvedTo(RAW_FIR)] lval args: R|kotlin/Array<kotlin/String>|
public final [ResolvedTo(STATUS)] class X : R|kotlin/Any| {
public [ResolvedTo(STATUS)] [ContainingClassKey=X] constructor([ResolvedTo(STATUS)] resolveMe: R|kotlin/Int| = Int(5)): R|X| {
public? final? [ResolvedTo(RAW_FIR)] class X : R|kotlin/Any| {
public? [ResolvedTo(RAW_FIR)] [ContainingClassKey=X] constructor([ResolvedTo(RAW_FIR)] resolveMe: Int = IntegerLiteral(5)): R|X| {
super<R|kotlin/Any|>()
}
@@ -3,20 +3,20 @@ FIR element: FirValueParameterImpl
FIR source kind: KtRealSourceElementKind
FIR element rendered:
[ResolvedTo(STATUS)] [CorrespondingProperty=/Abc.i] i: R|kotlin/Int| = Int(4)
[ResolvedTo(RAW_FIR)] [CorrespondingProperty=/Abc.i] i: Int = IntegerLiteral(4)
FIR FILE:
FILE: [ResolvedTo(IMPORTS)] constructorPropertyScript.kts
context(<script>@R|kotlin/script/templates/standard/ScriptTemplateWithArgs|)
context(<script>@kotlin.script.templates.standard.ScriptTemplateWithArgs)
SCRIPT: [ResolvedTo(BODY_RESOLVE)]
[ResolvedTo(RAW_FIR)] lval args: R|kotlin/Array<kotlin/String>|
public final [ResolvedTo(STATUS)] class Abc : R|kotlin/Any| {
public [ResolvedTo(STATUS)] [ContainingClassKey=Abc] constructor([ResolvedTo(STATUS)] [CorrespondingProperty=/Abc.i] i: R|kotlin/Int| = Int(4)): R|Abc| {
public? final? [ResolvedTo(RAW_FIR)] class Abc : R|kotlin/Any| {
public? [ResolvedTo(RAW_FIR)] [ContainingClassKey=Abc] constructor([ResolvedTo(RAW_FIR)] [CorrespondingProperty=/Abc.i] i: Int = IntegerLiteral(4)): R|Abc| {
super<R|kotlin/Any|>()
}
public final [ResolvedTo(STATUS)] [IsFromPrimaryConstructor=true] val i: R|kotlin/Int| = R|<local>/i|
public [ResolvedTo(STATUS)] [ContainingClassKey=Abc] get(): R|kotlin/Int|
public? final? [ResolvedTo(RAW_FIR)] [IsFromPrimaryConstructor=true] val i: Int = R|<local>/i|
public? [ResolvedTo(RAW_FIR)] [ContainingClassKey=Abc] get(): Int
}
@@ -3,16 +3,16 @@ FIR element: FirPropertyImpl
FIR source kind: KtRealSourceElementKind
FIR element rendered:
public final [ResolvedTo(RAW_FIR)] [DestructuringDeclarationContainerVariableKey=<local>/<destruct>] val o: <ERROR TYPE REF: Unresolved name: component1> = R|<local>/<destruct>|.<Unresolved name: component1>#()
public final [ResolvedTo(RAW_FIR)] [DestructuringDeclarationContainerVariableKey=<local>/<destruct>] val o: <implicit> = R|<local>/<destruct>|.component1#()
FIR FILE:
FILE: [ResolvedTo(IMPORTS)] destructionWithNoRValueScript.kts
context(<script>@R|kotlin/script/templates/standard/ScriptTemplateWithArgs|)
context(<script>@kotlin.script.templates.standard.ScriptTemplateWithArgs)
SCRIPT: [ResolvedTo(BODY_RESOLVE)]
[ResolvedTo(RAW_FIR)] lval args: R|kotlin/Array<kotlin/String>|
[ResolvedTo(RAW_FIR)] [DestructuringDeclarationContainerVariableMarkerKey=true] lval <destruct>: <ERROR TYPE REF: Initializer required for destructuring declaration> = ERROR_EXPR(Initializer required for destructuring declaration)
public final [ResolvedTo(RAW_FIR)] [DestructuringDeclarationContainerVariableKey=<local>/<destruct>] val o: <ERROR TYPE REF: Unresolved name: component1> = R|<local>/<destruct>|.<Unresolved name: component1>#()
[ResolvedTo(RAW_FIR)] [DestructuringDeclarationContainerVariableMarkerKey=true] lval <destruct>: <implicit> = ERROR_EXPR(Initializer required for destructuring declaration)
public final [ResolvedTo(RAW_FIR)] [DestructuringDeclarationContainerVariableKey=<local>/<destruct>] val o: <implicit> = R|<local>/<destruct>|.component1#()
public final [ResolvedTo(RAW_FIR)] [DestructuringDeclarationContainerVariableKey=<local>/<destruct>] val r: <ERROR TYPE REF: Unresolved name: component2> = R|<local>/<destruct>|.<Unresolved name: component2>#()
public final [ResolvedTo(RAW_FIR)] [DestructuringDeclarationContainerVariableKey=<local>/<destruct>] val r: <implicit> = R|<local>/<destruct>|.component2#()
@@ -3,16 +3,16 @@ FIR element: FirPropertyImpl
FIR source kind: KtRealSourceElementKind
FIR element rendered:
[ResolvedTo(RAW_FIR)] lval a: R|kotlin/Int| = R|<local>/<destruct>|.R|SubstitutionOverride<kotlin/Pair.component1: R|kotlin/Int|>|()
[ResolvedTo(RAW_FIR)] lval a: <implicit> = R|<local>/<destruct>|.component1#()
FIR FILE:
FILE: [ResolvedTo(IMPORTS)] destructuringEntryScript.kts
context(<script>@R|kotlin/script/templates/standard/ScriptTemplateWithArgs|)
context(<script>@kotlin.script.templates.standard.ScriptTemplateWithArgs)
SCRIPT: [ResolvedTo(BODY_RESOLVE)]
[ResolvedTo(RAW_FIR)] lval args: R|kotlin/Array<kotlin/String>|
public final [ResolvedTo(RAW_FIR)] fun main(): R|kotlin/Unit| {
[ResolvedTo(RAW_FIR)] lval <destruct>: R|kotlin/Pair<kotlin/Int, kotlin/Int>| = Int(1).R|kotlin/to|<R|kotlin/Int|, R|kotlin/Int|>(Int(2))
[ResolvedTo(RAW_FIR)] lval a: R|kotlin/Int| = R|<local>/<destruct>|.R|SubstitutionOverride<kotlin/Pair.component1: R|kotlin/Int|>|()
[ResolvedTo(RAW_FIR)] lval b: R|kotlin/Int| = R|<local>/<destruct>|.R|SubstitutionOverride<kotlin/Pair.component2: R|kotlin/Int|>|()
public? final? [ResolvedTo(RAW_FIR)] fun main(): R|kotlin/Unit| {
[ResolvedTo(RAW_FIR)] lval <destruct>: <implicit> = IntegerLiteral(1).to#(IntegerLiteral(2))
[ResolvedTo(RAW_FIR)] lval a: <implicit> = R|<local>/<destruct>|.component1#()
[ResolvedTo(RAW_FIR)] lval b: <implicit> = R|<local>/<destruct>|.component2#()
}
@@ -3,27 +3,27 @@ FIR element: FirPropertyImpl
FIR source kind: KtRealSourceElementKind
FIR element rendered:
[ResolvedTo(RAW_FIR)] [DestructuringDeclarationContainerVariableMarkerKey=true] lval <destruct>: R|kotlin/Pair<kotlin/Int, kotlin/Int>| = R|/pair|
[ResolvedTo(RAW_FIR)] [DestructuringDeclarationContainerVariableMarkerKey=true] lval <destruct>: <implicit> = pair#
FIR FILE:
FILE: [ResolvedTo(IMPORTS)] destructuringScript.kts
context(<script>@R|kotlin/script/templates/standard/ScriptTemplateWithArgs|)
context(<script>@kotlin.script.templates.standard.ScriptTemplateWithArgs)
SCRIPT: [ResolvedTo(BODY_RESOLVE)]
[ResolvedTo(RAW_FIR)] lval args: R|kotlin/Array<kotlin/String>|
public final [ResolvedTo(RAW_FIR)] var a: R|kotlin/Int| = Int(-1)
public [ResolvedTo(RAW_FIR)] get(): R|kotlin/Int|
public [ResolvedTo(RAW_FIR)] set([ResolvedTo(RAW_FIR)] value: R|kotlin/Int|): R|kotlin/Unit|
public? final? [ResolvedTo(RAW_FIR)] var a: <implicit> = IntegerLiteral(-1)
public? [ResolvedTo(RAW_FIR)] get(): <implicit>
public? [ResolvedTo(RAW_FIR)] set([ResolvedTo(RAW_FIR)] value: <implicit>): R|kotlin/Unit|
public final [ResolvedTo(RAW_FIR)] var b: R|kotlin/Int| = Int(0)
public [ResolvedTo(RAW_FIR)] get(): R|kotlin/Int|
public [ResolvedTo(RAW_FIR)] set([ResolvedTo(RAW_FIR)] value: R|kotlin/Int|): R|kotlin/Unit|
public? final? [ResolvedTo(RAW_FIR)] var b: <implicit> = IntegerLiteral(0)
public? [ResolvedTo(RAW_FIR)] get(): <implicit>
public? [ResolvedTo(RAW_FIR)] set([ResolvedTo(RAW_FIR)] value: <implicit>): R|kotlin/Unit|
public final [ResolvedTo(RAW_FIR)] val pair: R|kotlin/Pair<kotlin/Int, kotlin/Int>| = R|kotlin/Pair.Pair|<R|kotlin/Int|, R|kotlin/Int|>(R|/a|, R|/b|)
public [ResolvedTo(RAW_FIR)] get(): R|kotlin/Pair<kotlin/Int, kotlin/Int>|
public? final? [ResolvedTo(RAW_FIR)] val pair: <implicit> = Pair#(a#, b#)
public? [ResolvedTo(RAW_FIR)] get(): <implicit>
[ResolvedTo(RAW_FIR)] [DestructuringDeclarationContainerVariableMarkerKey=true] lval <destruct>: R|kotlin/Pair<kotlin/Int, kotlin/Int>| = R|/pair|
public final [ResolvedTo(RAW_FIR)] [DestructuringDeclarationContainerVariableKey=<local>/<destruct>] val first: R|kotlin/Int| = R|<local>/<destruct>|.R|SubstitutionOverride<kotlin/Pair.component1: R|kotlin/Int|>|()
[ResolvedTo(RAW_FIR)] [DestructuringDeclarationContainerVariableMarkerKey=true] lval <destruct>: <implicit> = pair#
public final [ResolvedTo(RAW_FIR)] [DestructuringDeclarationContainerVariableKey=<local>/<destruct>] val first: <implicit> = R|<local>/<destruct>|.component1#()
public final [ResolvedTo(RAW_FIR)] [DestructuringDeclarationContainerVariableKey=<local>/<destruct>] val last: R|kotlin/Int| = R|<local>/<destruct>|.R|SubstitutionOverride<kotlin/Pair.component2: R|kotlin/Int|>|()
public final [ResolvedTo(RAW_FIR)] [DestructuringDeclarationContainerVariableKey=<local>/<destruct>] val last: <implicit> = R|<local>/<destruct>|.component2#()
@@ -12,11 +12,11 @@ object : R|kotlin/Any| {
FIR FILE:
FILE: [ResolvedTo(IMPORTS)] objectLiteralExpressionScript.kts
context(<script>@R|kotlin/script/templates/standard/ScriptTemplateWithArgs|)
context(<script>@kotlin.script.templates.standard.ScriptTemplateWithArgs)
SCRIPT: [ResolvedTo(BODY_RESOLVE)]
[ResolvedTo(RAW_FIR)] lval args: R|kotlin/Array<kotlin/String>|
public final [ResolvedTo(RAW_FIR)] fun test(): R|kotlin/Unit| {
public? final? [ResolvedTo(RAW_FIR)] fun test(): R|kotlin/Unit| {
object : R|kotlin/Any| {
private [ResolvedTo(RAW_FIR)] [ContainingClassKey=<anonymous>] constructor(): R|<anonymous>| {
super<R|kotlin/Any|>()
@@ -12,11 +12,11 @@ object : R|kotlin/Any| {
FIR FILE:
FILE: [ResolvedTo(IMPORTS)] objectLiteralScript.kts
context(<script>@R|kotlin/script/templates/standard/ScriptTemplateWithArgs|)
context(<script>@kotlin.script.templates.standard.ScriptTemplateWithArgs)
SCRIPT: [ResolvedTo(BODY_RESOLVE)]
[ResolvedTo(RAW_FIR)] lval args: R|kotlin/Array<kotlin/String>|
public final [ResolvedTo(RAW_FIR)] fun test(): R|kotlin/Unit| {
public? final? [ResolvedTo(RAW_FIR)] fun test(): R|kotlin/Unit| {
object : R|kotlin/Any| {
private [ResolvedTo(RAW_FIR)] [ContainingClassKey=<anonymous>] constructor(): R|<anonymous>| {
super<R|kotlin/Any|>()
@@ -3,21 +3,21 @@ FIR element: FirFunctionCallImpl
FIR source kind: KtRealSourceElementKind
FIR element rendered:
R|kotlin/lazy|<R|kotlin/Int|>(<L> = [ResolvedTo(RAW_FIR)] [MatchingParameterFunctionTypeKey=kotlin/Function0<T>] lazy@fun <anonymous>(): R|kotlin/Int| <inline=NoInline> {
^ Int(1)
lazy#(<L> = [ResolvedTo(RAW_FIR)] lazy@fun <implicit>.<anonymous>(): <implicit> <inline=Unknown> {
IntegerLiteral(1)
}
)
FIR FILE:
FILE: [ResolvedTo(IMPORTS)] propertyDelegateScript.kts
context(<script>@R|kotlin/script/templates/standard/ScriptTemplateWithArgs|)
context(<script>@kotlin.script.templates.standard.ScriptTemplateWithArgs)
SCRIPT: [ResolvedTo(BODY_RESOLVE)]
[ResolvedTo(RAW_FIR)] lval args: R|kotlin/Array<kotlin/String>|
public final [ResolvedTo(RAW_FIR)] val x: R|kotlin/Int|by R|kotlin/lazy|<R|kotlin/Int|>(<L> = [ResolvedTo(RAW_FIR)] [MatchingParameterFunctionTypeKey=kotlin/Function0<T>] lazy@fun <anonymous>(): R|kotlin/Int| <inline=NoInline> {
^ Int(1)
public? final? [ResolvedTo(RAW_FIR)] val x: <implicit>by lazy#(<L> = [ResolvedTo(RAW_FIR)] lazy@fun <implicit>.<anonymous>(): <implicit> <inline=Unknown> {
IntegerLiteral(1)
}
)
public [ResolvedTo(RAW_FIR)] get(): R|kotlin/Int| {
^ D|/x|.R|kotlin/getValue|<R|kotlin/Int|>(Null(null), ::R|/x|)
public? [ResolvedTo(RAW_FIR)] get(): <implicit> {
^ D|/x|.getValue#(Null(null), ::R|/x|)
}
@@ -3,13 +3,13 @@ FIR element: FirTypeParameterImpl
FIR source kind: KtRealSourceElementKind
FIR element rendered:
[ResolvedTo(RAW_FIR)] From : R|To|
[ResolvedTo(RAW_FIR)] From : To
FIR FILE:
FILE: [ResolvedTo(IMPORTS)] whereClause1Script.kts
context(<script>@R|kotlin/script/templates/standard/ScriptTemplateWithArgs|)
context(<script>@kotlin.script.templates.standard.ScriptTemplateWithArgs)
SCRIPT: [ResolvedTo(BODY_RESOLVE)]
[ResolvedTo(RAW_FIR)] lval args: R|kotlin/Array<kotlin/String>|
public final [ResolvedTo(RAW_FIR)] fun <[ResolvedTo(RAW_FIR)] From : R|To|, [ResolvedTo(RAW_FIR)] To : R|kotlin/Any|> copyNotNull([ResolvedTo(RAW_FIR)] from: R|kotlin/collections/List<From>|, [ResolvedTo(RAW_FIR)] to: R|kotlin/collections/List<To>|): R|kotlin/Unit| {
public? final? [ResolvedTo(RAW_FIR)] fun <[ResolvedTo(RAW_FIR)] From : To, [ResolvedTo(RAW_FIR)] To : Any> copyNotNull([ResolvedTo(RAW_FIR)] from: List<From>, [ResolvedTo(RAW_FIR)] to: List<To>): R|kotlin/Unit| {
}
@@ -3,13 +3,13 @@ FIR element: FirTypeParameterImpl
FIR source kind: KtRealSourceElementKind
FIR element rendered:
[ResolvedTo(RAW_FIR)] To : R|kotlin/Any|
[ResolvedTo(RAW_FIR)] To : Any
FIR FILE:
FILE: [ResolvedTo(IMPORTS)] whereClause2Script.kts
context(<script>@R|kotlin/script/templates/standard/ScriptTemplateWithArgs|)
context(<script>@kotlin.script.templates.standard.ScriptTemplateWithArgs)
SCRIPT: [ResolvedTo(BODY_RESOLVE)]
[ResolvedTo(RAW_FIR)] lval args: R|kotlin/Array<kotlin/String>|
public final [ResolvedTo(RAW_FIR)] fun <[ResolvedTo(RAW_FIR)] From : R|To|, [ResolvedTo(RAW_FIR)] To : R|kotlin/Any|> copyNotNull([ResolvedTo(RAW_FIR)] from: R|kotlin/collections/List<From>|, [ResolvedTo(RAW_FIR)] to: R|kotlin/collections/List<To>|): R|kotlin/Unit| {
public? final? [ResolvedTo(RAW_FIR)] fun <[ResolvedTo(RAW_FIR)] From : To, [ResolvedTo(RAW_FIR)] To : Any> copyNotNull([ResolvedTo(RAW_FIR)] from: List<From>, [ResolvedTo(RAW_FIR)] to: List<To>): R|kotlin/Unit| {
}
@@ -3,14 +3,14 @@ FIR element: FirFunctionCallImpl
FIR source kind: KtRealSourceElementKind
FIR element rendered:
R|<local>/x|.R|SubstitutionOverride<kotlin/collections/List.get: R|kotlin/Int|>|(Int(1))
x#.get#(IntegerLiteral(1))
FIR FILE:
FILE: [ResolvedTo(IMPORTS)] arrayAccessExpressionScript.kts
context(<script>@R|kotlin/script/templates/standard/ScriptTemplateWithArgs|)
context(<script>@kotlin.script.templates.standard.ScriptTemplateWithArgs)
SCRIPT: [ResolvedTo(BODY_RESOLVE)]
[ResolvedTo(RAW_FIR)] lval args: R|kotlin/Array<kotlin/String>|
public final [ResolvedTo(RAW_FIR)] fun foo([ResolvedTo(RAW_FIR)] x: R|kotlin/collections/List<kotlin/Int>|): R|kotlin/Unit| {
[ResolvedTo(RAW_FIR)] lval a: R|kotlin/Int| = R|<local>/x|.R|SubstitutionOverride<kotlin/collections/List.get: R|kotlin/Int|>|(Int(1))
public? final? [ResolvedTo(RAW_FIR)] fun foo([ResolvedTo(RAW_FIR)] x: List<Int>): R|kotlin/Unit| {
[ResolvedTo(RAW_FIR)] lval a: <implicit> = x#.get#(IntegerLiteral(1))
}
@@ -3,20 +3,20 @@ FIR element: FirConstExpressionImpl
FIR source kind: KtRealSourceElementKind
FIR element rendered:
Int(0)
IntegerLiteral(0)
FIR FILE:
FILE: [ResolvedTo(IMPORTS)] arrayIndexExpressionWithIncScript.kts
context(<script>@R|kotlin/script/templates/standard/ScriptTemplateWithArgs|)
context(<script>@kotlin.script.templates.standard.ScriptTemplateWithArgs)
SCRIPT: [ResolvedTo(BODY_RESOLVE)]
[ResolvedTo(RAW_FIR)] lval args: R|kotlin/Array<kotlin/String>|
public final [ResolvedTo(RAW_FIR)] fun main([ResolvedTo(RAW_FIR)] args: R|kotlin/Array<kotlin/String>|): R|kotlin/Unit| {
[ResolvedTo(RAW_FIR)] lval a: R|java/util/ArrayList<kotlin/String>| = R|java/util/ArrayList.ArrayList|<R|kotlin/String|>()
R|<local>/a|.R|SubstitutionOverride<java/util/ArrayList.add: R|kotlin/Boolean|>|(String())
[ResolvedTo(RAW_FIR)] lval <array>: R|java/util/ArrayList<kotlin/String>| = R|<local>/a|
[ResolvedTo(RAW_FIR)] lval <index_0>: R|kotlin/Int| = Int(0)
[ResolvedTo(RAW_FIR)] lval <unary>: R|kotlin/String| = R|<local>/<array>|.R|SubstitutionOverride<java/util/ArrayList.get: R|@EnhancedNullability kotlin/String|>|(R|<local>/<index_0>|)
R|<local>/<array>|.R|SubstitutionOverride<java/util/ArrayList.set: R|@EnhancedNullability kotlin/String|>|(R|<local>/<index_0>|, R|<local>/<unary>|.<Unresolved name: inc>#())
public? final? [ResolvedTo(RAW_FIR)] fun main([ResolvedTo(RAW_FIR)] args: Array<String>): R|kotlin/Unit| {
[ResolvedTo(RAW_FIR)] lval a: <implicit> = ArrayList#<String>()
a#.add#(String())
[ResolvedTo(RAW_FIR)] lval <array>: <implicit> = a#
[ResolvedTo(RAW_FIR)] lval <index_0>: <implicit> = IntegerLiteral(0)
[ResolvedTo(RAW_FIR)] lval <unary>: <implicit> = R|<local>/<array>|.get#(R|<local>/<index_0>|)
R|<local>/<array>|.set#(R|<local>/<index_0>|, R|<local>/<unary>|.inc#())
R|<local>/<unary>|
}
@@ -7,49 +7,49 @@ String()
FIR FILE:
FILE: [ResolvedTo(IMPORTS)] assignment.kts
context(<script>@R|kotlin/script/templates/standard/ScriptTemplateWithArgs|)
context(<script>@kotlin.script.templates.standard.ScriptTemplateWithArgs)
SCRIPT: [ResolvedTo(BODY_RESOLVE)]
[ResolvedTo(RAW_FIR)] lval args: R|kotlin/Array<kotlin/String>|
public final [ResolvedTo(STATUS)] class Builder : R|kotlin/Any| {
public [ResolvedTo(STATUS)] [ContainingClassKey=Builder] constructor(): R|Builder| {
public? final? [ResolvedTo(RAW_FIR)] class Builder : R|kotlin/Any| {
public? [ResolvedTo(RAW_FIR)] [ContainingClassKey=Builder] constructor(): R|Builder| {
super<R|kotlin/Any|>()
}
public final [ResolvedTo(STATUS)] var version: R|kotlin/String| = String()
public [ResolvedTo(STATUS)] [ContainingClassKey=Builder] get(): R|kotlin/String|
public [ResolvedTo(STATUS)] [ContainingClassKey=Builder] set([ResolvedTo(STATUS)] value: R|kotlin/String|): R|kotlin/Unit|
public? final? [ResolvedTo(RAW_FIR)] var version: String = String()
public? [ResolvedTo(RAW_FIR)] [ContainingClassKey=Builder] get(): String
public? [ResolvedTo(RAW_FIR)] [ContainingClassKey=Builder] set([ResolvedTo(RAW_FIR)] value: String): R|kotlin/Unit|
public final [ResolvedTo(STATUS)] fun execute(): R|kotlin/Unit| {
<Unresolved name: println>#(this@R|/Builder|.R|/Builder.version|)
public? final? [ResolvedTo(RAW_FIR)] fun execute(): R|kotlin/Unit| {
println#(version#)
}
}
public final [ResolvedTo(RAW_FIR)] fun build([ResolvedTo(RAW_FIR)] action: R|Builder.() -> kotlin/Unit|): R|Builder| {
^build R|/Builder.Builder|().R|kotlin/apply|<R|Builder|>(R|<local>/action|)
public? final? [ResolvedTo(RAW_FIR)] fun build([ResolvedTo(RAW_FIR)] action: ( Builder.() -> Unit )): <implicit> {
^build Builder#().apply#(action#)
}
R|/build|(<L> = [ResolvedTo(RAW_FIR)] [MatchingParameterFunctionTypeKey=@ExtensionFunctionType kotlin/Function1<Builder, kotlin/Unit>] build@fun R|Builder|.<anonymous>(): R|kotlin/Unit| <inline=NoInline> {
this@R|special/anonymous|.R|/Builder.version| = String(123)
local final [ResolvedTo(RAW_FIR)] class A : R|kotlin/Any| {
public [ResolvedTo(RAW_FIR)] [ContainingClassKey=A] constructor(): R|A| {
build#(<L> = [ResolvedTo(RAW_FIR)] build@fun <implicit>.<anonymous>(): <implicit> <inline=Unknown> {
version# = String(123)
local final? [ResolvedTo(RAW_FIR)] class A : R|kotlin/Any| {
public? [ResolvedTo(RAW_FIR)] [ContainingClassKey=A] constructor(): R|A| {
super<R|kotlin/Any|>()
}
public final [ResolvedTo(RAW_FIR)] fun doo(): R|kotlin/Unit| {
public? final? [ResolvedTo(RAW_FIR)] fun doo(): R|kotlin/Unit| {
}
}
this@R|special/anonymous|.R|/Builder.execute|()
execute#()
}
)
public final [ResolvedTo(RAW_FIR)] val builder: R|Builder| = R|/build|(<L> = [ResolvedTo(RAW_FIR)] [MatchingParameterFunctionTypeKey=@ExtensionFunctionType kotlin/Function1<Builder, kotlin/Unit>] build@fun R|Builder|.<anonymous>(): R|kotlin/Unit| <inline=NoInline> {
this@R|special/anonymous|.R|/Builder.version| = String(321)
public? final? [ResolvedTo(RAW_FIR)] val builder: <implicit> = build#(<L> = [ResolvedTo(RAW_FIR)] build@fun <implicit>.<anonymous>(): <implicit> <inline=Unknown> {
version# = String(321)
}
)
public [ResolvedTo(RAW_FIR)] get(): R|Builder|
public? [ResolvedTo(RAW_FIR)] get(): <implicit>
R|/builder|.R|/Builder.execute|()
R|/builder|.R|/Builder.version| = String()
builder#.execute#()
builder#.version# = String()
@@ -1,15 +1,15 @@
KT element: KtOperationReferenceExpression
FIR element: FirResolvedNamedReferenceImpl
FIR element: FirFunctionCallImpl
FIR source kind: KtRealSourceElementKind
FIR element rendered:
R|kotlin/Int.plus|
IntegerLiteral(1).plus#(IntegerLiteral(1))
FIR FILE:
FILE: [ResolvedTo(IMPORTS)] binaryExpressionOperatorScript.kts
context(<script>@R|kotlin/script/templates/standard/ScriptTemplateWithArgs|)
context(<script>@kotlin.script.templates.standard.ScriptTemplateWithArgs)
SCRIPT: [ResolvedTo(BODY_RESOLVE)]
[ResolvedTo(RAW_FIR)] lval args: R|kotlin/Array<kotlin/String>|
public final [ResolvedTo(RAW_FIR)] val x: R|kotlin/Int| = Int(1).R|kotlin/Int.plus|(Int(1))
public [ResolvedTo(RAW_FIR)] get(): R|kotlin/Int|
public? final? [ResolvedTo(RAW_FIR)] val x: <implicit> = IntegerLiteral(1).plus#(IntegerLiteral(1))
public? [ResolvedTo(RAW_FIR)] get(): <implicit>
@@ -1,15 +1,15 @@
KT element: KtBinaryExpression
FIR element: FirIntegerLiteralOperatorCallImpl
FIR element: FirFunctionCallImpl
FIR source kind: KtRealSourceElementKind
FIR element rendered:
Int(1).R|kotlin/Int.plus|(Int(1))
IntegerLiteral(1).plus#(IntegerLiteral(1))
FIR FILE:
FILE: [ResolvedTo(IMPORTS)] binaryExpressionScript.kts
context(<script>@R|kotlin/script/templates/standard/ScriptTemplateWithArgs|)
context(<script>@kotlin.script.templates.standard.ScriptTemplateWithArgs)
SCRIPT: [ResolvedTo(BODY_RESOLVE)]
[ResolvedTo(RAW_FIR)] lval args: R|kotlin/Array<kotlin/String>|
public final [ResolvedTo(RAW_FIR)] val x: R|kotlin/Int| = Int(1).R|kotlin/Int.plus|(Int(1))
public [ResolvedTo(RAW_FIR)] get(): R|kotlin/Int|
public? final? [ResolvedTo(RAW_FIR)] val x: <implicit> = IntegerLiteral(1).plus#(IntegerLiteral(1))
public? [ResolvedTo(RAW_FIR)] get(): <implicit>
@@ -8,9 +8,9 @@ FIR element rendered:
FIR FILE:
FILE: [ResolvedTo(IMPORTS)] blockExpressionScript.kts
context(<script>@R|kotlin/script/templates/standard/ScriptTemplateWithArgs|)
context(<script>@kotlin.script.templates.standard.ScriptTemplateWithArgs)
SCRIPT: [ResolvedTo(BODY_RESOLVE)]
[ResolvedTo(RAW_FIR)] lval args: R|kotlin/Array<kotlin/String>|
public final [ResolvedTo(RAW_FIR)] fun x(): R|kotlin/Unit| {
public? final? [ResolvedTo(RAW_FIR)] fun x(): R|kotlin/Unit| {
}
@@ -7,9 +7,9 @@ Boolean(true)
FIR FILE:
FILE: [ResolvedTo(IMPORTS)] boolLiteralScript.kts
context(<script>@R|kotlin/script/templates/standard/ScriptTemplateWithArgs|)
context(<script>@kotlin.script.templates.standard.ScriptTemplateWithArgs)
SCRIPT: [ResolvedTo(BODY_RESOLVE)]
[ResolvedTo(RAW_FIR)] lval args: R|kotlin/Array<kotlin/String>|
public final [ResolvedTo(RAW_FIR)] val x: R|kotlin/Boolean| = Boolean(true)
public [ResolvedTo(RAW_FIR)] get(): R|kotlin/Boolean|
public? final? [ResolvedTo(RAW_FIR)] val x: <implicit> = Boolean(true)
public? [ResolvedTo(RAW_FIR)] get(): <implicit>
@@ -3,53 +3,53 @@ FIR element: FirFunctionCallImpl
FIR source kind: KtRealSourceElementKind
FIR element rendered:
R|/Builder.Builder|()
Builder#()
FIR FILE:
FILE: [ResolvedTo(IMPORTS)] callInsideFunction.kts
context(<script>@R|kotlin/script/templates/standard/ScriptTemplateWithArgs|)
context(<script>@kotlin.script.templates.standard.ScriptTemplateWithArgs)
SCRIPT: [ResolvedTo(BODY_RESOLVE)]
[ResolvedTo(RAW_FIR)] lval args: R|kotlin/Array<kotlin/String>|
public final [ResolvedTo(STATUS)] class Builder : R|kotlin/Any| {
public [ResolvedTo(STATUS)] [ContainingClassKey=Builder] constructor(): R|Builder| {
public? final? [ResolvedTo(RAW_FIR)] class Builder : R|kotlin/Any| {
public? [ResolvedTo(RAW_FIR)] [ContainingClassKey=Builder] constructor(): R|Builder| {
super<R|kotlin/Any|>()
}
public final [ResolvedTo(STATUS)] var version: R|kotlin/String| = String()
public [ResolvedTo(STATUS)] [ContainingClassKey=Builder] get(): R|kotlin/String|
public [ResolvedTo(STATUS)] [ContainingClassKey=Builder] set([ResolvedTo(STATUS)] value: R|kotlin/String|): R|kotlin/Unit|
public? final? [ResolvedTo(RAW_FIR)] var version: String = String()
public? [ResolvedTo(RAW_FIR)] [ContainingClassKey=Builder] get(): String
public? [ResolvedTo(RAW_FIR)] [ContainingClassKey=Builder] set([ResolvedTo(RAW_FIR)] value: String): R|kotlin/Unit|
public final [ResolvedTo(STATUS)] fun execute(): R|kotlin/Unit| {
<Unresolved name: println>#(this@R|/Builder|.R|/Builder.version|)
public? final? [ResolvedTo(RAW_FIR)] fun execute(): R|kotlin/Unit| {
println#(version#)
}
}
public final [ResolvedTo(RAW_FIR)] fun build([ResolvedTo(RAW_FIR)] action: R|Builder.() -> kotlin/Unit|): R|Builder| {
^build R|/Builder.Builder|().R|kotlin/apply|<R|Builder|>(R|<local>/action|)
public? final? [ResolvedTo(RAW_FIR)] fun build([ResolvedTo(RAW_FIR)] action: ( Builder.() -> Unit )): <implicit> {
^build Builder#().apply#(action#)
}
R|/build|(<L> = [ResolvedTo(RAW_FIR)] [MatchingParameterFunctionTypeKey=@ExtensionFunctionType kotlin/Function1<Builder, kotlin/Unit>] build@fun R|Builder|.<anonymous>(): R|kotlin/Unit| <inline=NoInline> {
this@R|special/anonymous|.R|/Builder.version| = String(123)
local final [ResolvedTo(RAW_FIR)] class A : R|kotlin/Any| {
public [ResolvedTo(RAW_FIR)] [ContainingClassKey=A] constructor(): R|A| {
build#(<L> = [ResolvedTo(RAW_FIR)] build@fun <implicit>.<anonymous>(): <implicit> <inline=Unknown> {
version# = String(123)
local final? [ResolvedTo(RAW_FIR)] class A : R|kotlin/Any| {
public? [ResolvedTo(RAW_FIR)] [ContainingClassKey=A] constructor(): R|A| {
super<R|kotlin/Any|>()
}
public final [ResolvedTo(RAW_FIR)] fun doo(): R|kotlin/Unit| {
public? final? [ResolvedTo(RAW_FIR)] fun doo(): R|kotlin/Unit| {
}
}
this@R|special/anonymous|.R|/Builder.execute|()
execute#()
}
)
public final [ResolvedTo(RAW_FIR)] val builder: R|Builder| = R|/build|(<L> = [ResolvedTo(RAW_FIR)] [MatchingParameterFunctionTypeKey=@ExtensionFunctionType kotlin/Function1<Builder, kotlin/Unit>] build@fun R|Builder|.<anonymous>(): R|kotlin/Unit| <inline=NoInline> {
this@R|special/anonymous|.R|/Builder.version| = String(321)
public? final? [ResolvedTo(RAW_FIR)] val builder: <implicit> = build#(<L> = [ResolvedTo(RAW_FIR)] build@fun <implicit>.<anonymous>(): <implicit> <inline=Unknown> {
version# = String(321)
}
)
public [ResolvedTo(RAW_FIR)] get(): R|Builder|
public? [ResolvedTo(RAW_FIR)] get(): <implicit>
R|/builder|.R|/Builder.execute|()
R|/builder|.R|/Builder.version| = String()
builder#.execute#()
builder#.version# = String()
@@ -3,53 +3,53 @@ FIR element: FirFunctionCallImpl
FIR source kind: KtRealSourceElementKind
FIR element rendered:
this@R|special/anonymous|.R|/Builder.execute|()
execute#()
FIR FILE:
FILE: [ResolvedTo(IMPORTS)] callInsideStatement.kts
context(<script>@R|kotlin/script/templates/standard/ScriptTemplateWithArgs|)
context(<script>@kotlin.script.templates.standard.ScriptTemplateWithArgs)
SCRIPT: [ResolvedTo(BODY_RESOLVE)]
[ResolvedTo(RAW_FIR)] lval args: R|kotlin/Array<kotlin/String>|
public final [ResolvedTo(STATUS)] class Builder : R|kotlin/Any| {
public [ResolvedTo(STATUS)] [ContainingClassKey=Builder] constructor(): R|Builder| {
public? final? [ResolvedTo(RAW_FIR)] class Builder : R|kotlin/Any| {
public? [ResolvedTo(RAW_FIR)] [ContainingClassKey=Builder] constructor(): R|Builder| {
super<R|kotlin/Any|>()
}
public final [ResolvedTo(STATUS)] var version: R|kotlin/String| = String()
public [ResolvedTo(STATUS)] [ContainingClassKey=Builder] get(): R|kotlin/String|
public [ResolvedTo(STATUS)] [ContainingClassKey=Builder] set([ResolvedTo(STATUS)] value: R|kotlin/String|): R|kotlin/Unit|
public? final? [ResolvedTo(RAW_FIR)] var version: String = String()
public? [ResolvedTo(RAW_FIR)] [ContainingClassKey=Builder] get(): String
public? [ResolvedTo(RAW_FIR)] [ContainingClassKey=Builder] set([ResolvedTo(RAW_FIR)] value: String): R|kotlin/Unit|
public final [ResolvedTo(STATUS)] fun execute(): R|kotlin/Unit| {
<Unresolved name: println>#(this@R|/Builder|.R|/Builder.version|)
public? final? [ResolvedTo(RAW_FIR)] fun execute(): R|kotlin/Unit| {
println#(version#)
}
}
public final [ResolvedTo(RAW_FIR)] fun build([ResolvedTo(RAW_FIR)] action: R|Builder.() -> kotlin/Unit|): R|Builder| {
^build R|/Builder.Builder|().R|kotlin/apply|<R|Builder|>(R|<local>/action|)
public? final? [ResolvedTo(RAW_FIR)] fun build([ResolvedTo(RAW_FIR)] action: ( Builder.() -> Unit )): <implicit> {
^build Builder#().apply#(action#)
}
R|/build|(<L> = [ResolvedTo(RAW_FIR)] [MatchingParameterFunctionTypeKey=@ExtensionFunctionType kotlin/Function1<Builder, kotlin/Unit>] build@fun R|Builder|.<anonymous>(): R|kotlin/Unit| <inline=NoInline> {
this@R|special/anonymous|.R|/Builder.version| = String(123)
local final [ResolvedTo(RAW_FIR)] class A : R|kotlin/Any| {
public [ResolvedTo(RAW_FIR)] [ContainingClassKey=A] constructor(): R|A| {
build#(<L> = [ResolvedTo(RAW_FIR)] build@fun <implicit>.<anonymous>(): <implicit> <inline=Unknown> {
version# = String(123)
local final? [ResolvedTo(RAW_FIR)] class A : R|kotlin/Any| {
public? [ResolvedTo(RAW_FIR)] [ContainingClassKey=A] constructor(): R|A| {
super<R|kotlin/Any|>()
}
public final [ResolvedTo(RAW_FIR)] fun doo(): R|kotlin/Unit| {
public? final? [ResolvedTo(RAW_FIR)] fun doo(): R|kotlin/Unit| {
}
}
this@R|special/anonymous|.R|/Builder.execute|()
execute#()
}
)
public final [ResolvedTo(RAW_FIR)] val builder: R|Builder| = R|/build|(<L> = [ResolvedTo(RAW_FIR)] [MatchingParameterFunctionTypeKey=@ExtensionFunctionType kotlin/Function1<Builder, kotlin/Unit>] build@fun R|Builder|.<anonymous>(): R|kotlin/Unit| <inline=NoInline> {
this@R|special/anonymous|.R|/Builder.version| = String(321)
public? final? [ResolvedTo(RAW_FIR)] val builder: <implicit> = build#(<L> = [ResolvedTo(RAW_FIR)] build@fun <implicit>.<anonymous>(): <implicit> <inline=Unknown> {
version# = String(321)
}
)
public [ResolvedTo(RAW_FIR)] get(): R|Builder|
public? [ResolvedTo(RAW_FIR)] get(): <implicit>
R|/builder|.R|/Builder.execute|()
R|/builder|.R|/Builder.version| = String()
builder#.execute#()
builder#.version# = String()
@@ -3,19 +3,19 @@ FIR element: FirFunctionCallImpl
FIR source kind: KtRealSourceElementKind
FIR element rendered:
Int(0).R|kotlin/Int.rangeTo|(Int(1))
IntegerLiteral(0).rangeTo#(IntegerLiteral(1))
FIR FILE:
FILE: [ResolvedTo(IMPORTS)] forExpressionRangeScript.kts
context(<script>@R|kotlin/script/templates/standard/ScriptTemplateWithArgs|)
context(<script>@kotlin.script.templates.standard.ScriptTemplateWithArgs)
SCRIPT: [ResolvedTo(BODY_RESOLVE)]
[ResolvedTo(RAW_FIR)] lval args: R|kotlin/Array<kotlin/String>|
public final [ResolvedTo(RAW_FIR)] fun foo(): R|kotlin/Unit| {
public? final? [ResolvedTo(RAW_FIR)] fun foo(): R|kotlin/Unit| {
{
[ResolvedTo(RAW_FIR)] lval <iterator>: R|kotlin/collections/IntIterator| = Int(0).R|kotlin/Int.rangeTo|(Int(1)).R|kotlin/ranges/IntProgression.iterator|()
while(R|<local>/<iterator>|.R|SubstitutionOverride<kotlin/collections/IntIterator.hasNext: R|kotlin/Boolean|>|()) {
[ResolvedTo(RAW_FIR)] lval x: R|kotlin/Int| = R|<local>/<iterator>|.R|kotlin/collections/IntIterator.next|()
[ResolvedTo(RAW_FIR)] lval <iterator>: <implicit> = IntegerLiteral(0).rangeTo#(IntegerLiteral(1)).iterator#()
while(R|<local>/<iterator>|.hasNext#()) {
[ResolvedTo(RAW_FIR)] lval x: <implicit> = R|<local>/<iterator>|.next#()
{
}
@@ -3,8 +3,8 @@ FIR element: FirWhileLoopImpl
FIR source kind: KtRealSourceElementKind
FIR element rendered:
while(R|<local>/<iterator>|.R|SubstitutionOverride<kotlin/collections/IntIterator.hasNext: R|kotlin/Boolean|>|()) {
[ResolvedTo(RAW_FIR)] lval x: R|kotlin/Int| = R|<local>/<iterator>|.R|kotlin/collections/IntIterator.next|()
while(R|<local>/<iterator>|.hasNext#()) {
[ResolvedTo(RAW_FIR)] lval x: <implicit> = R|<local>/<iterator>|.next#()
{
}
@@ -12,15 +12,15 @@ while(R|<local>/<iterator>|.R|SubstitutionOverride<kotlin/collections/IntIterato
FIR FILE:
FILE: [ResolvedTo(IMPORTS)] forExpressionScript.kts
context(<script>@R|kotlin/script/templates/standard/ScriptTemplateWithArgs|)
context(<script>@kotlin.script.templates.standard.ScriptTemplateWithArgs)
SCRIPT: [ResolvedTo(BODY_RESOLVE)]
[ResolvedTo(RAW_FIR)] lval args: R|kotlin/Array<kotlin/String>|
public final [ResolvedTo(RAW_FIR)] fun foo(): R|kotlin/Unit| {
public? final? [ResolvedTo(RAW_FIR)] fun foo(): R|kotlin/Unit| {
{
[ResolvedTo(RAW_FIR)] lval <iterator>: R|kotlin/collections/IntIterator| = Int(0).R|kotlin/Int.rangeTo|(Int(1)).R|kotlin/ranges/IntProgression.iterator|()
while(R|<local>/<iterator>|.R|SubstitutionOverride<kotlin/collections/IntIterator.hasNext: R|kotlin/Boolean|>|()) {
[ResolvedTo(RAW_FIR)] lval x: R|kotlin/Int| = R|<local>/<iterator>|.R|kotlin/collections/IntIterator.next|()
[ResolvedTo(RAW_FIR)] lval <iterator>: <implicit> = IntegerLiteral(0).rangeTo#(IntegerLiteral(1)).iterator#()
while(R|<local>/<iterator>|.hasNext#()) {
[ResolvedTo(RAW_FIR)] lval x: <implicit> = R|<local>/<iterator>|.next#()
{
}
@@ -3,19 +3,19 @@ FIR element: FirPropertyImpl
FIR source kind: KtRealSourceElementKind
FIR element rendered:
[ResolvedTo(RAW_FIR)] lval x: R|kotlin/Int| = R|<local>/<iterator>|.R|kotlin/collections/IntIterator.next|()
[ResolvedTo(RAW_FIR)] lval x: <implicit> = R|<local>/<iterator>|.next#()
FIR FILE:
FILE: [ResolvedTo(IMPORTS)] forExpressionVariableScript.kts
context(<script>@R|kotlin/script/templates/standard/ScriptTemplateWithArgs|)
context(<script>@kotlin.script.templates.standard.ScriptTemplateWithArgs)
SCRIPT: [ResolvedTo(BODY_RESOLVE)]
[ResolvedTo(RAW_FIR)] lval args: R|kotlin/Array<kotlin/String>|
public final [ResolvedTo(RAW_FIR)] fun foo(): R|kotlin/Unit| {
public? final? [ResolvedTo(RAW_FIR)] fun foo(): R|kotlin/Unit| {
{
[ResolvedTo(RAW_FIR)] lval <iterator>: R|kotlin/collections/IntIterator| = Int(0).R|kotlin/Int.rangeTo|(Int(1)).R|kotlin/ranges/IntProgression.iterator|()
while(R|<local>/<iterator>|.R|SubstitutionOverride<kotlin/collections/IntIterator.hasNext: R|kotlin/Boolean|>|()) {
[ResolvedTo(RAW_FIR)] lval x: R|kotlin/Int| = R|<local>/<iterator>|.R|kotlin/collections/IntIterator.next|()
[ResolvedTo(RAW_FIR)] lval <iterator>: <implicit> = IntegerLiteral(0).rangeTo#(IntegerLiteral(1)).iterator#()
while(R|<local>/<iterator>|.hasNext#()) {
[ResolvedTo(RAW_FIR)] lval x: <implicit> = R|<local>/<iterator>|.next#()
{
}
@@ -4,7 +4,7 @@ FIR source kind: KtRealSourceElementKind
FIR element rendered:
when () {
(R|<local>/x| is R|kotlin/String|) -> {
(x# is String) -> {
String(1)
}
else -> {
@@ -14,13 +14,13 @@ when () {
FIR FILE:
FILE: [ResolvedTo(IMPORTS)] ifExpressionScript.kts
context(<script>@R|kotlin/script/templates/standard/ScriptTemplateWithArgs|)
context(<script>@kotlin.script.templates.standard.ScriptTemplateWithArgs)
SCRIPT: [ResolvedTo(BODY_RESOLVE)]
[ResolvedTo(RAW_FIR)] lval args: R|kotlin/Array<kotlin/String>|
public final [ResolvedTo(RAW_FIR)] fun foo([ResolvedTo(RAW_FIR)] x: R|kotlin/Any|): R|kotlin/String| {
public? final? [ResolvedTo(RAW_FIR)] fun foo([ResolvedTo(RAW_FIR)] x: Any): String {
^foo when () {
(R|<local>/x| is R|kotlin/String|) -> {
(x# is String) -> {
String(1)
}
else -> {
@@ -1,22 +1,17 @@
KT element: KtPostfixExpression
FIR element: FirVariableAssignmentImpl
FIR source kind: DesugaredIncrementOrDecrement
FIR element: FirIncrementDecrementExpressionImpl
FIR source kind: KtRealSourceElementKind
FIR element rendered:
R|<local>/nextUnnamedLibraryIndex| = R|<local>/<unary>|.R|kotlin/Int.inc|()
nextUnnamedLibraryIndex#++
FIR FILE:
FILE: [ResolvedTo(IMPORTS)] incExpressionScript.kts
context(<script>@R|kotlin/script/templates/standard/ScriptTemplateWithArgs|)
context(<script>@kotlin.script.templates.standard.ScriptTemplateWithArgs)
SCRIPT: [ResolvedTo(BODY_RESOLVE)]
[ResolvedTo(RAW_FIR)] lval args: R|kotlin/Array<kotlin/String>|
public final [ResolvedTo(RAW_FIR)] fun main([ResolvedTo(RAW_FIR)] args: R|kotlin/Array<kotlin/String>|): R|kotlin/Unit| {
[ResolvedTo(RAW_FIR)] lvar nextUnnamedLibraryIndex: R|kotlin/Int| = Int(1)
[ResolvedTo(RAW_FIR)] lval originalName: R|kotlin/String| = <strcat>( {
[ResolvedTo(RAW_FIR)] lval <unary>: R|kotlin/Int| = R|<local>/nextUnnamedLibraryIndex|
R|<local>/nextUnnamedLibraryIndex| = R|<local>/<unary>|.R|kotlin/Int.inc|()
R|<local>/<unary>|
}
)
public? final? [ResolvedTo(RAW_FIR)] fun main([ResolvedTo(RAW_FIR)] args: Array<String>): R|kotlin/Unit| {
[ResolvedTo(RAW_FIR)] lvar nextUnnamedLibraryIndex: <implicit> = IntegerLiteral(1)
[ResolvedTo(RAW_FIR)] lval originalName: <implicit> = <strcat>(nextUnnamedLibraryIndex#++)
}
@@ -3,17 +3,17 @@ FIR element: FirFunctionCallImpl
FIR source kind: KtRealSourceElementKind
FIR element rendered:
R|kotlin/collections/mutableListOf|<R|kotlin/String|>()
mutableListOf#<String>()
FIR FILE:
FILE: [ResolvedTo(IMPORTS)] insidePlusAssignTargetScript.kts
context(<script>@R|kotlin/script/templates/standard/ScriptTemplateWithArgs|)
context(<script>@kotlin.script.templates.standard.ScriptTemplateWithArgs)
SCRIPT: [ResolvedTo(BODY_RESOLVE)]
[ResolvedTo(RAW_FIR)] lval args: R|kotlin/Array<kotlin/String>|
public final [ResolvedTo(RAW_FIR)] fun foo([ResolvedTo(RAW_FIR)] x: R|kotlin/collections/MutableMap<kotlin/Int, kotlin/collections/MutableList<kotlin/String>>|): R|kotlin/Unit| {
R|<local>/x|.R|kotlin/collections/getOrPut|<R|kotlin/Int|, R|kotlin/collections/MutableList<kotlin/String>|>(Int(1), <L> = [ResolvedTo(RAW_FIR)] [MatchingParameterFunctionTypeKey=kotlin/Function0<V>] getOrPut@fun <anonymous>(): R|kotlin/collections/MutableList<kotlin/String>| <inline=Inline, kind=UNKNOWN> {
^ R|kotlin/collections/mutableListOf|<R|kotlin/String|>()
public? final? [ResolvedTo(RAW_FIR)] fun foo([ResolvedTo(RAW_FIR)] x: MutableMap<Int, MutableList<String>>): R|kotlin/Unit| {
+=(x#.getOrPut#(IntegerLiteral(1), <L> = [ResolvedTo(RAW_FIR)] getOrPut@fun <implicit>.<anonymous>(): <implicit> <inline=Unknown> {
mutableListOf#<String>()
}
).R|kotlin/collections/plusAssign|<R|kotlin/String|>(String(str))
), String(str))
}
@@ -3,13 +3,13 @@ FIR element: FirConstExpressionImpl
FIR source kind: KtRealSourceElementKind
FIR element rendered:
Int(1)
IntegerLiteral(1)
FIR FILE:
FILE: [ResolvedTo(IMPORTS)] intLiteralScript.kts
context(<script>@R|kotlin/script/templates/standard/ScriptTemplateWithArgs|)
context(<script>@kotlin.script.templates.standard.ScriptTemplateWithArgs)
SCRIPT: [ResolvedTo(BODY_RESOLVE)]
[ResolvedTo(RAW_FIR)] lval args: R|kotlin/Array<kotlin/String>|
public final [ResolvedTo(RAW_FIR)] val x: R|kotlin/Int| = Int(1)
public [ResolvedTo(RAW_FIR)] get(): R|kotlin/Int|
public? final? [ResolvedTo(RAW_FIR)] val x: <implicit> = IntegerLiteral(1)
public? [ResolvedTo(RAW_FIR)] get(): <implicit>
@@ -3,14 +3,14 @@ FIR element: FirTypeOperatorCallImpl
FIR source kind: KtRealSourceElementKind
FIR element rendered:
(R|<local>/x| is R|kotlin/String|)
(x# is String)
FIR FILE:
FILE: [ResolvedTo(IMPORTS)] isExpressionScript.kts
context(<script>@R|kotlin/script/templates/standard/ScriptTemplateWithArgs|)
context(<script>@kotlin.script.templates.standard.ScriptTemplateWithArgs)
SCRIPT: [ResolvedTo(BODY_RESOLVE)]
[ResolvedTo(RAW_FIR)] lval args: R|kotlin/Array<kotlin/String>|
public final [ResolvedTo(RAW_FIR)] fun foo([ResolvedTo(RAW_FIR)] x: R|kotlin/Any|): R|kotlin/Boolean| {
^foo (R|<local>/x| is R|kotlin/String|)
public? final? [ResolvedTo(RAW_FIR)] fun foo([ResolvedTo(RAW_FIR)] x: Any): Boolean {
^foo (x# is String)
}
@@ -3,24 +3,24 @@ FIR element: FirAnonymousObjectExpressionImpl
FIR source kind: KtRealSourceElementKind
FIR element rendered:
object : R|kotlin/Any| {
object : Any {
private [ResolvedTo(RAW_FIR)] [ContainingClassKey=<anonymous>] constructor(): R|<anonymous>| {
super<R|kotlin/Any|>()
super<<implicit>>()
}
}
FIR FILE:
FILE: [ResolvedTo(IMPORTS)] objectLiteralExpressionScript.kts
context(<script>@R|kotlin/script/templates/standard/ScriptTemplateWithArgs|)
context(<script>@kotlin.script.templates.standard.ScriptTemplateWithArgs)
SCRIPT: [ResolvedTo(BODY_RESOLVE)]
[ResolvedTo(RAW_FIR)] lval args: R|kotlin/Array<kotlin/String>|
public final [ResolvedTo(RAW_FIR)] val x: R|kotlin/Any| = object : R|kotlin/Any| {
public? final? [ResolvedTo(RAW_FIR)] val x: <implicit> = object : Any {
private [ResolvedTo(RAW_FIR)] [ContainingClassKey=<anonymous>] constructor(): R|<anonymous>| {
super<R|kotlin/Any|>()
super<<implicit>>()
}
}
public [ResolvedTo(RAW_FIR)] get(): R|kotlin/Any|
public? [ResolvedTo(RAW_FIR)] get(): <implicit>
@@ -1,15 +1,15 @@
KT element: KtParenthesizedExpression
FIR element: FirIntegerLiteralOperatorCallImpl
FIR element: FirFunctionCallImpl
FIR source kind: KtRealSourceElementKind
FIR element rendered:
Int(1).R|kotlin/Int.plus|(Int(2))
IntegerLiteral(1).plus#(IntegerLiteral(2))
FIR FILE:
FILE: [ResolvedTo(IMPORTS)] parenthesizedExpressionScript.kts
context(<script>@R|kotlin/script/templates/standard/ScriptTemplateWithArgs|)
context(<script>@kotlin.script.templates.standard.ScriptTemplateWithArgs)
SCRIPT: [ResolvedTo(BODY_RESOLVE)]
[ResolvedTo(RAW_FIR)] lval args: R|kotlin/Array<kotlin/String>|
public final [ResolvedTo(RAW_FIR)] val x: R|kotlin/Int| = Int(1).R|kotlin/Int.plus|(Int(2))
public [ResolvedTo(RAW_FIR)] get(): R|kotlin/Int|
public? final? [ResolvedTo(RAW_FIR)] val x: <implicit> = IntegerLiteral(1).plus#(IntegerLiteral(2))
public? [ResolvedTo(RAW_FIR)] get(): <implicit>
@@ -7,9 +7,9 @@ String(string)
FIR FILE:
FILE: [ResolvedTo(IMPORTS)] stringLiteralScript.kts
context(<script>@R|kotlin/script/templates/standard/ScriptTemplateWithArgs|)
context(<script>@kotlin.script.templates.standard.ScriptTemplateWithArgs)
SCRIPT: [ResolvedTo(BODY_RESOLVE)]
[ResolvedTo(RAW_FIR)] lval args: R|kotlin/Array<kotlin/String>|
public final [ResolvedTo(RAW_FIR)] val x: R|kotlin/String| = String(string)
public [ResolvedTo(RAW_FIR)] get(): R|kotlin/String|
public? final? [ResolvedTo(RAW_FIR)] val x: <implicit> = String(string)
public? [ResolvedTo(RAW_FIR)] get(): <implicit>
@@ -1,15 +1,15 @@
KT element: KtBlockStringTemplateEntry
FIR element: FirIntegerLiteralOperatorCallImpl
FIR element: FirFunctionCallImpl
FIR source kind: KtRealSourceElementKind
FIR element rendered:
Int(1).R|kotlin/Int.plus|(Int(2))
IntegerLiteral(1).plus#(IntegerLiteral(2))
FIR FILE:
FILE: [ResolvedTo(IMPORTS)] stringTemplateExpressionEntryScript.kts
context(<script>@R|kotlin/script/templates/standard/ScriptTemplateWithArgs|)
context(<script>@kotlin.script.templates.standard.ScriptTemplateWithArgs)
SCRIPT: [ResolvedTo(BODY_RESOLVE)]
[ResolvedTo(RAW_FIR)] lval args: R|kotlin/Array<kotlin/String>|
public final [ResolvedTo(RAW_FIR)] val x: R|kotlin/String| = <strcat>(String(string ), Int(1).R|kotlin/Int.plus|(Int(2)), String( template))
public [ResolvedTo(RAW_FIR)] get(): R|kotlin/String|
public? final? [ResolvedTo(RAW_FIR)] val x: <implicit> = <strcat>(String(string ), IntegerLiteral(1).plus#(IntegerLiteral(2)), String( template))
public? [ResolvedTo(RAW_FIR)] get(): <implicit>
@@ -3,14 +3,14 @@ FIR element: FirThrowExpressionImpl
FIR source kind: KtRealSourceElementKind
FIR element rendered:
throw R|java/lang/IllegalStateException.IllegalStateException|()
throw IllegalStateException#()
FIR FILE:
FILE: [ResolvedTo(IMPORTS)] throwExpressionScript.kts
context(<script>@R|kotlin/script/templates/standard/ScriptTemplateWithArgs|)
context(<script>@kotlin.script.templates.standard.ScriptTemplateWithArgs)
SCRIPT: [ResolvedTo(BODY_RESOLVE)]
[ResolvedTo(RAW_FIR)] lval args: R|kotlin/Array<kotlin/String>|
public final [ResolvedTo(RAW_FIR)] fun x(): R|kotlin/Unit| {
throw R|java/lang/IllegalStateException.IllegalStateException|()
public? final? [ResolvedTo(RAW_FIR)] fun x(): R|kotlin/Unit| {
throw IllegalStateException#()
}
@@ -4,24 +4,24 @@ FIR source kind: KtRealSourceElementKind
FIR element rendered:
try {
Int(1)
IntegerLiteral(1)
}
catch ([ResolvedTo(RAW_FIR)] [IsCatchParameterProperty=true] e: R|kotlin/Throwable|) {
catch ([ResolvedTo(RAW_FIR)] [IsCatchParameterProperty=true] e: Throwable) {
}
finally {
}
FIR FILE:
FILE: [ResolvedTo(IMPORTS)] tryExpressionScript.kts
context(<script>@R|kotlin/script/templates/standard/ScriptTemplateWithArgs|)
context(<script>@kotlin.script.templates.standard.ScriptTemplateWithArgs)
SCRIPT: [ResolvedTo(BODY_RESOLVE)]
[ResolvedTo(RAW_FIR)] lval args: R|kotlin/Array<kotlin/String>|
public final [ResolvedTo(RAW_FIR)] fun x(): R|kotlin/Unit| {
public? final? [ResolvedTo(RAW_FIR)] fun x(): R|kotlin/Unit| {
try {
Int(1)
IntegerLiteral(1)
}
catch ([ResolvedTo(RAW_FIR)] [IsCatchParameterProperty=true] e: R|kotlin/Throwable|) {
catch ([ResolvedTo(RAW_FIR)] [IsCatchParameterProperty=true] e: Throwable) {
}
finally {
}
@@ -3,8 +3,8 @@ FIR element: FirWhenExpressionImpl
FIR source kind: KtRealSourceElementKind
FIR element rendered:
when (R|<local>/x|) {
($subj$ is R|kotlin/String|) -> {
when (x#) {
($subj$ is String) -> {
String(1)
}
else -> {
@@ -14,13 +14,13 @@ when (R|<local>/x|) {
FIR FILE:
FILE: [ResolvedTo(IMPORTS)] whenExpressionScript.kts
context(<script>@R|kotlin/script/templates/standard/ScriptTemplateWithArgs|)
context(<script>@kotlin.script.templates.standard.ScriptTemplateWithArgs)
SCRIPT: [ResolvedTo(BODY_RESOLVE)]
[ResolvedTo(RAW_FIR)] lval args: R|kotlin/Array<kotlin/String>|
public final [ResolvedTo(RAW_FIR)] fun foo([ResolvedTo(RAW_FIR)] x: R|kotlin/Any|): R|kotlin/String| {
^foo when (R|<local>/x|) {
($subj$ is R|kotlin/String|) -> {
public? final? [ResolvedTo(RAW_FIR)] fun foo([ResolvedTo(RAW_FIR)] x: Any): String {
^foo when (x#) {
($subj$ is String) -> {
String(1)
}
else -> {
@@ -8,11 +8,11 @@ while(Boolean(true)) {
FIR FILE:
FILE: [ResolvedTo(IMPORTS)] whileExpressionScript.kts
context(<script>@R|kotlin/script/templates/standard/ScriptTemplateWithArgs|)
context(<script>@kotlin.script.templates.standard.ScriptTemplateWithArgs)
SCRIPT: [ResolvedTo(BODY_RESOLVE)]
[ResolvedTo(RAW_FIR)] lval args: R|kotlin/Array<kotlin/String>|
public final [ResolvedTo(RAW_FIR)] fun foo(): R|kotlin/Unit| {
public? final? [ResolvedTo(RAW_FIR)] fun foo(): R|kotlin/Unit| {
while(Boolean(true)) {
}
@@ -3,13 +3,13 @@ FIR element: FirStringConcatenationCallImpl
FIR source kind: KtRealSourceElementKind
FIR element rendered:
<strcat>(String(string ), Int(1).R|kotlin/Int.plus|(Int(2)), String( template))
<strcat>(String(string ), IntegerLiteral(1).plus#(IntegerLiteral(2)), String( template))
FIR FILE:
FILE: [ResolvedTo(IMPORTS)] wholeStringTemplateScript.kts
context(<script>@R|kotlin/script/templates/standard/ScriptTemplateWithArgs|)
context(<script>@kotlin.script.templates.standard.ScriptTemplateWithArgs)
SCRIPT: [ResolvedTo(BODY_RESOLVE)]
[ResolvedTo(RAW_FIR)] lval args: R|kotlin/Array<kotlin/String>|
public final [ResolvedTo(RAW_FIR)] val x: R|kotlin/String| = <strcat>(String(string ), Int(1).R|kotlin/Int.plus|(Int(2)), String( template))
public [ResolvedTo(RAW_FIR)] get(): R|kotlin/String|
public? final? [ResolvedTo(RAW_FIR)] val x: <implicit> = <strcat>(String(string ), IntegerLiteral(1).plus#(IntegerLiteral(2)), String( template))
public? [ResolvedTo(RAW_FIR)] get(): <implicit>
@@ -1,33 +1,33 @@
KT element: KtNameReferenceExpression
FIR element: FirResolvedQualifierImpl
FIR element: FirPropertyAccessExpressionImpl
FIR source kind: KtRealSourceElementKind
FIR element rendered:
Q|A.B|
A#
FIR FILE:
FILE: [ResolvedTo(IMPORTS)] firstPartOfQualifiedCallWithNestedClassesScript.kts
context(<script>@R|kotlin/script/templates/standard/ScriptTemplateWithArgs|)
context(<script>@kotlin.script.templates.standard.ScriptTemplateWithArgs)
SCRIPT: [ResolvedTo(BODY_RESOLVE)]
[ResolvedTo(RAW_FIR)] lval args: R|kotlin/Array<kotlin/String>|
public final [ResolvedTo(STATUS)] class A : R|kotlin/Any| {
public [ResolvedTo(STATUS)] [ContainingClassKey=A] constructor(): R|A| {
public? final? [ResolvedTo(RAW_FIR)] class A : R|kotlin/Any| {
public? [ResolvedTo(RAW_FIR)] [ContainingClassKey=A] constructor(): R|A| {
super<R|kotlin/Any|>()
}
public final [ResolvedTo(STATUS)] class B : R|kotlin/Any| {
public [ResolvedTo(STATUS)] [ContainingClassKey=B] constructor(): R|A.B| {
public? final? [ResolvedTo(RAW_FIR)] class B : R|kotlin/Any| {
public? [ResolvedTo(RAW_FIR)] [ContainingClassKey=B] constructor(): R|A.B| {
super<R|kotlin/Any|>()
}
public final [ResolvedTo(STATUS)] class C : R|kotlin/Any| {
public [ResolvedTo(STATUS)] [ContainingClassKey=C] constructor(): R|A.B.C| {
public? final? [ResolvedTo(RAW_FIR)] class C : R|kotlin/Any| {
public? [ResolvedTo(RAW_FIR)] [ContainingClassKey=C] constructor(): R|A.B.C| {
super<R|kotlin/Any|>()
}
public final [ResolvedTo(STATUS)] val x: R|kotlin/Int| = Int(10)
public [ResolvedTo(STATUS)] [ContainingClassKey=C] get(): R|kotlin/Int|
public? final? [ResolvedTo(RAW_FIR)] val x: <implicit> = IntegerLiteral(10)
public? [ResolvedTo(RAW_FIR)] [ContainingClassKey=C] get(): <implicit>
}
@@ -35,6 +35,6 @@ FILE: [ResolvedTo(IMPORTS)] firstPartOfQualifiedCallWithNestedClassesScript.kts
}
public final [ResolvedTo(RAW_FIR)] fun x(): R|kotlin/Unit| {
Q|A.B|.R|/A.B.C.C|().R|/A.B.C.x|
public? final? [ResolvedTo(RAW_FIR)] fun x(): R|kotlin/Unit| {
A#.B#.C#().x#
}

Some files were not shown because too many files have changed in this diff Show More