d5cfea330b
Script parameters now can be resolved independently of the script. But, as parameters are part of the script, their resolve will be called before the script. ^KT-66276 Fixed
28 lines
934 B
Plaintext
Vendored
28 lines
934 B
Plaintext
Vendored
KT element: KtObjectLiteralExpression
|
|
FIR element: FirAnonymousObjectExpressionImpl
|
|
FIR source kind: KtRealSourceElementKind
|
|
|
|
FIR element rendered:
|
|
object : R|kotlin/Any| {
|
|
private [ResolvedTo(BODY_RESOLVE)] [ContainingClassKey=<anonymous>] constructor(): R|<anonymous>| {
|
|
super<R|kotlin/Any|>()
|
|
}
|
|
|
|
}
|
|
|
|
FIR FILE:
|
|
FILE: [ResolvedTo(IMPORTS)] objectLiteralExpressionScript.kts
|
|
context(<script>@R|kotlin/script/templates/standard/ScriptTemplateWithArgs|)
|
|
SCRIPT: [ResolvedTo(TYPES)] <script-objectLiteralExpressionScript.kts>
|
|
[ResolvedTo(TYPES)] lval args: R|kotlin/Array<kotlin/String>|
|
|
|
|
public final [ResolvedTo(BODY_RESOLVE)] fun test(): R|kotlin/Unit| {
|
|
object : R|kotlin/Any| {
|
|
private [ResolvedTo(BODY_RESOLVE)] [ContainingClassKey=<anonymous>] constructor(): R|<anonymous>| {
|
|
super<R|kotlin/Any|>()
|
|
}
|
|
|
|
}
|
|
|
|
}
|