Many exceptions in the compiler are simply std::runtime_error and carry very
little descriptive information. Improve this by throwing InternalException or
some other descriptive type, providing at least passable messages, and
documenting the causes and fixes for each exception in code comments.
See all code locations marked with the comment:
// TODO - better exceptions
Original issue reported on code.google.com by don.ap...@gmail.com on 15 Feb 2012 at 7:49
Original issue reported on code.google.com by
don.ap...@gmail.com
on 15 Feb 2012 at 7:49