Error message for missing semicolons
- Dominant language
- Go
- Stars
- 4
- Forks
- 0
- PR merge metrics
- No merged PRs in 30d
Description
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.
Contributor guide
No contributing guide indexed for this repository
Research direction
Start by locating the parser code that handles function calls and checking how it processes tokens after a statement. Reproduce the example from the issue and verify that an additional token without a semicolon produces a missing-semicolon error; done means the invalid input no longer runs silently.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- go
- Domain
- compilers
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100