JimmyCushnie / JECS

Jimmy's Epic Config System
Do What The F*ck You Want To Public License
154 stars 16 forks source link

Proper error messages + other polish #38

Closed JimmyCushnie closed 2 years ago

JimmyCushnie commented 2 years ago

With this PR, SUCC finally has helpful errors! There are two kinds:

Both error types provide the path to the file with the error and the line number on which the error occurred, making it easy to track down problems. There is extensive test coverage to make sure the proper errors are thrown when they should be.

And thus, #9 is finally closed. I believe this is a new personal record for longest time between opening an issue and closing it. Almost three years -- over half the total time I've been a programmer!

This PR also includes various miscellaneous refactoring and code cleanup, as I continue to polish up the work of a younger, dumber me. Most notably, the code for handling collection types has been significantly improved in preparation for #35.