-
Notifications
You must be signed in to change notification settings - Fork 15
Spec reviewer signoff #32
Comments
It seems that some of the new methods lack the |
Could intersection/union perhaps make use of https://tc39.github.io/ecma262/#sec-add-entries-from-iterable ? |
This comment has been minimized.
This comment has been minimized.
Thanks for the quick review!
I left those out because some of these call out to the underlying
Interesting idea. I think it'd be better to create a similar
Fixed in #33. |
Even if you monkeypatch those methods, you'll still be subclassing Set, so you'll still have the internal slot - are these methods that would be useful to Sure! It'd be really nice to have shared steps and avoid duplication. |
(I just put up tc39/ecma262#1373 ; if that lands, then it'll be slightly less boilerplate for you to have this check on all the Set methods :-D ) |
I'll try to do this soon. Do you have a timescale for this? E.g. are you hoping to present at the January meeting? |
Thanks! Yes, I'm hoping to present this in January and ask for Stage 3. |
Just finished my review. Nitpick: I would use the same variable naming conventions as the existing spec, for example: newSet => S (or change the spec to the much nicer newSet). Everything else that stood out has already been mentioned here or in #35, so I will consider my review complete. |
After all the discussion in #41, I think we've decided keep this generic.
Done, here #47.
Thanks @rwaldron! Sounds good, I'll update the ES262 spec when I integrate this as part of Stage 4. |
@bakkot, @tabatkins, @michaelficarra -- I think the spec is in a really good shape now (with @bakkot's concerns being addressed). Please do review and let me know if there are any issues. I'd like to present this for Stage 3 at the January meeting. |
LGTM. I continue to disagree on #43, but I've made my case. If you can get consensus from the rest of the committee on the current eager behavior, the spec text for it seems fine. I also want to note explicitly that this doesn't do the fall-back-to-iterator thing for the receiver of |
Thanks. I definitely plan to bring this up to the committee during my presentation.
ACK |
@gsathya Can you summarise the design changes (and their implications) that resulted from all of the recent discussions? I'm unsure whether we've reached enough stability in the design to ask for stage 3 yet. |
Sure, I'll update this issue once I make this summary for my TC39 presentation.
Yeah, fair enough. I doubt we can come to consensus on #50 by next week |
This got stage 3! Cleaning up old issues. |
Part of the stage 2 → 3 requirements is signoff from the official spec reviewers. Please review!
The text was updated successfully, but these errors were encountered: