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

Better fix for new-for-builtins #1022

Merged
merged 3 commits into from Jan 16, 2021

Conversation

fisker
Copy link
Collaborator

@fisker fisker commented Jan 15, 2021

  1. Fix some edge case.
  2. Keep comments.

> Output

`␊
1 | const symbol = (Symbol)("");␊
Copy link
Collaborator Author

@fisker fisker Jan 15, 2021

Choose a reason for hiding this comment

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

This was fixed to

const symbol = Symbol)("");

> Output

`␊
1 | const symbol = /* comment */ Symbol("");␊
Copy link
Collaborator Author

Choose a reason for hiding this comment

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

This comment was removed.

> Output

`␊
1 | const symbol = Symbol();␊
Copy link
Collaborator Author

Choose a reason for hiding this comment

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

This was fixed to

const symbol = Symbol;

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants