-
Notifications
You must be signed in to change notification settings - Fork 12
Waldemar's stage 3 review #54
Comments
Thanks for the thorough review, Waldemar! We’ll work on addressing these. |
Fixed in tc39/ecma262@d0fd9b7.
PR: mathiasbynens/ecma262#7 by @markusicu
PR: mathiasbynens/ecma262#7 by @markusicu
Patch: mathiasbynens/ecma262#6 |
I have addressed the remaining two items in mathiasbynens/ecma262#7, please review those changes.
and
|
Looks good. |
Thanks for your review, and for also reviewing our patches addressing your review feedback, Waldemar! |
Here's my stage 3 review. I found typos and simple issues which should be trivially fixable.
Some typos spawning infinite loops; ClassContents should be the other nonterminal in these:
ClassContents :: ClassUnion
ClassContents :: ClassIntersection
ClassContents :: ClassSubtraction
The "or" at the end makes this sentence ambiguous:
This sentence is confusing and can be interpreted that AllCharacters is the set of all characters even if neither u nor v is set. But in that case AllCharacters should be the set of all 16-bit code points. The deleted old wording explained this better. This should either reference the unusual meaning of "character" in the sense of pattern semantics here or mention the BMP case directly:
MatchSequence(m1, m2) references a free variable direction which is not defined. Please add and pass direction as a third parameter.
MaybeSimpleCaseFolding algorithm: I don't like S starting as a copy of A. This causes problems for folks reading the spec because it's hard to reason about what the Remove on step 3.c.i will do without intimate knowledge of scf's implementation which is not provided in the ECMAScript spec — for example, if you don't know how scf is implemented, you can't rule out step 3.c.i removing something previously added by step 3.c.ii, which would make this algorithm dependent on the iteration order of a mathematical set. To avoid these issues, the algorithm should start with S empty and step 3.c should just add t to S if it's not already there.
The text was updated successfully, but these errors were encountered: