moonsharp-devs / moonsharp

An interpreter for the Lua language, written entirely in C# for the .NET, Mono, Xamarin and Unity3D platforms, including handy remote debugger facilities.
http://www.moonsharp.org
Other
1.42k stars 214 forks source link

Unhelpful error message from loadfile method #107

Closed xanathar closed 9 years ago

xanathar commented 9 years ago

The error message returned by loadfile (and similars) is unhelpful, not containing the correct source reference.

See https://groups.google.com/forum/#!topic/moonsharp/zkAzoq4jiGY

xanathar commented 9 years ago

Fixed on master. Admittedly not deeply tested :flushed: