gosu-lang / gradle-gosu-plugin

BSD 3-Clause "New" or "Revised" License
5 stars 7 forks source link

Log error context #12

Closed DPUkyle closed 8 years ago

DPUkyle commented 8 years ago

It would be nice if, similar to javac, we dump three or four lines of context around an error, with the carat showing the position where the error occurs.

I believe this may not be solvable in the gradle plugin; rather, I suspect this would require a change in the gosu-core[-api] JARs to provide an alternate implementation of ICompilerDriver.