tvix/eval: import ../../
returns <<primop>>
; should be an error
#202
Opened by aspen at
❯ cargo r -- --display-ast --dump-bytecode --trace-runtime Finished dev [unoptimized + debuginfo] target(s) in 0.07s Running `target/debug/tvix-eval --display-ast --dump-bytecode --trace-runtime` tvix-repl> import ../../ Ident(Ident(NODE_IDENT@0..6)) === compiled toplevel @ 0x55c21608e240 (2 ops) === 0x0 1 OpConstant(<<primop>>@0) 0x1 | OpForce === entering thunk frame[1] @ 0x7ffd5a592b78 === 0001 OpConstant(ConstantIdx(0)) [ ] 0002 OpForce [ <<primop>> ] === exiting frame 1 === => <<primop>> :: lambda
This might be an rnix bug, I've brought it up in their Matrix channel.
tazjin at 2022-10-08T21·17+00
https://github.com/nix-community/rnix-parser/issues/146
tazjin at 2022-10-08T23·15+00
https://github.com/nix-community/rnix-parser/pull/159
sterni at 2023-06-26T17·49+00