js-on-sx: global eval(src) actually evaluates the source
Some checks failed
Test, Build, and Deploy / test-build-deploy (push) Failing after 51s

Was returning the input unchanged: eval('1+2') gave "1+2".
Per spec, eval(string) parses and evaluates as JS; non-string
passes through. Wired through js-eval (existing
lex/parse/transpile/eval pipeline).
built-ins/String fail count 13 → 11. conformance.sh: 148/148.
This commit is contained in:
2026-05-08 08:44:34 +00:00
parent 1b7bb5ad1f
commit 7a898567e4
4 changed files with 48 additions and 42 deletions

View File

@@ -1,37 +1,37 @@
{
"totals": {
"pass": 23,
"fail": 20,
"skip": 5,
"timeout": 2,
"total": 50,
"runnable": 45,
"pass_rate": 51.1
"pass": 80,
"fail": 11,
"skip": 1,
"timeout": 8,
"total": 100,
"runnable": 99,
"pass_rate": 80.8
},
"categories": [
{
"category": "built-ins/Array",
"total": 50,
"pass": 23,
"fail": 20,
"skip": 5,
"timeout": 2,
"pass_rate": 51.1,
"category": "built-ins/String",
"total": 100,
"pass": 80,
"fail": 11,
"skip": 1,
"timeout": 8,
"pass_rate": 80.8,
"top_failures": [
[
"Test262Error (assertion failed)",
17
],
[
"TypeError: not a function",
2
9
],
[
"Timeout",
2
8
],
[
"Unhandled: Not callable: {:2 43 :1 42 :0 41 :length 3}\\",
"ReferenceError (undefined symbol)",
1
],
[
"SyntaxError (parse/unsupported syntax)",
1
]
]
@@ -40,22 +40,22 @@
"top_failure_modes": [
[
"Test262Error (assertion failed)",
17
],
[
"TypeError: not a function",
2
9
],
[
"Timeout",
2
8
],
[
"Unhandled: Not callable: {:2 43 :1 42 :0 41 :length 3}\\",
"ReferenceError (undefined symbol)",
1
],
[
"SyntaxError (parse/unsupported syntax)",
1
]
],
"pinned_commit": "d5e73fc8d2c663554fb72e2380a8c2bc1a318a33",
"elapsed_seconds": 160.3,
"elapsed_seconds": 507.4,
"workers": 1
}