wasmhost: fix build on current MoonBit (Str(_) partial application) #2

Merged
nandi merged 1 commits from fix/moon-partial-application into main 2026-11-26 11:21:16 +00:00
+1 -1
View File
@@ -32,7 +32,7 @@ pub fn Val::bytes(b : Bytes) -> Val {
///| A `list<string>`. ///| A `list<string>`.
pub fn Val::strings(a : Array[String]) -> Val { 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). ///| Record field `name` (records are looked up by name, not position).