Skip to content

Change the field function from an Expression to an Identifier in CallExpression #28675

@mohammadfawaz

Description

@mohammadfawaz

There's already a TODO there to fix that. Since no other expression can represent a function, it's safe for the parser to reject any expression that is not an identifier. This makes extracting the name of the function called much easier in later compiler phases.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions