You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
What operating system are you using, and which version?
Linux / Ubuntu 20.04.4 LTS (64-bit)
Aiken Playground
Describe what the problem is?
Putting comment at the last line of a file gives the unexpected token parsing error. The same behavior is also observed on Aiken Playground (go to play.aiken-lang.org, add // to the last line, click Format or Check)
[File ends at line 21] Not good:
aiken::parser
× While parsing files...
╰─▶ I found an unexpected token '"/"'.
[File ends at line 22] Good:
Aiken Playground:
What should be the expected behavior?
Either automatically add a new empty line upon formatting, or it shouldn't be an error.
The text was updated successfully, but these errors were encountered:
What Git revision are you using?
aiken 1.0.4-alpha
What operating system are you using, and which version?
Describe what the problem is?
Putting comment at the last line of a file gives the
unexpected token
parsing error. The same behavior is also observed on Aiken Playground (go to play.aiken-lang.org, add//
to the last line, clickFormat
orCheck
)[File ends at line 21] Not good:
[File ends at line 22] Good:
Aiken Playground:
What should be the expected behavior?
Either automatically add a new empty line upon formatting, or it shouldn't be an error.
The text was updated successfully, but these errors were encountered: