go-jsonnet/testdata/lazy.jsonnet
Stanisław Barzowski fe62ec46a8 Improve imports (#66)
* Improve imports

* Nonexistent file is now a runtime error (used to be ignored)
* Permission denied is a runtime error (used to be an internal error)
* Basic tests added for imports
* Renamed tests from .input to .jsonnet
	* It's standard
	* It's compatible with C++ test suite
	* Editors enable syntax highlighting based on extension
	* Importing .input looks weird
2017-09-22 18:03:00 -04:00

1 line
66 B
Jsonnet

local x = {'x': error "blah"}, f = function(x) 42, z = x.x; f(x.x)