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

Upgrade selfhosted compilation to beta.2 #6318

Closed

Conversation

loganfsmyth
Copy link
Member

Q                       A
Fixed Issues
Patch: Bug Fix? Y
Major: Breaking Change? N
Minor: New Feature?
Tests Added/Pass?
Spec Compliancy?
License MIT
Doc PR
Any Dependency Changes?
  1. Fixed a bug in the typeof-symbol transform that I introduced in https://github.com/babel/babel/pull/5706/files#diff-08e96049279b483e87c80d84a7de5166R36
  2. Upgrade Babel to selfhost with the most recent beta, with a small workaround for the previously-mentioned bug.

@@ -33,7 +33,9 @@ export default function({ types: t }) {
const isUnderHelper = path.findParent(path => {
return (
(path.isVariableDeclarator() && path.node.id === helper) ||
(path.isFunctionDeclaration() && path.node.id.name === helper.name)
Copy link
Member

Choose a reason for hiding this comment

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

We need this for instanceof, too.

Copy link
Member Author

Choose a reason for hiding this comment

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

good catch, thanks!

@loganfsmyth
Copy link
Member Author

Okay this is blocked on istanbuljs/istanbuljs#92

@loganfsmyth
Copy link
Member Author

Gonna close until we get the coverage bug fixed.

@loganfsmyth loganfsmyth changed the title Upgrade selfhosted compilation to beta.2, and fix transform bug. Upgrade selfhosted compilation to beta.2 Sep 26, 2017
@lock lock bot added the outdated A closed issue/PR that is archived due to age. Recommended to make a new issue label Oct 5, 2019
@lock lock bot locked as resolved and limited conversation to collaborators Oct 5, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
outdated A closed issue/PR that is archived due to age. Recommended to make a new issue
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants