tvix: builtins.split "" "foo" OOMs

#449
Opened by sterni at 2025-08-19T14·24+00

In Tvix, the following expression OOMs (both WASM and native targets):

builtins.split "" "foo"

It is valid and should return:

[
  ""
  [ ]
  "f"
  [ ]
  "o"
  [ ]
  "o"
  [ ]
  ""
]

(Lix/C++ Nix)

  1. cl/13659

    sterni at 2025-08-19T21·25+00

  2. sterni closed this issue at 2025-08-20T11·38+00