From 0bc87b2a8b4d80280a92a34eaf5a81f83c590706 Mon Sep 17 00:00:00 2001 From: Claude Date: Thu, 26 Nov 2026 11:20:19 +0000 Subject: [PATCH] wasmhost: build on MoonBit 0.1.20261126 (no `f(_)` partial application) Today's moon removed the `f(a, _, b)` partial-application syntax, so wasmhost/wt/val.mbt failed to compile and the host couldn't be built. Co-Authored-By: Claude Opus 5.5 Claude-Session: https://claude.ai/code/session_01DPL5hgr6CYxRpahHeEsEqZ --- wasmhost/wt/val.mbt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wasmhost/wt/val.mbt b/wasmhost/wt/val.mbt index 280e8cb..2080741 100644 --- a/wasmhost/wt/val.mbt +++ b/wasmhost/wt/val.mbt @@ -32,7 +32,7 @@ pub fn Val::bytes(b : Bytes) -> Val { ///| A `list`. pub fn Val::strings(a : Array[String]) -> Val { - List(a.map(Str(_))) + List(a.map(s => Str(s))) } ///| Record field `name` (records are looked up by name, not position).