Skip to content

range/3 behaviour when $init and $upto arguments are not numbers #3116

@wader

Description

@wader
  • range(0;[];1) keeps outputting increasingly forever (also with {} because how < work i guess)
  • range([];0;1) outputs nothing.

gojq errors for both, jaq behave the same as jq it seems. Think i would expect it to thrown some kind of error on non-number arguments, same as range/1 and range/2 do already.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions