Closed brettviren closed 3 years ago
This junk.jsonnet file:
junk.jsonnet
function(var=10) std.range(0, var-1)
compiled like:
$ moo -A var=5 compile junk.jsonnet
Gives
RuntimeError: RUNTIME ERROR: binary operator - requires matching types, got string and number.
The 5 is not being interpreted into an integer but is wrongly kept as a string.
5
This
junk.jsonnet
file:compiled like:
Gives
The
5
is not being interpreted into an integer but is wrongly kept as a string.