Skip to content

Conditional compile within associative array causes issues #1302

@TwitchBronBron

Description

@TwitchBronBron

This is valid code. We spoke in #1023 about not supporting this, but I'd love to at least think about how we could possibly support this

function test()
    return {
        name: "bob"
        #if true
            getSomething: sub()
                return "something"
            end sub
        #end if
    }
end function

image

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions