[Analysis API] Remove obsolete dependentCopy tests
This commit is contained in:
@@ -1,17 +0,0 @@
|
||||
Tower Data Context:
|
||||
Element 0
|
||||
Scope: FirDefaultStarImportingScope
|
||||
Element 1
|
||||
Scope: FirExplicitStarImportingScope
|
||||
Element 2
|
||||
Scope: FirDefaultSimpleImportingScope
|
||||
Element 3
|
||||
Scope: FirDefaultSimpleImportingScope
|
||||
Element 4
|
||||
Scope: FirPackageMemberScope
|
||||
Element 5
|
||||
Scope: FirExplicitSimpleImportingScope
|
||||
Element 6
|
||||
Implicit receiver:
|
||||
FirRegularClassSymbol public final class A : R|kotlin/Any|
|
||||
Type: A
|
||||
@@ -1,15 +0,0 @@
|
||||
KT element: KtClass
|
||||
FIR element: FirRegularClassImpl
|
||||
FIR source kind: KtRealSourceElementKind
|
||||
|
||||
FIR element rendered:
|
||||
public final [ResolvedTo(BODY_RESOLVE)] class A : R|kotlin/Any| {
|
||||
public [ResolvedTo(BODY_RESOLVE)] [ContainingClassKey=A] constructor(): R|A| {
|
||||
super<R|kotlin/Any|>()
|
||||
}
|
||||
|
||||
public final [ResolvedTo(BODY_RESOLVE)] fun foo(): R|kotlin/Int| {
|
||||
^foo Int(42)
|
||||
}
|
||||
|
||||
}
|
||||
@@ -1,3 +0,0 @@
|
||||
class<caret> A() {
|
||||
fun foo() = 42
|
||||
}
|
||||
@@ -1,17 +0,0 @@
|
||||
Tower Data Context:
|
||||
Element 0
|
||||
Scope: FirDefaultStarImportingScope
|
||||
Element 1
|
||||
Scope: FirExplicitStarImportingScope
|
||||
Element 2
|
||||
Scope: FirDefaultSimpleImportingScope
|
||||
Element 3
|
||||
Scope: FirDefaultSimpleImportingScope
|
||||
Element 4
|
||||
Scope: FirPackageMemberScope
|
||||
Element 5
|
||||
Scope: FirExplicitSimpleImportingScope
|
||||
Element 6
|
||||
Implicit receiver:
|
||||
FirRegularClassSymbol public final class A : R|kotlin/Any|
|
||||
Type: A
|
||||
@@ -1,6 +0,0 @@
|
||||
KT element: KtClassBody
|
||||
FIR element: null
|
||||
FIR source kind: null
|
||||
|
||||
FIR element rendered:
|
||||
null
|
||||
@@ -1,3 +0,0 @@
|
||||
class A() {<caret>
|
||||
fun foo() = 42
|
||||
}
|
||||
-36
@@ -1,36 +0,0 @@
|
||||
Tower Data Context:
|
||||
Element 0
|
||||
Scope: FirDefaultStarImportingScope
|
||||
Element 1
|
||||
Scope: FirExplicitStarImportingScope
|
||||
Element 2
|
||||
Scope: FirDefaultSimpleImportingScope
|
||||
Element 3
|
||||
Scope: FirDefaultSimpleImportingScope
|
||||
Element 4
|
||||
Scope: FirPackageMemberScope
|
||||
Element 5
|
||||
Scope: FirExplicitSimpleImportingScope
|
||||
Element 6
|
||||
Scope: FirScriptDeclarationsScope
|
||||
Classifiers:
|
||||
FirRegularClassSymbol public final? class A : R|kotlin/Any|
|
||||
Element 7
|
||||
Scope: FirLocalScope
|
||||
Classifiers:
|
||||
FirRegularClassSymbol public final class A : R|kotlin/Any|
|
||||
Properties:
|
||||
FirPropertySymbol lval args: R|kotlin/Array<kotlin/String>|
|
||||
Element 8
|
||||
Context receivers:
|
||||
FirScriptSymbol context(<script>@R|kotlin/script/templates/standard/ScriptTemplateWithArgs|)
|
||||
SCRIPT: <script-classBodyScript.kts>
|
||||
lval args: R|kotlin/Array<kotlin/String>|
|
||||
|
||||
public final? class A : R|kotlin/Any|
|
||||
Type: kotlin.script.templates.standard.ScriptTemplateWithArgs
|
||||
Label: <script>
|
||||
Element 9
|
||||
Implicit receiver:
|
||||
FirRegularClassSymbol public final class A : R|kotlin/Any|
|
||||
Type: A
|
||||
@@ -1,6 +0,0 @@
|
||||
KT element: KtClassBody
|
||||
FIR element: null
|
||||
FIR source kind: null
|
||||
|
||||
FIR element rendered:
|
||||
null
|
||||
@@ -1,3 +0,0 @@
|
||||
class A() {<caret>
|
||||
fun foo() = 42
|
||||
}
|
||||
@@ -1,36 +0,0 @@
|
||||
Tower Data Context:
|
||||
Element 0
|
||||
Scope: FirDefaultStarImportingScope
|
||||
Element 1
|
||||
Scope: FirExplicitStarImportingScope
|
||||
Element 2
|
||||
Scope: FirDefaultSimpleImportingScope
|
||||
Element 3
|
||||
Scope: FirDefaultSimpleImportingScope
|
||||
Element 4
|
||||
Scope: FirPackageMemberScope
|
||||
Element 5
|
||||
Scope: FirExplicitSimpleImportingScope
|
||||
Element 6
|
||||
Scope: FirScriptDeclarationsScope
|
||||
Classifiers:
|
||||
FirRegularClassSymbol public final? class A : R|kotlin/Any|
|
||||
Element 7
|
||||
Scope: FirLocalScope
|
||||
Classifiers:
|
||||
FirRegularClassSymbol public final class A : R|kotlin/Any|
|
||||
Properties:
|
||||
FirPropertySymbol lval args: R|kotlin/Array<kotlin/String>|
|
||||
Element 8
|
||||
Context receivers:
|
||||
FirScriptSymbol context(<script>@R|kotlin/script/templates/standard/ScriptTemplateWithArgs|)
|
||||
SCRIPT: <script-classScript.kts>
|
||||
lval args: R|kotlin/Array<kotlin/String>|
|
||||
|
||||
public final? class A : R|kotlin/Any|
|
||||
Type: kotlin.script.templates.standard.ScriptTemplateWithArgs
|
||||
Label: <script>
|
||||
Element 9
|
||||
Implicit receiver:
|
||||
FirRegularClassSymbol public final class A : R|kotlin/Any|
|
||||
Type: A
|
||||
@@ -1,15 +0,0 @@
|
||||
KT element: KtClass
|
||||
FIR element: FirRegularClassImpl
|
||||
FIR source kind: KtRealSourceElementKind
|
||||
|
||||
FIR element rendered:
|
||||
public final [ResolvedTo(BODY_RESOLVE)] class A : R|kotlin/Any| {
|
||||
public [ResolvedTo(BODY_RESOLVE)] [ContainingClassKey=A] constructor(): R|A| {
|
||||
super<R|kotlin/Any|>()
|
||||
}
|
||||
|
||||
public final [ResolvedTo(BODY_RESOLVE)] fun foo(): R|kotlin/Int| {
|
||||
^foo Int(42)
|
||||
}
|
||||
|
||||
}
|
||||
@@ -1,3 +0,0 @@
|
||||
class<caret> A() {
|
||||
fun foo() = 42
|
||||
}
|
||||
@@ -1,37 +0,0 @@
|
||||
Tower Data Context:
|
||||
Element 0
|
||||
Scope: FirDefaultStarImportingScope
|
||||
Element 1
|
||||
Scope: FirExplicitStarImportingScope
|
||||
Element 2
|
||||
Scope: FirDefaultSimpleImportingScope
|
||||
Element 3
|
||||
Scope: FirDefaultSimpleImportingScope
|
||||
Element 4
|
||||
Scope: FirPackageMemberScope
|
||||
Element 5
|
||||
Scope: FirExplicitSimpleImportingScope
|
||||
Element 6
|
||||
Implicit receiver:
|
||||
FirRegularClassSymbol public final companion object Companion : R|kotlin/Any|
|
||||
Type: kotlin.Enum.Companion
|
||||
Element 7
|
||||
Scope: FirNestedClassifierScopeWithSubstitution
|
||||
Classifiers:
|
||||
FirRegularClassSymbol public final companion object Companion : R|kotlin/Any|
|
||||
Static scope owner symbol: FirRegularClassSymbol public abstract class Enum<E : R|kotlin/Enum<E>|> : R|kotlin/Comparable<E>|, R|java/io/Serializable|
|
||||
Element 8
|
||||
Scope: FirNameAwareOnlyCallablesScope
|
||||
Functions
|
||||
FirNamedFunctionSymbol public final static fun valueOf(value: R|kotlin/String|): R|test/MyEnum|
|
||||
FirNamedFunctionSymbol public final static fun values(): R|kotlin/Array<test/MyEnum>|
|
||||
Properties:
|
||||
FirEnumEntrySymbol public final static enum entry VARIANT: R|test/MyEnum| = LAZY_EXPRESSION
|
||||
FirPropertySymbol public final static val entries: R|kotlin/enums/EnumEntries<test/MyEnum>|
|
||||
public get(): R|kotlin/enums/EnumEntries<test/MyEnum>|
|
||||
Element 9
|
||||
Implicit receiver:
|
||||
FirAnonymousObjectSymbol object : R|test/MyEnum|
|
||||
Type: test.<anonymous>
|
||||
Element 10
|
||||
Scope: FirLocalScope
|
||||
@@ -1,7 +0,0 @@
|
||||
KT element: KtNamedFunction
|
||||
FIR element: FirSimpleFunctionImpl
|
||||
FIR source kind: KtRealSourceElementKind
|
||||
|
||||
FIR element rendered:
|
||||
public final [ResolvedTo(BODY_RESOLVE)] fun test(): R|kotlin/Unit| {
|
||||
}
|
||||
@@ -1,7 +0,0 @@
|
||||
package test
|
||||
|
||||
enum class MyEnum() {
|
||||
VARIANT() {
|
||||
fun te<caret>st() {}
|
||||
}
|
||||
}
|
||||
-39
@@ -1,39 +0,0 @@
|
||||
Tower Data Context:
|
||||
Element 0
|
||||
Scope: FirDefaultStarImportingScope
|
||||
Element 1
|
||||
Scope: FirExplicitStarImportingScope
|
||||
Element 2
|
||||
Scope: FirDefaultSimpleImportingScope
|
||||
Element 3
|
||||
Scope: FirDefaultSimpleImportingScope
|
||||
Element 4
|
||||
Scope: FirPackageMemberScope
|
||||
Element 5
|
||||
Scope: FirExplicitSimpleImportingScope
|
||||
Element 6
|
||||
Implicit receiver:
|
||||
FirRegularClassSymbol public final companion object Companion : R|kotlin/Any|
|
||||
Type: kotlin.Enum.Companion
|
||||
Element 7
|
||||
Scope: FirNestedClassifierScopeWithSubstitution
|
||||
Classifiers:
|
||||
FirRegularClassSymbol public final companion object Companion : R|kotlin/Any|
|
||||
Static scope owner symbol: FirRegularClassSymbol public abstract class Enum<E : R|kotlin/Enum<E>|> : R|kotlin/Comparable<E>|, R|java/io/Serializable|
|
||||
Element 8
|
||||
Scope: FirNameAwareOnlyCallablesScope
|
||||
Functions
|
||||
FirNamedFunctionSymbol public final static fun valueOf(value: R|kotlin/String|): R|test/MyEnum|
|
||||
FirNamedFunctionSymbol public final static fun values(): R|kotlin/Array<test/MyEnum>|
|
||||
Properties:
|
||||
FirEnumEntrySymbol public final static enum entry VARIANT: R|test/MyEnum| = LAZY_EXPRESSION
|
||||
FirPropertySymbol public final static val entries: R|kotlin/enums/EnumEntries<test/MyEnum>|
|
||||
public get(): R|kotlin/enums/EnumEntries<test/MyEnum>|
|
||||
Element 9
|
||||
Implicit receiver:
|
||||
FirAnonymousObjectSymbol object : R|test/MyEnum|
|
||||
Type: test.<anonymous>
|
||||
Element 10
|
||||
Scope: FirLocalScope
|
||||
Element 11
|
||||
Scope: FirLocalScope
|
||||
@@ -1,6 +0,0 @@
|
||||
KT element: KtNameReferenceExpression
|
||||
FIR element: FirPropertyAccessExpressionImpl
|
||||
FIR source kind: KtRealSourceElementKind
|
||||
|
||||
FIR element rendered:
|
||||
R|test/property|
|
||||
@@ -1,11 +0,0 @@
|
||||
package test
|
||||
|
||||
val property: Int = 10
|
||||
|
||||
enum class MyEnum(val i: Int) {
|
||||
VARIANT(property) {
|
||||
fun test() {
|
||||
proper<caret>ty
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -1,15 +0,0 @@
|
||||
Tower Data Context:
|
||||
Element 0
|
||||
Scope: FirDefaultStarImportingScope
|
||||
Element 1
|
||||
Scope: FirExplicitStarImportingScope
|
||||
Element 2
|
||||
Scope: FirDefaultSimpleImportingScope
|
||||
Element 3
|
||||
Scope: FirDefaultSimpleImportingScope
|
||||
Element 4
|
||||
Scope: FirPackageMemberScope
|
||||
Element 5
|
||||
Scope: FirExplicitSimpleImportingScope
|
||||
Element 6
|
||||
Scope: FirLocalScope
|
||||
@@ -1,5 +0,0 @@
|
||||
fun foo() {
|
||||
val i = unusedInOriginal()
|
||||
}
|
||||
|
||||
fun unusedInOriginal() = 42
|
||||
@@ -1,8 +0,0 @@
|
||||
KT element: KtNamedFunction
|
||||
FIR element: FirSimpleFunctionImpl
|
||||
FIR source kind: KtRealSourceElementKind
|
||||
|
||||
FIR element rendered:
|
||||
public final [ResolvedTo(BODY_RESOLVE)] fun foo(): R|kotlin/Unit| {
|
||||
[ResolvedTo(BODY_RESOLVE)] lval i: R|kotlin/Int| = R|/unusedInOriginal|()
|
||||
}
|
||||
@@ -1,5 +0,0 @@
|
||||
fun<caret> foo() {
|
||||
"original text"
|
||||
}
|
||||
|
||||
fun unusedInOriginal() = 42
|
||||
-42
@@ -1,42 +0,0 @@
|
||||
Tower Data Context:
|
||||
Element 0
|
||||
Scope: FirDefaultStarImportingScope
|
||||
Element 1
|
||||
Scope: FirExplicitStarImportingScope
|
||||
Element 2
|
||||
Scope: FirDefaultSimpleImportingScope
|
||||
Element 3
|
||||
Scope: FirDefaultSimpleImportingScope
|
||||
Element 4
|
||||
Scope: FirPackageMemberScope
|
||||
Element 5
|
||||
Scope: FirExplicitSimpleImportingScope
|
||||
Element 6
|
||||
Scope: FirScriptDeclarationsScope
|
||||
Functions
|
||||
FirNamedFunctionSymbol public final fun foo(i: R|kotlin/Int|, action: R|(kotlin/Int) -> kotlin/Unit|): R|kotlin/Unit|
|
||||
FirNamedFunctionSymbol public final fun scriptFunction(): R|kotlin/Int|
|
||||
FirNamedFunctionSymbol public final fun unusedScriptFunction(p: R|kotlin/String|): R|kotlin/Int|
|
||||
Properties:
|
||||
FirPropertySymbol public final val $$result: R|kotlin/Int|
|
||||
public get(): R|kotlin/Int|
|
||||
Element 7
|
||||
Scope: FirLocalScope
|
||||
Properties:
|
||||
FirPropertySymbol lval args: R|kotlin/Array<kotlin/String>|
|
||||
Element 8
|
||||
Context receivers:
|
||||
FirScriptSymbol context(<script>@R|kotlin/script/templates/standard/ScriptTemplateWithArgs|)
|
||||
SCRIPT: <script-moreStatementsInCopy.kts>
|
||||
lval args: R|kotlin/Array<kotlin/String>|
|
||||
|
||||
public final fun scriptFunction(): R|kotlin/Int|
|
||||
init
|
||||
public final fun unusedScriptFunction(p: R|kotlin/String|): R|kotlin/Int|
|
||||
init
|
||||
public final fun foo(i: R|kotlin/Int|, action: R|(kotlin/Int) -> kotlin/Unit|): R|kotlin/Unit|
|
||||
init
|
||||
public final val $$result: R|kotlin/Int|
|
||||
public get(): R|kotlin/Int|
|
||||
Type: kotlin.script.templates.standard.ScriptTemplateWithArgs
|
||||
Label: <script>
|
||||
-18
@@ -1,18 +0,0 @@
|
||||
// LOOK_UP_FOR_ELEMENT_OF_TYPE: KtScript
|
||||
|
||||
fun scriptFunction() = 42
|
||||
scriptFunction()
|
||||
|
||||
fun unusedScriptFunction(p: String) = 22
|
||||
|
||||
scriptFunction()
|
||||
|
||||
fun foo(i: Int, action: (Int) -> Unit) {
|
||||
action(i)
|
||||
}
|
||||
|
||||
foo(scriptFunction()) {
|
||||
scriptFunction()
|
||||
}
|
||||
|
||||
unusedScriptFunction("str")
|
||||
-38
@@ -1,38 +0,0 @@
|
||||
KT element: KtScript
|
||||
FIR element: FirScriptImpl
|
||||
FIR source kind: KtRealSourceElementKind
|
||||
|
||||
FIR element rendered:
|
||||
context(<script>@R|kotlin/script/templates/standard/ScriptTemplateWithArgs|)
|
||||
SCRIPT: [ResolvedTo(BODY_RESOLVE)] <script-moreStatementsInCopy.kts>
|
||||
[ResolvedTo(BODY_RESOLVE)] lval args: R|kotlin/Array<kotlin/String>|
|
||||
|
||||
public final [ResolvedTo(IMPLICIT_TYPES_BODY_RESOLVE)] fun scriptFunction(): R|kotlin/Int| {
|
||||
^scriptFunction Int(42)
|
||||
}
|
||||
|
||||
[ResolvedTo(BODY_RESOLVE)] init {
|
||||
R|/scriptFunction|()
|
||||
}
|
||||
|
||||
public final [ResolvedTo(IMPLICIT_TYPES_BODY_RESOLVE)] fun unusedScriptFunction([ResolvedTo(IMPLICIT_TYPES_BODY_RESOLVE)] p: R|kotlin/String|): R|kotlin/Int| {
|
||||
^unusedScriptFunction Int(22)
|
||||
}
|
||||
|
||||
[ResolvedTo(BODY_RESOLVE)] init {
|
||||
R|/scriptFunction|()
|
||||
}
|
||||
|
||||
public final [ResolvedTo(CONTRACTS)] fun foo([ResolvedTo(CONTRACTS)] i: R|kotlin/Int|, [ResolvedTo(CONTRACTS)] action: R|(kotlin/Int) -> kotlin/Unit|): R|kotlin/Unit| {
|
||||
action#(i#)
|
||||
}
|
||||
|
||||
[ResolvedTo(BODY_RESOLVE)] init {
|
||||
R|/foo|(R|/scriptFunction|(), <L> = [ResolvedTo(BODY_RESOLVE)] [MatchingParameterFunctionTypeKey=kotlin/Function1<kotlin/Int, kotlin/Unit>] foo@fun <anonymous>([ResolvedTo(BODY_RESOLVE)] it: R|kotlin/Int|): R|kotlin/Unit| <inline=NoInline> {
|
||||
R|/scriptFunction|()
|
||||
}
|
||||
)
|
||||
}
|
||||
|
||||
public final [ResolvedTo(BODY_RESOLVE)] val $$result: R|kotlin/Int| = R|/unusedScriptFunction|(String(str))
|
||||
public [ResolvedTo(BODY_RESOLVE)] get(): R|kotlin/Int|
|
||||
@@ -1,14 +0,0 @@
|
||||
// LOOK_UP_FOR_ELEMENT_OF_TYPE: KtScript
|
||||
<caret>
|
||||
fun scriptFunction() = 42
|
||||
fun unusedScriptFunction(p: String) = 22
|
||||
|
||||
scriptFunction()
|
||||
|
||||
fun foo(i: Int, action: (Int) -> Unit) {
|
||||
action(i)
|
||||
}
|
||||
|
||||
foo(scriptFunction()) {
|
||||
scriptFunction()
|
||||
}
|
||||
@@ -1,43 +0,0 @@
|
||||
Tower Data Context:
|
||||
Element 0
|
||||
Scope: FirDefaultStarImportingScope
|
||||
Element 1
|
||||
Scope: FirExplicitStarImportingScope
|
||||
Element 2
|
||||
Scope: FirDefaultSimpleImportingScope
|
||||
Element 3
|
||||
Scope: FirDefaultSimpleImportingScope
|
||||
Element 4
|
||||
Scope: FirPackageMemberScope
|
||||
Element 5
|
||||
Scope: FirExplicitSimpleImportingScope
|
||||
Element 6
|
||||
Scope: FirScriptDeclarationsScope
|
||||
Classifiers:
|
||||
FirRegularClassSymbol public final? class ScriptClass : R|kotlin/Any|
|
||||
Functions
|
||||
FirNamedFunctionSymbol public final fun foo(i: R|kotlin/Int|, action: R|(kotlin/Int) -> kotlin/Unit|): R|kotlin/Unit|
|
||||
FirNamedFunctionSymbol public final fun scriptFunction(): R|kotlin/Int|
|
||||
FirNamedFunctionSymbol public? final? fun unusedScriptFunction(p: String): <implicit>
|
||||
Properties:
|
||||
FirPropertySymbol public final val $$result: R|kotlin/Unit|
|
||||
public get(): R|kotlin/Unit|
|
||||
Element 7
|
||||
Scope: FirLocalScope
|
||||
Properties:
|
||||
FirPropertySymbol lval args: R|kotlin/Array<kotlin/String>|
|
||||
Element 8
|
||||
Context receivers:
|
||||
FirScriptSymbol context(<script>@R|kotlin/script/templates/standard/ScriptTemplateWithArgs|)
|
||||
SCRIPT: <script-script.kts>
|
||||
lval args: R|kotlin/Array<kotlin/String>|
|
||||
|
||||
public final? class ScriptClass : R|kotlin/Any|
|
||||
public final fun scriptFunction(): R|kotlin/Int|
|
||||
public? final? fun unusedScriptFunction(p: String): <implicit>
|
||||
init
|
||||
public final fun foo(i: R|kotlin/Int|, action: R|(kotlin/Int) -> kotlin/Unit|): R|kotlin/Unit|
|
||||
public final val $$result: R|kotlin/Unit|
|
||||
public get(): R|kotlin/Unit|
|
||||
Type: kotlin.script.templates.standard.ScriptTemplateWithArgs
|
||||
Label: <script>
|
||||
@@ -1,38 +0,0 @@
|
||||
KT element: KtScript
|
||||
FIR element: FirScriptImpl
|
||||
FIR source kind: KtRealSourceElementKind
|
||||
|
||||
FIR element rendered:
|
||||
context(<script>@R|kotlin/script/templates/standard/ScriptTemplateWithArgs|)
|
||||
SCRIPT: [ResolvedTo(BODY_RESOLVE)] <script-script.kts>
|
||||
[ResolvedTo(BODY_RESOLVE)] lval args: R|kotlin/Array<kotlin/String>|
|
||||
|
||||
public final? [ResolvedTo(RAW_FIR)] class ScriptClass : R|kotlin/Any| {
|
||||
public? [ResolvedTo(RAW_FIR)] [ContainingClassKey=ScriptClass] constructor(): R|ScriptClass| {
|
||||
LAZY_super<R|kotlin/Any|>
|
||||
}
|
||||
|
||||
public? final? [ResolvedTo(RAW_FIR)] val memberProperty: <implicit> = LAZY_EXPRESSION
|
||||
public? [ResolvedTo(RAW_FIR)] [ContainingClassKey=ScriptClass] get(): <implicit>
|
||||
|
||||
}
|
||||
|
||||
public final [ResolvedTo(IMPLICIT_TYPES_BODY_RESOLVE)] fun scriptFunction(): R|kotlin/Int| {
|
||||
^scriptFunction Int(42)
|
||||
}
|
||||
|
||||
public? final? [ResolvedTo(RAW_FIR)] fun unusedScriptFunction([ResolvedTo(RAW_FIR)] p: String): <implicit> { LAZY_BLOCK }
|
||||
|
||||
[ResolvedTo(BODY_RESOLVE)] init {
|
||||
R|/scriptFunction|()
|
||||
}
|
||||
|
||||
public final [ResolvedTo(CONTRACTS)] fun foo([ResolvedTo(CONTRACTS)] i: R|kotlin/Int|, [ResolvedTo(CONTRACTS)] action: R|(kotlin/Int) -> kotlin/Unit|): R|kotlin/Unit| {
|
||||
action#(i#)
|
||||
}
|
||||
|
||||
public final [ResolvedTo(BODY_RESOLVE)] val $$result: R|kotlin/Unit| = R|/foo|(R|/scriptFunction|(), <L> = [ResolvedTo(BODY_RESOLVE)] [MatchingParameterFunctionTypeKey=kotlin/Function1<kotlin/Int, kotlin/Unit>] foo@fun <anonymous>([ResolvedTo(BODY_RESOLVE)] it: R|kotlin/Int|): R|kotlin/Unit| <inline=NoInline> {
|
||||
R|/scriptFunction|()
|
||||
}
|
||||
)
|
||||
public [ResolvedTo(BODY_RESOLVE)] get(): R|kotlin/Unit|
|
||||
@@ -1,18 +0,0 @@
|
||||
// LOOK_UP_FOR_ELEMENT_OF_TYPE: KtScript
|
||||
|
||||
<caret>class ScriptClass {
|
||||
val memberProperty = 4
|
||||
}
|
||||
|
||||
fun scriptFunction() = 42
|
||||
fun unusedScriptFunction(p: String) = 22
|
||||
|
||||
scriptFunction()
|
||||
|
||||
fun foo(i: Int, action: (Int) -> Unit) {
|
||||
action(i)
|
||||
}
|
||||
|
||||
foo(scriptFunction()) {
|
||||
scriptFunction()
|
||||
}
|
||||
@@ -1,49 +0,0 @@
|
||||
Tower Data Context:
|
||||
Element 0
|
||||
Scope: FirDefaultStarImportingScope
|
||||
Element 1
|
||||
Scope: FirExplicitStarImportingScope
|
||||
Element 2
|
||||
Scope: FirDefaultSimpleImportingScope
|
||||
Element 3
|
||||
Scope: FirDefaultSimpleImportingScope
|
||||
Element 4
|
||||
Scope: FirPackageMemberScope
|
||||
Element 5
|
||||
Scope: FirExplicitSimpleImportingScope
|
||||
Element 6
|
||||
Scope: FirScriptDeclarationsScope
|
||||
Classifiers:
|
||||
FirRegularClassSymbol public final? class ScriptClass : R|kotlin/Any|
|
||||
Functions
|
||||
FirNamedFunctionSymbol public? final? fun foo(i: Int, action: ( (Int) -> Unit )): R|kotlin/Unit|
|
||||
FirNamedFunctionSymbol public? final? fun scriptFunction(): <implicit>
|
||||
FirNamedFunctionSymbol public? final? fun unusedScriptFunction(p: String): <implicit>
|
||||
Properties:
|
||||
FirPropertySymbol public final val $$result: <implicit>
|
||||
public get(): <implicit>
|
||||
Element 7
|
||||
Scope: FirLocalScope
|
||||
Functions
|
||||
FirNamedFunctionSymbol public final fun unusedScriptFunction(p: R|kotlin/String|): R|kotlin/Int|
|
||||
Properties:
|
||||
FirPropertySymbol lval args: R|kotlin/Array<kotlin/String>|
|
||||
Element 8
|
||||
Context receivers:
|
||||
FirScriptSymbol context(<script>@R|kotlin/script/templates/standard/ScriptTemplateWithArgs|)
|
||||
SCRIPT: <script-scriptFunction.kts>
|
||||
lval args: R|kotlin/Array<kotlin/String>|
|
||||
|
||||
public final? class ScriptClass : R|kotlin/Any|
|
||||
public? final? fun scriptFunction(): <implicit>
|
||||
public? final? fun unusedScriptFunction(p: String): <implicit>
|
||||
init
|
||||
public? final? fun foo(i: Int, action: ( (Int) -> Unit )): R|kotlin/Unit|
|
||||
public final val $$result: <implicit>
|
||||
public get(): <implicit>
|
||||
Type: kotlin.script.templates.standard.ScriptTemplateWithArgs
|
||||
Label: <script>
|
||||
Element 9
|
||||
Scope: FirLocalScope
|
||||
Properties:
|
||||
FirValueParameterSymbol p: R|kotlin/String|
|
||||
@@ -1,8 +0,0 @@
|
||||
KT element: KtNamedFunction
|
||||
FIR element: FirSimpleFunctionImpl
|
||||
FIR source kind: KtRealSourceElementKind
|
||||
|
||||
FIR element rendered:
|
||||
public final [ResolvedTo(BODY_RESOLVE)] fun unusedScriptFunction([ResolvedTo(BODY_RESOLVE)] p: R|kotlin/String|): R|kotlin/Int| {
|
||||
^unusedScriptFunction Int(22)
|
||||
}
|
||||
@@ -1,16 +0,0 @@
|
||||
class ScriptClass {
|
||||
val memberProperty = 4
|
||||
}
|
||||
|
||||
fun scriptFunction() = 42
|
||||
fun u<caret>nusedScriptFunction(p: String) = 22
|
||||
|
||||
scriptFunction()
|
||||
|
||||
fun foo(i: Int, action: (Int) -> Unit) {
|
||||
action(i)
|
||||
}
|
||||
|
||||
foo(scriptFunction()) {
|
||||
scriptFunction()
|
||||
}
|
||||
-49
@@ -1,49 +0,0 @@
|
||||
Tower Data Context:
|
||||
Element 0
|
||||
Scope: FirDefaultStarImportingScope
|
||||
Element 1
|
||||
Scope: FirExplicitStarImportingScope
|
||||
Element 2
|
||||
Scope: FirDefaultSimpleImportingScope
|
||||
Element 3
|
||||
Scope: FirDefaultSimpleImportingScope
|
||||
Element 4
|
||||
Scope: FirPackageMemberScope
|
||||
Element 5
|
||||
Scope: FirExplicitSimpleImportingScope
|
||||
Element 6
|
||||
Scope: FirScriptDeclarationsScope
|
||||
Classifiers:
|
||||
FirRegularClassSymbol public final? class ScriptClass : R|kotlin/Any|
|
||||
Functions
|
||||
FirNamedFunctionSymbol public final fun foo(i: R|kotlin/Int|, action: R|(kotlin/Int) -> kotlin/Unit|): R|kotlin/Unit|
|
||||
FirNamedFunctionSymbol public final fun scriptFunction(): R|kotlin/Int|
|
||||
FirNamedFunctionSymbol public? final? fun unusedScriptFunction(p: String): <implicit>
|
||||
Properties:
|
||||
FirPropertySymbol public final val $$result: R|kotlin/Unit|
|
||||
public get(): R|kotlin/Unit|
|
||||
Element 7
|
||||
Scope: FirLocalScope
|
||||
Properties:
|
||||
FirPropertySymbol lval args: R|kotlin/Array<kotlin/String>|
|
||||
Element 8
|
||||
Context receivers:
|
||||
FirScriptSymbol context(<script>@R|kotlin/script/templates/standard/ScriptTemplateWithArgs|)
|
||||
SCRIPT: <script-scriptInsideLastStatement.kts>
|
||||
lval args: R|kotlin/Array<kotlin/String>|
|
||||
|
||||
public final? class ScriptClass : R|kotlin/Any|
|
||||
public final fun scriptFunction(): R|kotlin/Int|
|
||||
public? final? fun unusedScriptFunction(p: String): <implicit>
|
||||
init
|
||||
public final fun foo(i: R|kotlin/Int|, action: R|(kotlin/Int) -> kotlin/Unit|): R|kotlin/Unit|
|
||||
public final val $$result: R|kotlin/Unit|
|
||||
public get(): R|kotlin/Unit|
|
||||
Type: kotlin.script.templates.standard.ScriptTemplateWithArgs
|
||||
Label: <script>
|
||||
Element 9
|
||||
Scope: FirLocalScope
|
||||
Properties:
|
||||
FirValueParameterSymbol it: R|kotlin/Int|
|
||||
Element 10
|
||||
Scope: FirLocalScope
|
||||
-6
@@ -1,6 +0,0 @@
|
||||
KT element: KtNameReferenceExpression
|
||||
FIR element: FirResolvedNamedReferenceImpl
|
||||
FIR source kind: KtRealSourceElementKind
|
||||
|
||||
FIR element rendered:
|
||||
R|/scriptFunction|
|
||||
-16
@@ -1,16 +0,0 @@
|
||||
class ScriptClass {
|
||||
val memberProperty = 4
|
||||
}
|
||||
|
||||
fun scriptFunction() = 42
|
||||
fun unusedScriptFunction(p: String) = 22
|
||||
|
||||
scriptFunction()
|
||||
|
||||
fun foo(i: Int, action: (Int) -> Unit) {
|
||||
action(i)
|
||||
}
|
||||
|
||||
foo(scriptFunction()) {
|
||||
scri<caret>ptFunction()
|
||||
}
|
||||
-43
@@ -1,43 +0,0 @@
|
||||
Tower Data Context:
|
||||
Element 0
|
||||
Scope: FirDefaultStarImportingScope
|
||||
Element 1
|
||||
Scope: FirExplicitStarImportingScope
|
||||
Element 2
|
||||
Scope: FirDefaultSimpleImportingScope
|
||||
Element 3
|
||||
Scope: FirDefaultSimpleImportingScope
|
||||
Element 4
|
||||
Scope: FirPackageMemberScope
|
||||
Element 5
|
||||
Scope: FirExplicitSimpleImportingScope
|
||||
Element 6
|
||||
Scope: FirScriptDeclarationsScope
|
||||
Classifiers:
|
||||
FirRegularClassSymbol public final? class ScriptClass : R|kotlin/Any|
|
||||
Functions
|
||||
FirNamedFunctionSymbol public final fun foo(i: R|kotlin/Int|, action: R|(kotlin/Int) -> kotlin/Unit|): R|kotlin/Unit|
|
||||
FirNamedFunctionSymbol public final fun scriptFunction(): R|kotlin/Int|
|
||||
FirNamedFunctionSymbol public? final? fun unusedScriptFunction(p: String): <implicit>
|
||||
Properties:
|
||||
FirPropertySymbol public final val $$result: R|kotlin/Unit|
|
||||
public get(): R|kotlin/Unit|
|
||||
Element 7
|
||||
Scope: FirLocalScope
|
||||
Properties:
|
||||
FirPropertySymbol lval args: R|kotlin/Array<kotlin/String>|
|
||||
Element 8
|
||||
Context receivers:
|
||||
FirScriptSymbol context(<script>@R|kotlin/script/templates/standard/ScriptTemplateWithArgs|)
|
||||
SCRIPT: <script-scriptLastStatement.kts>
|
||||
lval args: R|kotlin/Array<kotlin/String>|
|
||||
|
||||
public final? class ScriptClass : R|kotlin/Any|
|
||||
public final fun scriptFunction(): R|kotlin/Int|
|
||||
public? final? fun unusedScriptFunction(p: String): <implicit>
|
||||
init
|
||||
public final fun foo(i: R|kotlin/Int|, action: R|(kotlin/Int) -> kotlin/Unit|): R|kotlin/Unit|
|
||||
public final val $$result: R|kotlin/Unit|
|
||||
public get(): R|kotlin/Unit|
|
||||
Type: kotlin.script.templates.standard.ScriptTemplateWithArgs
|
||||
Label: <script>
|
||||
@@ -1,6 +0,0 @@
|
||||
KT element: KtNameReferenceExpression
|
||||
FIR element: FirResolvedNamedReferenceImpl
|
||||
FIR source kind: KtRealSourceElementKind
|
||||
|
||||
FIR element rendered:
|
||||
R|/foo|
|
||||
@@ -1,16 +0,0 @@
|
||||
class ScriptClass {
|
||||
val memberProperty = 4
|
||||
}
|
||||
|
||||
fun scriptFunction() = 42
|
||||
fun unusedScriptFunction(p: String) = 22
|
||||
|
||||
scriptFunction()
|
||||
|
||||
fun foo(i: Int, action: (Int) -> Unit) {
|
||||
action(i)
|
||||
}
|
||||
|
||||
<caret>foo(scriptFunction()) {
|
||||
scriptFunction()
|
||||
}
|
||||
-43
@@ -1,43 +0,0 @@
|
||||
Tower Data Context:
|
||||
Element 0
|
||||
Scope: FirDefaultStarImportingScope
|
||||
Element 1
|
||||
Scope: FirExplicitStarImportingScope
|
||||
Element 2
|
||||
Scope: FirDefaultSimpleImportingScope
|
||||
Element 3
|
||||
Scope: FirDefaultSimpleImportingScope
|
||||
Element 4
|
||||
Scope: FirPackageMemberScope
|
||||
Element 5
|
||||
Scope: FirExplicitSimpleImportingScope
|
||||
Element 6
|
||||
Scope: FirScriptDeclarationsScope
|
||||
Classifiers:
|
||||
FirRegularClassSymbol public final? class ScriptClass : R|kotlin/Any|
|
||||
Functions
|
||||
FirNamedFunctionSymbol public final fun foo(i: R|kotlin/Int|, action: R|(kotlin/Int) -> kotlin/Unit|): R|kotlin/Unit|
|
||||
FirNamedFunctionSymbol public final fun scriptFunction(): R|kotlin/Int|
|
||||
FirNamedFunctionSymbol public? final? fun unusedScriptFunction(p: String): <implicit>
|
||||
Properties:
|
||||
FirPropertySymbol public final val $$result: R|kotlin/Unit|
|
||||
public get(): R|kotlin/Unit|
|
||||
Element 7
|
||||
Scope: FirLocalScope
|
||||
Properties:
|
||||
FirPropertySymbol lval args: R|kotlin/Array<kotlin/String>|
|
||||
Element 8
|
||||
Context receivers:
|
||||
FirScriptSymbol context(<script>@R|kotlin/script/templates/standard/ScriptTemplateWithArgs|)
|
||||
SCRIPT: <script-scriptLastStatementCall.kts>
|
||||
lval args: R|kotlin/Array<kotlin/String>|
|
||||
|
||||
public final? class ScriptClass : R|kotlin/Any|
|
||||
public final fun scriptFunction(): R|kotlin/Int|
|
||||
public? final? fun unusedScriptFunction(p: String): <implicit>
|
||||
init
|
||||
public final fun foo(i: R|kotlin/Int|, action: R|(kotlin/Int) -> kotlin/Unit|): R|kotlin/Unit|
|
||||
public final val $$result: R|kotlin/Unit|
|
||||
public get(): R|kotlin/Unit|
|
||||
Type: kotlin.script.templates.standard.ScriptTemplateWithArgs
|
||||
Label: <script>
|
||||
-10
@@ -1,10 +0,0 @@
|
||||
KT element: KtCallExpression
|
||||
FIR element: FirPropertyImpl
|
||||
FIR source kind: KtRealSourceElementKind
|
||||
|
||||
FIR element rendered:
|
||||
public final [ResolvedTo(BODY_RESOLVE)] val $$result: R|kotlin/Unit| = R|/foo|(R|/scriptFunction|(), <L> = [ResolvedTo(BODY_RESOLVE)] [MatchingParameterFunctionTypeKey=kotlin/Function1<kotlin/Int, kotlin/Unit>] foo@fun <anonymous>([ResolvedTo(BODY_RESOLVE)] it: R|kotlin/Int|): R|kotlin/Unit| <inline=NoInline> {
|
||||
R|/scriptFunction|()
|
||||
}
|
||||
)
|
||||
public [ResolvedTo(BODY_RESOLVE)] get(): R|kotlin/Unit|
|
||||
-17
@@ -1,17 +0,0 @@
|
||||
// LOOK_UP_FOR_ELEMENT_OF_TYPE: KtCallExpression
|
||||
class ScriptClass {
|
||||
val memberProperty = 4
|
||||
}
|
||||
|
||||
fun scriptFunction() = 42
|
||||
fun unusedScriptFunction(p: String) = 22
|
||||
|
||||
scriptFunction()
|
||||
|
||||
fun foo(i: Int, action: (Int) -> Unit) {
|
||||
action(i)
|
||||
}
|
||||
|
||||
<caret>foo(scriptFunction()) {
|
||||
scriptFunction()
|
||||
}
|
||||
-47
@@ -1,47 +0,0 @@
|
||||
Tower Data Context:
|
||||
Element 0
|
||||
Scope: FirDefaultStarImportingScope
|
||||
Element 1
|
||||
Scope: FirExplicitStarImportingScope
|
||||
Element 2
|
||||
Scope: FirDefaultSimpleImportingScope
|
||||
Element 3
|
||||
Scope: FirDefaultSimpleImportingScope
|
||||
Element 4
|
||||
Scope: FirPackageMemberScope
|
||||
Element 5
|
||||
Scope: FirExplicitSimpleImportingScope
|
||||
Element 6
|
||||
Scope: FirScriptDeclarationsScope
|
||||
Classifiers:
|
||||
FirRegularClassSymbol public final? class ScriptClass : R|kotlin/Any|
|
||||
Functions
|
||||
FirNamedFunctionSymbol public final fun foo(i: R|kotlin/Int|, action: R|(kotlin/Int) -> kotlin/Unit|): R|kotlin/Unit|
|
||||
FirNamedFunctionSymbol public final fun scriptFunction(): R|kotlin/Int|
|
||||
FirNamedFunctionSymbol public? final? fun unusedScriptFunction(p: String): <implicit>
|
||||
Properties:
|
||||
FirPropertySymbol public final val $$result: R|kotlin/Unit|
|
||||
public get(): R|kotlin/Unit|
|
||||
Element 7
|
||||
Scope: FirLocalScope
|
||||
Properties:
|
||||
FirPropertySymbol lval args: R|kotlin/Array<kotlin/String>|
|
||||
Element 8
|
||||
Context receivers:
|
||||
FirScriptSymbol context(<script>@R|kotlin/script/templates/standard/ScriptTemplateWithArgs|)
|
||||
SCRIPT: <script-scriptStatement.kts>
|
||||
lval args: R|kotlin/Array<kotlin/String>|
|
||||
|
||||
public final? class ScriptClass : R|kotlin/Any|
|
||||
public final fun scriptFunction(): R|kotlin/Int|
|
||||
public? final? fun unusedScriptFunction(p: String): <implicit>
|
||||
init
|
||||
public final fun foo(i: R|kotlin/Int|, action: R|(kotlin/Int) -> kotlin/Unit|): R|kotlin/Unit|
|
||||
public final val $$result: R|kotlin/Unit|
|
||||
public get(): R|kotlin/Unit|
|
||||
Type: kotlin.script.templates.standard.ScriptTemplateWithArgs
|
||||
Label: <script>
|
||||
Element 9
|
||||
Scope: FirLocalScope
|
||||
Element 10
|
||||
Scope: FirLocalScope
|
||||
@@ -1,6 +0,0 @@
|
||||
KT element: KtNameReferenceExpression
|
||||
FIR element: FirResolvedNamedReferenceImpl
|
||||
FIR source kind: KtRealSourceElementKind
|
||||
|
||||
FIR element rendered:
|
||||
R|/scriptFunction|
|
||||
@@ -1,16 +0,0 @@
|
||||
class ScriptClass {
|
||||
val memberProperty = 4
|
||||
}
|
||||
|
||||
fun scriptFunction() = 42
|
||||
fun unusedScriptFunction(p: String) = 22
|
||||
|
||||
script<caret>Function()
|
||||
|
||||
fun foo(i: Int, action: (Int) -> Unit) {
|
||||
action(i)
|
||||
}
|
||||
|
||||
foo(scriptFunction()) {
|
||||
scriptFunction()
|
||||
}
|
||||
-47
@@ -1,47 +0,0 @@
|
||||
Tower Data Context:
|
||||
Element 0
|
||||
Scope: FirDefaultStarImportingScope
|
||||
Element 1
|
||||
Scope: FirExplicitStarImportingScope
|
||||
Element 2
|
||||
Scope: FirDefaultSimpleImportingScope
|
||||
Element 3
|
||||
Scope: FirDefaultSimpleImportingScope
|
||||
Element 4
|
||||
Scope: FirPackageMemberScope
|
||||
Element 5
|
||||
Scope: FirExplicitSimpleImportingScope
|
||||
Element 6
|
||||
Scope: FirScriptDeclarationsScope
|
||||
Classifiers:
|
||||
FirRegularClassSymbol public final? class ScriptClass : R|kotlin/Any|
|
||||
Functions
|
||||
FirNamedFunctionSymbol public final fun foo(i: R|kotlin/Int|, action: R|(kotlin/Int) -> kotlin/Unit|): R|kotlin/Unit|
|
||||
FirNamedFunctionSymbol public final fun scriptFunction(): R|kotlin/Int|
|
||||
FirNamedFunctionSymbol public? final? fun unusedScriptFunction(p: String): <implicit>
|
||||
Properties:
|
||||
FirPropertySymbol public final val $$result: R|kotlin/Unit|
|
||||
public get(): R|kotlin/Unit|
|
||||
Element 7
|
||||
Scope: FirLocalScope
|
||||
Properties:
|
||||
FirPropertySymbol lval args: R|kotlin/Array<kotlin/String>|
|
||||
Element 8
|
||||
Context receivers:
|
||||
FirScriptSymbol context(<script>@R|kotlin/script/templates/standard/ScriptTemplateWithArgs|)
|
||||
SCRIPT: <script-scriptStatementCall.kts>
|
||||
lval args: R|kotlin/Array<kotlin/String>|
|
||||
|
||||
public final? class ScriptClass : R|kotlin/Any|
|
||||
public final fun scriptFunction(): R|kotlin/Int|
|
||||
public? final? fun unusedScriptFunction(p: String): <implicit>
|
||||
init
|
||||
public final fun foo(i: R|kotlin/Int|, action: R|(kotlin/Int) -> kotlin/Unit|): R|kotlin/Unit|
|
||||
public final val $$result: R|kotlin/Unit|
|
||||
public get(): R|kotlin/Unit|
|
||||
Type: kotlin.script.templates.standard.ScriptTemplateWithArgs
|
||||
Label: <script>
|
||||
Element 9
|
||||
Scope: FirLocalScope
|
||||
Element 10
|
||||
Scope: FirLocalScope
|
||||
@@ -1,6 +0,0 @@
|
||||
KT element: KtCallExpression
|
||||
FIR element: FirFunctionCallImpl
|
||||
FIR source kind: KtRealSourceElementKind
|
||||
|
||||
FIR element rendered:
|
||||
R|/scriptFunction|()
|
||||
@@ -1,17 +0,0 @@
|
||||
// LOOK_UP_FOR_ELEMENT_OF_TYPE: KtCallExpression
|
||||
class ScriptClass {
|
||||
val memberProperty = 4
|
||||
}
|
||||
|
||||
fun scriptFunction() = 42
|
||||
fun unusedScriptFunction(p: String) = 22
|
||||
|
||||
script<caret>Function()
|
||||
|
||||
fun foo(i: Int, action: (Int) -> Unit) {
|
||||
action(i)
|
||||
}
|
||||
|
||||
foo(scriptFunction()) {
|
||||
scriptFunction()
|
||||
}
|
||||
analysis/low-level-api-fir/testData/dependentCopy/superCallArgument_delegatedConstructor.context.txt
Vendored
-19
@@ -1,19 +0,0 @@
|
||||
Tower Data Context:
|
||||
Element 0
|
||||
Scope: FirDefaultStarImportingScope
|
||||
Element 1
|
||||
Scope: FirExplicitStarImportingScope
|
||||
Element 2
|
||||
Scope: FirDefaultSimpleImportingScope
|
||||
Element 3
|
||||
Scope: FirDefaultSimpleImportingScope
|
||||
Element 4
|
||||
Scope: FirPackageMemberScope
|
||||
Element 5
|
||||
Scope: FirExplicitSimpleImportingScope
|
||||
Element 6
|
||||
Implicit receiver:
|
||||
FirRegularClassSymbol public final class MyClass : R|kotlin/Any|
|
||||
Type: test.MyClass
|
||||
Element 7
|
||||
Scope: FirLocalScope
|
||||
Vendored
-6
@@ -1,6 +0,0 @@
|
||||
KT element: KtNameReferenceExpression
|
||||
FIR element: FirPropertyAccessExpressionImpl
|
||||
FIR source kind: KtRealSourceElementKind
|
||||
|
||||
FIR element rendered:
|
||||
R|test/property|
|
||||
Vendored
-7
@@ -1,7 +0,0 @@
|
||||
package test
|
||||
|
||||
val property = 10
|
||||
|
||||
class MyClass(i: Int) {
|
||||
constructor(): this(prop<caret>erty)
|
||||
}
|
||||
Vendored
-19
@@ -1,19 +0,0 @@
|
||||
Tower Data Context:
|
||||
Element 0
|
||||
Scope: FirDefaultStarImportingScope
|
||||
Element 1
|
||||
Scope: FirExplicitStarImportingScope
|
||||
Element 2
|
||||
Scope: FirDefaultSimpleImportingScope
|
||||
Element 3
|
||||
Scope: FirDefaultSimpleImportingScope
|
||||
Element 4
|
||||
Scope: FirPackageMemberScope
|
||||
Element 5
|
||||
Scope: FirExplicitSimpleImportingScope
|
||||
Element 6
|
||||
Implicit receiver:
|
||||
FirRegularClassSymbol public final class Child : R|test/Base|
|
||||
Type: test.Child
|
||||
Element 7
|
||||
Scope: FirLocalScope
|
||||
Vendored
-6
@@ -1,6 +0,0 @@
|
||||
KT element: KtNameReferenceExpression
|
||||
FIR element: FirPropertyAccessExpressionImpl
|
||||
FIR source kind: KtRealSourceElementKind
|
||||
|
||||
FIR element rendered:
|
||||
R|test/property|
|
||||
-7
@@ -1,7 +0,0 @@
|
||||
package test
|
||||
|
||||
open class Base(action: Int)
|
||||
|
||||
val property = 10
|
||||
|
||||
class Child : Base(prop<caret>erty)
|
||||
analysis/low-level-api-fir/testData/dependentCopy/superCallArgument_secondaryConstructor.context.txt
Vendored
-19
@@ -1,19 +0,0 @@
|
||||
Tower Data Context:
|
||||
Element 0
|
||||
Scope: FirDefaultStarImportingScope
|
||||
Element 1
|
||||
Scope: FirExplicitStarImportingScope
|
||||
Element 2
|
||||
Scope: FirDefaultSimpleImportingScope
|
||||
Element 3
|
||||
Scope: FirDefaultSimpleImportingScope
|
||||
Element 4
|
||||
Scope: FirPackageMemberScope
|
||||
Element 5
|
||||
Scope: FirExplicitSimpleImportingScope
|
||||
Element 6
|
||||
Implicit receiver:
|
||||
FirRegularClassSymbol public final class Child : R|test/Base|
|
||||
Type: test.Child
|
||||
Element 7
|
||||
Scope: FirLocalScope
|
||||
Vendored
-6
@@ -1,6 +0,0 @@
|
||||
KT element: KtNameReferenceExpression
|
||||
FIR element: FirPropertyAccessExpressionImpl
|
||||
FIR source kind: KtRealSourceElementKind
|
||||
|
||||
FIR element rendered:
|
||||
R|test/property|
|
||||
Vendored
-9
@@ -1,9 +0,0 @@
|
||||
package test
|
||||
|
||||
open class Base(i: Int)
|
||||
|
||||
val property = 10
|
||||
|
||||
class Child : Base {
|
||||
constructor(): super(prop<caret>erty)
|
||||
}
|
||||
-19
@@ -1,19 +0,0 @@
|
||||
Tower Data Context:
|
||||
Element 0
|
||||
Scope: FirDefaultStarImportingScope
|
||||
Element 1
|
||||
Scope: FirExplicitStarImportingScope
|
||||
Element 2
|
||||
Scope: FirDefaultSimpleImportingScope
|
||||
Element 3
|
||||
Scope: FirDefaultSimpleImportingScope
|
||||
Element 4
|
||||
Scope: FirPackageMemberScope
|
||||
Element 5
|
||||
Scope: FirExplicitSimpleImportingScope
|
||||
Element 6
|
||||
Implicit receiver:
|
||||
FirRegularClassSymbol public final class MyClass : R|test/MyInterface|
|
||||
Type: test.MyClass
|
||||
Element 7
|
||||
Scope: FirLocalScope
|
||||
@@ -1,6 +0,0 @@
|
||||
KT element: KtNameReferenceExpression
|
||||
FIR element: FirPropertyAccessExpressionImpl
|
||||
FIR source kind: KtRealSourceElementKind
|
||||
|
||||
FIR element rendered:
|
||||
R|test/property|
|
||||
@@ -1,7 +0,0 @@
|
||||
package test
|
||||
|
||||
interface MyInterface
|
||||
|
||||
val property: MyInterface = object : MyInterface {}
|
||||
|
||||
class MyClass: MyInterface by prop<caret>erty
|
||||
Vendored
-27
@@ -1,27 +0,0 @@
|
||||
Tower Data Context:
|
||||
Element 0
|
||||
Scope: FirDefaultStarImportingScope
|
||||
Element 1
|
||||
Scope: FirExplicitStarImportingScope
|
||||
Element 2
|
||||
Scope: FirDefaultSimpleImportingScope
|
||||
Element 3
|
||||
Scope: FirDefaultSimpleImportingScope
|
||||
Element 4
|
||||
Scope: FirPackageMemberScope
|
||||
Element 5
|
||||
Scope: FirExplicitSimpleImportingScope
|
||||
Element 6
|
||||
Implicit receiver:
|
||||
FirRegularClassSymbol public final companion object Companion : R|test/MyInterface|
|
||||
Type: test.MyClass.Companion
|
||||
Element 7
|
||||
Scope: FirNestedClassifierScopeImpl
|
||||
Classifiers:
|
||||
FirRegularClassSymbol public final companion object Companion : R|test/MyInterface|
|
||||
Element 8
|
||||
Implicit receiver:
|
||||
FirRegularClassSymbol public final class MyClass : R|test/MyInterface|
|
||||
Type: test.MyClass
|
||||
Element 9
|
||||
Scope: FirLocalScope
|
||||
-6
@@ -1,6 +0,0 @@
|
||||
KT element: KtNameReferenceExpression
|
||||
FIR element: FirResolvedQualifierImpl
|
||||
FIR source kind: KtRealSourceElementKind
|
||||
|
||||
FIR element rendered:
|
||||
Q|test/MyClass.Companion|
|
||||
-7
@@ -1,7 +0,0 @@
|
||||
package test
|
||||
|
||||
interface MyInterface
|
||||
|
||||
class MyClass: MyInterface by Comp<caret>anion {
|
||||
companion object : MyInterface
|
||||
}
|
||||
-17
@@ -1,17 +0,0 @@
|
||||
Tower Data Context:
|
||||
Element 0
|
||||
Scope: FirDefaultStarImportingScope
|
||||
Element 1
|
||||
Scope: FirExplicitStarImportingScope
|
||||
Element 2
|
||||
Scope: FirDefaultSimpleImportingScope
|
||||
Element 3
|
||||
Scope: FirDefaultSimpleImportingScope
|
||||
Element 4
|
||||
Scope: FirPackageMemberScope
|
||||
Element 5
|
||||
Scope: FirExplicitSimpleImportingScope
|
||||
Element 6
|
||||
Implicit receiver:
|
||||
FirRegularClassSymbol public final class MyClass : R|test/MyInterface|
|
||||
Type: test.MyClass
|
||||
-6
@@ -1,6 +0,0 @@
|
||||
KT element: KtNameReferenceExpression
|
||||
FIR element: FirPropertyAccessExpressionImpl
|
||||
FIR source kind: KtRealSourceElementKind
|
||||
|
||||
FIR element rendered:
|
||||
R|<local>/param|
|
||||
Vendored
-5
@@ -1,5 +0,0 @@
|
||||
package test
|
||||
|
||||
interface MyInterface
|
||||
|
||||
class MyClass(param: MyInterface): MyInterface by par<caret>am
|
||||
Reference in New Issue
Block a user