FILE: script1.kts
    SCRIPT: <script-script1.kts>
        <script receiver parameter>: R|kotlin/script/templates/standard/ScriptTemplateWithArgs|
        lval args: R|kotlin/Array<kotlin/String>|

        public final val a: R|kotlin/Int| = Int(42)
            public get(): R|kotlin/Int|

FILE: script2.kts
    SCRIPT: <script-script2.kts>
        <script receiver parameter>: R|kotlin/script/templates/standard/ScriptTemplateWithArgs|
        lval args: R|kotlin/Array<kotlin/String>|

        public final val a: R|kotlin/String| = String(42)
            public get(): R|kotlin/String|

FILE: main.kt
    public final fun foo(): <ERROR TYPE REF: Ambiguity: a, [/a, /a]> {
        ^foo <Ambiguity: a, [/a, /a]>#
    }
