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.
Consider the following example:
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.