mirror of
https://github.com/google/go-jsonnet.git
synced 2025-08-09 15:57:10 +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
11 lines
267 B
Plaintext
11 lines
267 B
Plaintext
RUNTIME ERROR: function expected 1 argument(s), but got 2
|
|
-------------------------------------------------
|
|
testdata/bad_function_call_and_error:1:1-38 $
|
|
|
|
(function(x) x)(error "x", error "y")
|
|
|
|
-------------------------------------------------
|
|
During evaluation
|
|
|
|
|