go-jsonnet/testdata/error_from_func.golden
Stanisław Barzowski c3459153df Location, error formatting and stack trace improvements (#59)
* Location, error formatting and stack trace improvements

* Static context for AST nodes
* Thunks no longer need `name`
* Prototype for showing snippets in error messages (old format still
available)
* Use ast.Function to represent methods and local function sugar.
* Change tests so that the error output is pretty
2017-10-03 14:27:44 -04:00

16 lines
368 B
Plaintext

RUNTIME ERROR: xxx
-------------------------------------------------
testdata/error_from_func:1:25-32 function <foo>
local foo = function(x) error x; foo("xxx")
-------------------------------------------------
testdata/error_from_func:1:34-44 $
local foo = function(x) error x; foo("xxx")
-------------------------------------------------
During evaluation