mirror of
https://github.com/google/go-jsonnet.git
synced 2025-10-01 10:21:15 +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
314 B
Plaintext
16 lines
314 B
Plaintext
RUNTIME ERROR: xxx
|
|
-------------------------------------------------
|
|
testdata/error_from_array:1:2-12 thunk from <$>
|
|
|
|
[error "xxx"][0]
|
|
|
|
-------------------------------------------------
|
|
testdata/error_from_array:1:1-17 $
|
|
|
|
[error "xxx"][0]
|
|
|
|
-------------------------------------------------
|
|
During evaluation
|
|
|
|
|