wasmhost: replace removed partial-application syntax (Str(_))
CI / test (pull_request) Failing after 19m24s
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:
1 file changed
+1
-1
+1
-1
@@ -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).
|
||||||
|
|||||||
Reference in new issue
Block a user