asm-js / validator

A reference validator for asm.js.
Apache License 2.0
1.78k stars 148 forks source link

provide source locations for errors #21

Closed dherman closed 11 years ago

dherman commented 11 years ago

The error messages should provide source locations for better diagnostics. This could be done by tracking the current location statefully to avoid API proliferation, but we'll have to deal with fail being called from lots of different modules that may not have access to the state.

dherman commented 11 years ago

3b7bb1bcb8d85ba35bec67dcf3b9096ec49eda6f