tindzk / seed

Build tool for Scala projects
https://tindzk.github.io/seed/
Apache License 2.0
238 stars 13 forks source link

Line numbers of compilation errors are off by one #70

Closed nafg closed 4 years ago

nafg commented 4 years ago

Maybe they are zero-based?

tindzk commented 4 years ago

Do you have an example? I created the following file:

[project

The error output indicated the correct line number:

$ seed update
ⓘ Loading project build.toml...
✗ The build file build.toml is malformed
  Message: End:1:1 ..."[project\n"
nafg commented 4 years ago

Sorry, I meant sources' compile errors, like in a scala file.

tindzk commented 4 years ago

Indeed, good catch! I have a PR in the pipeline.