Skip to content

Error message for missing semicolons #2

Description

@Jomy10

Consider the following example:

noot!("Hello") noot!(" World")

This will output Hello, without any other errors. This is because after parsing the function call, the parser does not check if there are more tokens left to parse, it will simple move on to the next statement.

There should be an error "missing semicolon" instead.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions