FILE: [ResolvedTo(BODY_RESOLVE)] topLevelFunWithTypeScript.kts
    context(<script>@R|kotlin/script/templates/standard/ScriptTemplateWithArgs|)
    SCRIPT: [ResolvedTo(BODY_RESOLVE)] <script-topLevelFunWithTypeScript.kts>
        [ResolvedTo(BODY_RESOLVE)] lval args: R|kotlin/Array<kotlin/String>|

        public final [ResolvedTo(BODY_RESOLVE)] fun foo(): R|kotlin/Int| {
            <Unresolved name: println>#(String())
            ^foo Int(10)
        }
