RAW_FIR:
FILE: [ResolvedTo(IMPORTS)] secondaryConstructorParameterScript.kts
    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 A : R|kotlin/Any| {
            public? [ResolvedTo(RAW_FIR)] [ContainingClassKey=A] constructor([ResolvedTo(RAW_FIR)] [CorrespondingProperty=/A.prop] prop: Int = IntegerLiteral(42), [ResolvedTo(RAW_FIR)] c: String): R|A| {
                super<R|kotlin/Any|>()
            }

            public? final? [ResolvedTo(RAW_FIR)] [IsFromPrimaryConstructor=true] val prop: Int = R|<local>/prop|
                public? [ResolvedTo(RAW_FIR)] [ContainingClassKey=A] get(): Int

            public? [ResolvedTo(RAW_FIR)] [ContainingClassKey=A] constructor([ResolvedTo(RAW_FIR)] str: String): R|A| {
                this<R|A|>(str#.myToInt#(), str#)
            }

            public? final? [ResolvedTo(RAW_FIR)] fun foo(): <implicit> {
                ^foo String(str)
            }

        }

        public? final? [ResolvedTo(RAW_FIR)] fun String.myToInt(): Int {
            ^myToInt IntegerLiteral(42)
        }


IMPORTS:
FILE: [ResolvedTo(IMPORTS)] secondaryConstructorParameterScript.kts
    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 A : R|kotlin/Any| {
            public? [ResolvedTo(RAW_FIR)] [ContainingClassKey=A] constructor([ResolvedTo(RAW_FIR)] [CorrespondingProperty=/A.prop] prop: Int = IntegerLiteral(42), [ResolvedTo(RAW_FIR)] c: String): R|A| {
                super<R|kotlin/Any|>()
            }

            public? final? [ResolvedTo(RAW_FIR)] [IsFromPrimaryConstructor=true] val prop: Int = R|<local>/prop|
                public? [ResolvedTo(RAW_FIR)] [ContainingClassKey=A] get(): Int

            public? [ResolvedTo(RAW_FIR)] [ContainingClassKey=A] constructor([ResolvedTo(RAW_FIR)] str: String): R|A| {
                this<R|A|>(str#.myToInt#(), str#)
            }

            public? final? [ResolvedTo(RAW_FIR)] fun foo(): <implicit> {
                ^foo String(str)
            }

        }

        public? final? [ResolvedTo(RAW_FIR)] fun String.myToInt(): Int {
            ^myToInt IntegerLiteral(42)
        }


COMPILER_REQUIRED_ANNOTATIONS:
FILE: [ResolvedTo(IMPORTS)] secondaryConstructorParameterScript.kts
    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 A : R|kotlin/Any| {
            public? [ResolvedTo(RAW_FIR)] [ContainingClassKey=A] constructor([ResolvedTo(RAW_FIR)] [CorrespondingProperty=/A.prop] prop: Int = IntegerLiteral(42), [ResolvedTo(RAW_FIR)] c: String): R|A| {
                super<R|kotlin/Any|>()
            }

            public? final? [ResolvedTo(RAW_FIR)] [IsFromPrimaryConstructor=true] val prop: Int = R|<local>/prop|
                public? [ResolvedTo(RAW_FIR)] [ContainingClassKey=A] get(): Int

            public? [ResolvedTo(RAW_FIR)] [ContainingClassKey=A] constructor([ResolvedTo(RAW_FIR)] str: String): R|A| {
                this<R|A|>(str#.myToInt#(), str#)
            }

            public? final? [ResolvedTo(RAW_FIR)] fun foo(): <implicit> {
                ^foo String(str)
            }

        }

        public? final? [ResolvedTo(RAW_FIR)] fun String.myToInt(): Int {
            ^myToInt IntegerLiteral(42)
        }


COMPANION_GENERATION:
FILE: [ResolvedTo(IMPORTS)] secondaryConstructorParameterScript.kts
    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 A : R|kotlin/Any| {
            public? [ResolvedTo(RAW_FIR)] [ContainingClassKey=A] constructor([ResolvedTo(RAW_FIR)] [CorrespondingProperty=/A.prop] prop: Int = IntegerLiteral(42), [ResolvedTo(RAW_FIR)] c: String): R|A| {
                super<R|kotlin/Any|>()
            }

            public? final? [ResolvedTo(RAW_FIR)] [IsFromPrimaryConstructor=true] val prop: Int = R|<local>/prop|
                public? [ResolvedTo(RAW_FIR)] [ContainingClassKey=A] get(): Int

            public? [ResolvedTo(RAW_FIR)] [ContainingClassKey=A] constructor([ResolvedTo(RAW_FIR)] str: String): R|A| {
                this<R|A|>(str#.myToInt#(), str#)
            }

            public? final? [ResolvedTo(RAW_FIR)] fun foo(): <implicit> {
                ^foo String(str)
            }

        }

        public? final? [ResolvedTo(RAW_FIR)] fun String.myToInt(): Int {
            ^myToInt IntegerLiteral(42)
        }


SUPER_TYPES:
FILE: [ResolvedTo(IMPORTS)] secondaryConstructorParameterScript.kts
    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 A : R|kotlin/Any| {
            public? [ResolvedTo(RAW_FIR)] [ContainingClassKey=A] constructor([ResolvedTo(RAW_FIR)] [CorrespondingProperty=/A.prop] prop: Int = IntegerLiteral(42), [ResolvedTo(RAW_FIR)] c: String): R|A| {
                super<R|kotlin/Any|>()
            }

            public? final? [ResolvedTo(RAW_FIR)] [IsFromPrimaryConstructor=true] val prop: Int = R|<local>/prop|
                public? [ResolvedTo(RAW_FIR)] [ContainingClassKey=A] get(): Int

            public? [ResolvedTo(RAW_FIR)] [ContainingClassKey=A] constructor([ResolvedTo(RAW_FIR)] str: String): R|A| {
                this<R|A|>(str#.myToInt#(), str#)
            }

            public? final? [ResolvedTo(RAW_FIR)] fun foo(): <implicit> {
                ^foo String(str)
            }

        }

        public? final? [ResolvedTo(RAW_FIR)] fun String.myToInt(): Int {
            ^myToInt IntegerLiteral(42)
        }


TYPES:
FILE: [ResolvedTo(IMPORTS)] secondaryConstructorParameterScript.kts
    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 A : R|kotlin/Any| {
            public? [ResolvedTo(RAW_FIR)] [ContainingClassKey=A] constructor([ResolvedTo(RAW_FIR)] [CorrespondingProperty=/A.prop] prop: Int = IntegerLiteral(42), [ResolvedTo(RAW_FIR)] c: String): R|A| {
                super<R|kotlin/Any|>()
            }

            public? final? [ResolvedTo(RAW_FIR)] [IsFromPrimaryConstructor=true] val prop: Int = R|<local>/prop|
                public? [ResolvedTo(RAW_FIR)] [ContainingClassKey=A] get(): Int

            public? [ResolvedTo(RAW_FIR)] [ContainingClassKey=A] constructor([ResolvedTo(RAW_FIR)] str: String): R|A| {
                this<R|A|>(str#.myToInt#(), str#)
            }

            public? final? [ResolvedTo(RAW_FIR)] fun foo(): <implicit> {
                ^foo String(str)
            }

        }

        public? final? [ResolvedTo(RAW_FIR)] fun String.myToInt(): Int {
            ^myToInt IntegerLiteral(42)
        }


STATUS:
FILE: [ResolvedTo(IMPORTS)] secondaryConstructorParameterScript.kts
    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 A : R|kotlin/Any| {
            public? [ResolvedTo(RAW_FIR)] [ContainingClassKey=A] constructor([ResolvedTo(RAW_FIR)] [CorrespondingProperty=/A.prop] prop: Int = IntegerLiteral(42), [ResolvedTo(RAW_FIR)] c: String): R|A| {
                super<R|kotlin/Any|>()
            }

            public? final? [ResolvedTo(RAW_FIR)] [IsFromPrimaryConstructor=true] val prop: Int = R|<local>/prop|
                public? [ResolvedTo(RAW_FIR)] [ContainingClassKey=A] get(): Int

            public? [ResolvedTo(RAW_FIR)] [ContainingClassKey=A] constructor([ResolvedTo(RAW_FIR)] str: String): R|A| {
                this<R|A|>(str#.myToInt#(), str#)
            }

            public? final? [ResolvedTo(RAW_FIR)] fun foo(): <implicit> {
                ^foo String(str)
            }

        }

        public? final? [ResolvedTo(RAW_FIR)] fun String.myToInt(): Int {
            ^myToInt IntegerLiteral(42)
        }


EXPECT_ACTUAL_MATCHING:
FILE: [ResolvedTo(IMPORTS)] secondaryConstructorParameterScript.kts
    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 A : R|kotlin/Any| {
            public? [ResolvedTo(RAW_FIR)] [ContainingClassKey=A] constructor([ResolvedTo(RAW_FIR)] [CorrespondingProperty=/A.prop] prop: Int = IntegerLiteral(42), [ResolvedTo(RAW_FIR)] c: String): R|A| {
                super<R|kotlin/Any|>()
            }

            public? final? [ResolvedTo(RAW_FIR)] [IsFromPrimaryConstructor=true] val prop: Int = R|<local>/prop|
                public? [ResolvedTo(RAW_FIR)] [ContainingClassKey=A] get(): Int

            public? [ResolvedTo(RAW_FIR)] [ContainingClassKey=A] constructor([ResolvedTo(RAW_FIR)] str: String): R|A| {
                this<R|A|>(str#.myToInt#(), str#)
            }

            public? final? [ResolvedTo(RAW_FIR)] fun foo(): <implicit> {
                ^foo String(str)
            }

        }

        public? final? [ResolvedTo(RAW_FIR)] fun String.myToInt(): Int {
            ^myToInt IntegerLiteral(42)
        }


ARGUMENTS_OF_ANNOTATIONS:
FILE: [ResolvedTo(IMPORTS)] secondaryConstructorParameterScript.kts
    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 A : R|kotlin/Any| {
            public? [ResolvedTo(RAW_FIR)] [ContainingClassKey=A] constructor([ResolvedTo(RAW_FIR)] [CorrespondingProperty=/A.prop] prop: Int = IntegerLiteral(42), [ResolvedTo(RAW_FIR)] c: String): R|A| {
                super<R|kotlin/Any|>()
            }

            public? final? [ResolvedTo(RAW_FIR)] [IsFromPrimaryConstructor=true] val prop: Int = R|<local>/prop|
                public? [ResolvedTo(RAW_FIR)] [ContainingClassKey=A] get(): Int

            public? [ResolvedTo(RAW_FIR)] [ContainingClassKey=A] constructor([ResolvedTo(RAW_FIR)] str: String): R|A| {
                this<R|A|>(str#.myToInt#(), str#)
            }

            public? final? [ResolvedTo(RAW_FIR)] fun foo(): <implicit> {
                ^foo String(str)
            }

        }

        public? final? [ResolvedTo(RAW_FIR)] fun String.myToInt(): Int {
            ^myToInt IntegerLiteral(42)
        }


CONTRACTS:
FILE: [ResolvedTo(IMPORTS)] secondaryConstructorParameterScript.kts
    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 A : R|kotlin/Any| {
            public? [ResolvedTo(RAW_FIR)] [ContainingClassKey=A] constructor([ResolvedTo(RAW_FIR)] [CorrespondingProperty=/A.prop] prop: Int = IntegerLiteral(42), [ResolvedTo(RAW_FIR)] c: String): R|A| {
                super<R|kotlin/Any|>()
            }

            public? final? [ResolvedTo(RAW_FIR)] [IsFromPrimaryConstructor=true] val prop: Int = R|<local>/prop|
                public? [ResolvedTo(RAW_FIR)] [ContainingClassKey=A] get(): Int

            public? [ResolvedTo(RAW_FIR)] [ContainingClassKey=A] constructor([ResolvedTo(RAW_FIR)] str: String): R|A| {
                this<R|A|>(str#.myToInt#(), str#)
            }

            public? final? [ResolvedTo(RAW_FIR)] fun foo(): <implicit> {
                ^foo String(str)
            }

        }

        public? final? [ResolvedTo(RAW_FIR)] fun String.myToInt(): Int {
            ^myToInt IntegerLiteral(42)
        }


IMPLICIT_TYPES_BODY_RESOLVE:
FILE: [ResolvedTo(IMPORTS)] secondaryConstructorParameterScript.kts
    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 A : R|kotlin/Any| {
            public? [ResolvedTo(RAW_FIR)] [ContainingClassKey=A] constructor([ResolvedTo(RAW_FIR)] [CorrespondingProperty=/A.prop] prop: Int = IntegerLiteral(42), [ResolvedTo(RAW_FIR)] c: String): R|A| {
                super<R|kotlin/Any|>()
            }

            public? final? [ResolvedTo(RAW_FIR)] [IsFromPrimaryConstructor=true] val prop: Int = R|<local>/prop|
                public? [ResolvedTo(RAW_FIR)] [ContainingClassKey=A] get(): Int

            public? [ResolvedTo(RAW_FIR)] [ContainingClassKey=A] constructor([ResolvedTo(RAW_FIR)] str: String): R|A| {
                this<R|A|>(str#.myToInt#(), str#)
            }

            public? final? [ResolvedTo(RAW_FIR)] fun foo(): <implicit> {
                ^foo String(str)
            }

        }

        public? final? [ResolvedTo(RAW_FIR)] fun String.myToInt(): Int {
            ^myToInt IntegerLiteral(42)
        }


ANNOTATIONS_ARGUMENTS_MAPPING:
FILE: [ResolvedTo(IMPORTS)] secondaryConstructorParameterScript.kts
    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 A : R|kotlin/Any| {
            public? [ResolvedTo(RAW_FIR)] [ContainingClassKey=A] constructor([ResolvedTo(RAW_FIR)] [CorrespondingProperty=/A.prop] prop: Int = IntegerLiteral(42), [ResolvedTo(RAW_FIR)] c: String): R|A| {
                super<R|kotlin/Any|>()
            }

            public? final? [ResolvedTo(RAW_FIR)] [IsFromPrimaryConstructor=true] val prop: Int = R|<local>/prop|
                public? [ResolvedTo(RAW_FIR)] [ContainingClassKey=A] get(): Int

            public? [ResolvedTo(RAW_FIR)] [ContainingClassKey=A] constructor([ResolvedTo(RAW_FIR)] str: String): R|A| {
                this<R|A|>(str#.myToInt#(), str#)
            }

            public? final? [ResolvedTo(RAW_FIR)] fun foo(): <implicit> {
                ^foo String(str)
            }

        }

        public? final? [ResolvedTo(RAW_FIR)] fun String.myToInt(): Int {
            ^myToInt IntegerLiteral(42)
        }


BODY_RESOLVE:
FILE: [ResolvedTo(IMPORTS)] secondaryConstructorParameterScript.kts
    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 A : R|kotlin/Any| {
            public? [ResolvedTo(RAW_FIR)] [ContainingClassKey=A] constructor([ResolvedTo(RAW_FIR)] [CorrespondingProperty=/A.prop] prop: Int = IntegerLiteral(42), [ResolvedTo(RAW_FIR)] c: String): R|A| {
                super<R|kotlin/Any|>()
            }

            public? final? [ResolvedTo(RAW_FIR)] [IsFromPrimaryConstructor=true] val prop: Int = R|<local>/prop|
                public? [ResolvedTo(RAW_FIR)] [ContainingClassKey=A] get(): Int

            public? [ResolvedTo(RAW_FIR)] [ContainingClassKey=A] constructor([ResolvedTo(RAW_FIR)] str: String): R|A| {
                this<R|A|>(str#.myToInt#(), str#)
            }

            public? final? [ResolvedTo(RAW_FIR)] fun foo(): <implicit> {
                ^foo String(str)
            }

        }

        public? final? [ResolvedTo(RAW_FIR)] fun String.myToInt(): Int {
            ^myToInt IntegerLiteral(42)
        }


FILE RAW TO BODY:
FILE: [ResolvedTo(IMPORTS)] secondaryConstructorParameterScript.kts
    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 A : R|kotlin/Any| {
            public? [ResolvedTo(RAW_FIR)] [ContainingClassKey=A] constructor([ResolvedTo(RAW_FIR)] [CorrespondingProperty=/A.prop] prop: Int = IntegerLiteral(42), [ResolvedTo(RAW_FIR)] c: String): R|A| {
                super<R|kotlin/Any|>()
            }

            public? final? [ResolvedTo(RAW_FIR)] [IsFromPrimaryConstructor=true] val prop: Int = R|<local>/prop|
                public? [ResolvedTo(RAW_FIR)] [ContainingClassKey=A] get(): Int

            public? [ResolvedTo(RAW_FIR)] [ContainingClassKey=A] constructor([ResolvedTo(RAW_FIR)] str: String): R|A| {
                this<R|A|>(str#.myToInt#(), str#)
            }

            public? final? [ResolvedTo(RAW_FIR)] fun foo(): <implicit> {
                ^foo String(str)
            }

        }

        public? final? [ResolvedTo(RAW_FIR)] fun String.myToInt(): Int {
            ^myToInt IntegerLiteral(42)
        }

