leafo/moonscript — pull request #124 by Eloff (2014-01-05 06:35:42+00:00)
Title: Stop swallowing errors on require

The moonloader returns the same nil, err when there's an error loading a file as it does when the file isn't found (and hence the next loader should be tried.)

I wasted a couple hours trying to figure out why my moon files were not being found, when in actual fact they were, but had a syntax error. I think it's better to just raise the error when it happens.