-
Notifications
You must be signed in to change notification settings - Fork 71
Description
Describe the bug
I was trying out some codes and then ran into an error at runtime when I use a newline. I mean, I cannot have all my code on a single line, so when I write my code on multi lines, I get an error like: There is an error at line x near column y in file xyz.yl. But when I remove all the newlines, it runs. I installed yorlang globally using npm. It runs the first line and gives an error for the remaining lines.
To Reproduce
Steps to reproduce the behavior:
- Write some codes having different statements or expressions on multilines
- Run the file using
yorl file_name.yl - Await the response
- See error
Expected behavior
I expected my code to run and not give an error. It should treat newline character as newline character and run my code.
Screenshots
If applicable, add screenshots to help explain your problem.
Desktop (please complete the following information):
- OS: [e.g. iOS] Windows
- Browser [e.g. chrome, safari] Chrome
- Version [e.g. 22]142.0.7444.176 (Official Build) (64-bit)
Smartphone (please complete the following information):
- Device: [e.g. iPhone6] Tecno Spark 10
- OS: [e.g. iOS8.1] Android 12
- Browser [e.g. stock browser, safari] Chrome
- Version [e.g. 22] 142.0.7444.171
Additional context
Add any other context about the problem here.

