mirror of
https://github.com/google/go-jsonnet.git
synced 2025-08-11 00:37:12 +02:00
* 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
16 lines
368 B
Plaintext
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
|
|
|
|
|