wasmhost: replace removed partial-application syntax (Str(_))
CI / test (pull_request) Failing after 19m24s

Current MoonBit (0.1.20261126) rejects f(_) partial application, so build-wasmhost.sh failed.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01DPL5hkMiWbNDLzKrZvtZWu
This commit is contained in:
nandiandClaude Opus 5.5 committed 2026-11-26 11:12:06 +00:00
1 parent 7912a0b32b
commit bcd7751f1a
1 file changed
+1 -1
+1 -1
View File
@@ -32,7 +32,7 @@ pub fn Val::bytes(b : Bytes) -> Val {
///| A `list<string>`.
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).