FILE: script.kts
    SCRIPT: <script-script.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|

        public final class A : R|kotlin/Any| {
            public constructor(): R|A| {
                super<R|kotlin/Any|>()
            }

        }

        public final enum class E : R|kotlin/Enum<E>| {
            private constructor(): R|E| {
                super<R|kotlin/Enum<E>|>()
            }

            public final static enum entry V: R|E|
            public final static fun values(): R|kotlin/Array<E>| {
            }

            public final static fun valueOf(value: R|kotlin/String|): R|E| {
            }

            public final static val entries: R|kotlin/enums/EnumEntries<E>|
                public get(): R|kotlin/enums/EnumEntries<E>|

        }

        public final object O : R|kotlin/Any| {
            private constructor(): R|O| {
                super<R|kotlin/Any|>()
            }

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

        }

        public final fun foo(): R|kotlin/Int| {
            ^foo Int(42)
        }

FILE: main.kt
    public final val b: R|kotlin/Int| = R|/a|
        public get(): R|kotlin/Int|
    public final val ca: R|A| = R|/A.A|()
        public get(): R|A|
    public final val ev: R|E| = Q|E|.R|/E.V|
        public get(): R|E|
    public final val ov: R|kotlin/Int| = Q|O|.R|/O.v|
        public get(): R|kotlin/Int|
    public final val rfoo: R|kotlin/Int| = R|/foo|()
        public get(): R|kotlin/Int|
