Robert Krimen
aef9bfcb9a
Fix "memory leak" by gelcapping panic values with _exception
...
Basically, the Go runtime sees the gelcap shell of the exception,
which dissolves (payload is set to nil) once we catch the error.
This prevents the Go runtime from hanging onto a heavy object for the
panic log (or whatever it is doing with the panic value).
This fixes #59
2014-02-21 18:24:07 -08:00
Robert Krimen
4ebf6416d0
Fix Uint32 Array/String indexing
...
Also, a bunch of toValue_* streamlining
And maybe a few miscellaneous tweaks
2013-06-22 15:49:22 +02:00
Robert Krimen
73bf2f9fa8
Implement return/break/continue without panic/recover
...
This fixes #25
2013-06-13 22:17:04 -07:00
Robert Krimen
d5ced8c71f
Slightly better error return on an uncaught panic
2013-04-20 22:30:27 -07:00
Robert Krimen
20d2e8bba6
gofmt
...
Ugh.
2013-01-25 09:59:42 -08:00
Robert Krimen
30a04e1992
URIError => SyntaxError
2012-11-15 16:06:13 -08:00
Robert Krimen
776f4f96c5
Catch *_syntaxError
2012-10-11 21:44:56 -07:00
Robert Krimen
c6e45a7118
Change getIdentifierReference to accept a node argument
...
To track/report where errors are coming from
2012-10-09 17:26:08 -07:00
Robert Krimen
ade6a169be
Partially fix ReferenceError origin reporting
2012-10-09 17:19:29 -07:00
Robert Krimen
326264ae3e
Line tracking for error reporting
2012-10-09 16:41:45 -07:00
Robert Krimen
4a8c7ffc00
Initial commit
2012-10-05 18:47:53 -07:00