mani-language / Mani

Máni ... an awesome, super simple programming language!
https://mani-language.github.io/
Mozilla Public License 2.0
28 stars 7 forks source link

Line numbers being incorrect in error. #92

Closed crazywolf132 closed 5 years ago

crazywolf132 commented 5 years ago

Describe the bug A clear and concise description of what the bug is.

When an error occurs in a different file to the one being run (an imported or a stdlib) it can be hard to tell what file, and what line.

To Reproduce Steps to reproduce the behaviour:

Simply have a file run another, that contains an error.

Code to reproduce:

N/A

Expected behaviour A clear and concise description of what you expected to happen.

We should change it, so it says the correct line numbers... along with what file it is talking about. This would make debugging and future development so much easier.

Error If applicable, please provide the full error.

N/A

Desktop (please complete the following information):

  • OS: [MACOS]
  • Version [CATALINA]

Standard Library: Were you using a standard library?

N/A

If yes, what libraries?

N/A

If applicable, did you have internet connection?

N/A

Additional context Add any other context about the problem here.

crazywolf132 commented 5 years ago

@Kalekdan This might be your next task to conquer.

You might even be able to tie it in with #91