FILE: [ResolvedTo(BODY_RESOLVE)] topLevelFunWithTypeScript.kts
    SCRIPT: [ResolvedTo(BODY_RESOLVE)] <script-topLevelFunWithTypeScript.kts>
        [ResolvedTo(BODY_RESOLVE)] <script receiver parameter>: R|kotlin/script/templates/standard/ScriptTemplateWithArgs|
        [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)
        }

