KT element: KtNamedFunction
FIR element: FirSimpleFunctionImpl
FIR source kind: KtRealSourceElementKind

FIR element rendered:
public final [ResolvedTo(BODY_RESOLVE)] fun x(): R|kotlin/String| {
    ^x String()
}

FIR FILE:
FILE: [ResolvedTo(IMPORTS)] memberFunctionScript.kts
    SCRIPT: [ResolvedTo(TYPES)] <script-memberFunctionScript.kts>
        [ResolvedTo(TYPES)] <script receiver parameter>: R|kotlin/script/templates/standard/ScriptTemplateWithArgs|
        [ResolvedTo(TYPES)] lval args: R|kotlin/Array<kotlin/String>|

        public final [ResolvedTo(STATUS)] [ContainingScriptKey=FirScriptSymbol <script-memberFunctionScript.kts>] class Y : R|kotlin/Any| {
            public [ResolvedTo(STATUS)] [ContainingClassKey=Y] constructor(): R|Y| {
                LAZY_super<R|kotlin/Any|>
            }

            public final [ResolvedTo(BODY_RESOLVE)] fun x(): R|kotlin/String| {
                ^x String()
            }

        }