-
Notifications
You must be signed in to change notification settings - Fork 1.9k
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
further restrict property descriptor type definitions #6316
base: main
Are you sure you want to change the base?
Conversation
It seems tests are failing because I haven't updated error offsets. How do I go about doing that? I can't find development documentation. |
Hmm, let me bring this in and check it out. I can update the tests nw 👍 |
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.
@mrkev has imported this pull request. If you are a Facebook employee, you can view this diff on Phabricator.
Could you provide some documentation that backs up the changes you made here? |
@mrkev Are you asking for me to add documentation to the PR or are you asking for me to provide you links to the sections of the spec that define the affected functions? |
The latter one 👍 in a comment here or the description of the PR is good. |
For more information about the Property Descriptor specification type, see https://tc39.github.io/ecma262/#sec-property-descriptor-specification-type.
|
@mrkev I've provided the information that you asked for here. Can we get this merged? |
@mrkev It's been another few months and I've yet again been having difficulties with Flow due to its loose typing of property descriptors. Is there anything else I can do to get this PR merged? I believe we just need to update error offsets, but there's no documentation on how to do that. |
@mrkev I run into this issue nearly every time I write code that uses Flow. The implementation work here has already been done. Is there anything I can do to get somebody to merge this? I would think the Flow team would be more concerned about incorrect descriptions of JavaScript standard library APIs. |
Ping @\maintainers. It's been another ~6 months. |
@mrkev is there a different maintainer that can look at it? It's not a very complicated change. |
Hop into the discord channel and ask there 👍 |
/cc @nmote |
Ping @nmote etc. It's been another ~6 months. |
I was getting an error on this code due to a loose definition of property descriptors:
The error message was