You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The function for std.clamp does not appear to be defined. Indeed when looking in linter/internal/types/stdlib.go there does not seem to be a definition for clamp.
jsonnet-linter deb Release version 0.20
Error behavior:
../jsonnet-lint/usr/bin/jsonnet-lint -J . test.libsonnet
test.libsonnet:10:1-10 Indexed object has no field "clamp"
std.clamp(0.5, 0.0, 1.0)
test.libsonnet:10:1-25 Called value must be a function, but it is assumed to be void
std.clamp(0.5, 0.0, 1.0)
Expected behavior: std.clamp in the above statement would lint cleanly.
The text was updated successfully, but these errors were encountered:
The function for std.clamp does not appear to be defined. Indeed when looking in linter/internal/types/stdlib.go there does not seem to be a definition for clamp.
jsonnet-linter deb Release version 0.20
Error behavior:
Expected behavior: std.clamp in the above statement would lint cleanly.
The text was updated successfully, but these errors were encountered: