fix: JS backend compiles print() to console.log()

Bare `print()` calls in Lux now emit `console.log()` in JS output
instead of undefined `print()`. Fixes BUG-006.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
2026-02-18 21:05:23 -05:00
parent 0ee3050704
commit d05b13d840
2 changed files with 5 additions and 1 deletions

2
Cargo.lock generated
View File

@@ -770,7 +770,7 @@ dependencies = [
[[package]]
name = "lux"
version = "0.1.0"
version = "0.1.1"
dependencies = [
"lsp-server",
"lsp-types",