Skip to content

Commit

Permalink
Editorial: Fix the return-type of CompilePattern (tc39#2698)
Browse files Browse the repository at this point in the history
PR tc39#1713 changed the signature of the Abstract Closure
created+returned by CompilePattern,
but didn't make the corresponding change
to the return-type in the section heading.
  • Loading branch information
jmdyck authored and ljharb committed Mar 27, 2022
1 parent 67d3295 commit 700b994
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion spec.html
Original file line number Diff line number Diff line change
Expand Up @@ -35082,7 +35082,7 @@ <h1>Notation</h1>
</emu-clause>

<emu-clause id="sec-compilepattern" type="sdo" oldids="sec-pattern">
<h1>Runtime Semantics: CompilePattern ( ): an Abstract Closure that takes a String and a non-negative integer and returns a MatchResult</h1>
<h1>Runtime Semantics: CompilePattern ( ): an Abstract Closure that takes a List of characters and a non-negative integer and returns a MatchResult</h1>
<dl class="header">
</dl>
<emu-grammar>Pattern :: Disjunction</emu-grammar>
Expand Down

0 comments on commit 700b994

Please sign in to comment.