mirror of
https://github.com/google/go-jsonnet.git
synced 2025-12-24 10:31:05 +01: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
6 lines
128 B
Plaintext
6 lines
128 B
Plaintext
testdata/object_comp_assert:1:32-35 Object comprehension cannot have asserts.
|
|
|
|
{ assert self.x == 5, ["x"]: 5 for i in [42] }
|
|
|
|
|