Skip to content

source literals shouldn't have their own AST type #1515

@TwitchBronBron

Description

@TwitchBronBron

Source literals should not have a dedicated expression type of SourceLiteralExpression. These work exactly the same as VariableExpression, so we should just use that. And then the list of known source literals can be handled in the validation and transpilation layers.

This is a breaking change, so we should do this before v1.0.0 lands.

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