-
Notifications
You must be signed in to change notification settings - Fork 153
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Bump ecmarkup and enable "user code" annotation #2125
Conversation
Codecov Report
@@ Coverage Diff @@
## main #2125 +/- ##
=======================================
Coverage 92.19% 92.19%
=======================================
Files 19 19
Lines 10928 10928
Branches 1571 1571
=======================================
Hits 10075 10075
Misses 835 835
Partials 18 18
Flags with carried forward coverage won't be shown. Click here to find out more. Continue to review full report at Codecov.
|
I think the codecov bot is broken. |
No, just really slow to execute test262 tests 😛 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks!
This might be obvious if I look at the documentation for the user code feature in ecmarkup, but should we be specifically annotating when a call site marked "UC" cannot call into user code? e.g. CreateTemporalDate does not call into user code when newTarget is absent, and there are places in the spec text where it is called without a newTarget.
The heuristic ecmarkup uses is that if you are calling something which normally triggers user code, but are using If you are calling something which can sometimes invoke user code in such a way that it cannot invoke user code in this particular usage, but can still throw, you will need to manually suppress the effect, yes. |
cc @gibson042
See tc39/ecma262#2548 for a description of the annotation. The relevant information is now propagated in the biblio, so it can be used in proposals. In ecmarkup the annotation off by default because it may require manual annotation to be correct, but I've enabled it in this PR: I don't think any sites in this PR need annotation - there's no use of
[[Get]]
and friends directly, no weird stuff with generators, etc. (I didn't review extremely carefully, though.)Also
​
hack.