Skip to content

Commit

Permalink
Editorial: Adapt to new HostEnsureCanCompileStrings (#400)
Browse files Browse the repository at this point in the history
As of tc39/ecma262#3222 the signature of
HostEnsureCanCompileStrings changed. This adapts to the new signature by
pulling in the latest version of ecma262-biblio and adding the missing
arguments.

Closes: #367
  • Loading branch information
ptomato authored Feb 16, 2024
1 parent fa39ea4 commit 8e951a7
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
"watch": "npm run build -- --watch"
},
"devDependencies": {
"@tc39/ecma262-biblio": "=2.1.2639",
"@tc39/ecma262-biblio": "=2.1.2687",
"ecmarkup": "^18.0.0"
}
}
2 changes: 1 addition & 1 deletion spec.html
Original file line number Diff line number Diff line change
Expand Up @@ -311,7 +311,7 @@ <h1>
<dd>...</dd>
</dl>
<emu-alg>
1. Perform ? HostEnsureCanCompileStrings(_evalRealm_).
1. Perform ? HostEnsureCanCompileStrings(_evalRealm_, « », _sourceText_, *false*).
1. Perform the following substeps in an implementation-defined order, possibly interleaving parsing and error detection:
1. Let _script_ be ParseText(StringToCodePoints(_sourceText_), |Script|).
1. If _script_ is a List of errors, throw a *SyntaxError* exception.
Expand Down

0 comments on commit 8e951a7

Please sign in to comment.