Skip to content
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

Print ObjectTypeInternalSlot with both flow/babel parsers #4869

Merged
merged 4 commits into from Aug 8, 2018
Merged

Conversation

existentialism
Copy link
Collaborator

@existentialism existentialism commented Jul 21, 2018

Fixes #4903

Now that facebook/flow#6320 has landed, we can add support for ObjectTypeInternalSlot!

WIP while waiting for flow-parser@0.77 to hit npm (it's tagged).

Ref:
facebook/flow@732eae5
babel/babel#7947
babel/babel#7959

@existentialism existentialism added the status:wip Pull requests that are a work in progress and should not be merged label Jul 21, 2018
return concat([
n.static ? "static " : "",
"[[",
path.call(print, "id"),
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

What happens if the identifier goes past the printWidth?

@ikatyang
Copy link
Member

Opened facebook/flow#6652 to ask for the flow-parser@0.77 release.

@dashed
Copy link

dashed commented Aug 4, 2018

@ikatyang flow-parser@v0.78.0 is now published. Could that be used instead?

@existentialism existentialism removed the status:wip Pull requests that are a work in progress and should not be merged label Aug 6, 2018
@ikatyang ikatyang added this to the 1.14.1 milestone Aug 7, 2018
@suchipi suchipi merged commit 1391891 into master Aug 8, 2018
@existentialism existentialism deleted the flow77 branch August 8, 2018 15:27
@lock lock bot added the locked-due-to-inactivity Please open a new issue and fill out the template instead of commenting. label Nov 6, 2018
@lock lock bot locked as resolved and limited conversation to collaborators Nov 6, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
locked-due-to-inactivity Please open a new issue and fill out the template instead of commenting.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

5 participants