From 5474abbcc5e594d2c241ec4d63dfb4184b1b449f Mon Sep 17 00:00:00 2001 From: InauguralPhysicist Date: Sun, 12 Jul 2026 14:20:08 -0500 Subject: [PATCH] =?UTF-8?q?fix(wasm):=20pass=20source=20to=20compile=5Fast?= =?UTF-8?q?=20=E2=80=94=20playground=20build=20drift=20from=20#541?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit PR #541 (#407 runtime caret spans) added a third `src` parameter to compile_ast; web/eigs_wasm.c (built only by the Docs site workflow's emcc job) was not updated, so every main push since 2026-07-11 failed the WASM playground build. Pass the run's source, matching main.c, repl.c, and eigs_embed.c. Co-Authored-By: Claude Fable 5 --- web/eigs_wasm.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/web/eigs_wasm.c b/web/eigs_wasm.c index 32254497..a05441b5 100644 --- a/web/eigs_wasm.c +++ b/web/eigs_wasm.c @@ -72,7 +72,7 @@ int eigs_run_source(const char *source) { } g_compile_module_slots = 1; - EigsChunk *script_chunk = compile_ast(ast, global); + EigsChunk *script_chunk = compile_ast(ast, global, source); g_compile_module_slots = 0; Value *result = vm_execute(script_chunk, global);