From bcd7751f1ac3f11467c9c40bab21447a79c3afb0 Mon Sep 17 00:00:00 2001 From: nandi Date: Thu, 26 Nov 2026 11:12:06 +0000 Subject: [PATCH] wasmhost: replace removed partial-application syntax (Str(_)) Current MoonBit (0.1.20261126) rejects f(_) partial application, so build-wasmhost.sh failed. Co-Authored-By: Claude Opus 5.5 Claude-Session: https://claude.ai/code/session_01DPL5hkMiWbNDLzKrZvtZWu --- 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). -- 2.54.1