js-on-sx: JS functions accept extra args silently
Some checks failed
Test, Build, and Deploy / test-build-deploy (push) Failing after 22s
Some checks failed
Test, Build, and Deploy / test-build-deploy (push) Failing after 22s
SX strictly arity-checks lambdas; JS allows passing more args than declared (extras accessible via arguments). Was raising "f expects 1 args, got 2" whenever Array.from passed (value, index) to a 1-arg mapFn. Fixed in js-build-param-list: every JS param list now ends with &rest __extra_args__ unless an explicit rest is present, so extras are silently absorbed. conformance.sh: 148/148.
This commit is contained in:
@@ -56,6 +56,6 @@
|
||||
]
|
||||
],
|
||||
"pinned_commit": "d5e73fc8d2c663554fb72e2380a8c2bc1a318a33",
|
||||
"elapsed_seconds": 146.9,
|
||||
"elapsed_seconds": 154.6,
|
||||
"workers": 1
|
||||
}
|
||||
Reference in New Issue
Block a user