fix: preserve string context in + operator

This commit is contained in:
2026-02-13 19:44:37 +08:00
parent 3aee3c67b9
commit df4edaf5bb
3 changed files with 49 additions and 8 deletions

View File

@@ -1,15 +1,15 @@
[no-exit-message]
@repl:
RUST_LOG=none,nix_js=debug cargo run --bin repl
RUST_LOG=none cargo run --bin repl
[no-exit-message]
@eval expr:
RUST_LOG=none,nix_js=debug cargo run --bin eval -- '{{expr}}'
RUST_LOG=none cargo run --bin eval -- '{{expr}}'
[no-exit-message]
@replr:
RUST_LOG=info cargo run --bin repl --release
RUST_LOG=none cargo run --bin repl --release
[no-exit-message]
@evalr expr:
RUST_LOG=silent cargo run --bin eval --release -- '{{expr}}'
RUST_LOG=none cargo run --bin eval --release -- '{{expr}}'