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

Add test for other babel reexport checks #42

Closed
wants to merge 2 commits into from

Conversation

guybedford
Copy link
Collaborator

I was just testing out star exports on the Babel repl, and noticed these two cases likely also aren't yet supported.

I wonder how many other variations we're missing from past versions!

// cc @nicolo-ribaudo

@nicolo-ribaudo
Copy link
Contributor

nicolo-ribaudo commented Mar 9, 2021

Oh it looks like this isn't from an old version, it's the current (7.13.10) output when using export * from: repl!

(I wanted to see if this tests currently fails, but it looks like CI is disabled in PRs 🤔)

@guybedford
Copy link
Collaborator Author

(I wanted to see if this tests currently fails, but it looks like CI is disabled in PRs 🤔)

You can now see the failure explicitly :)

@nicolo-ribaudo
Copy link
Contributor

nicolo-ribaudo commented Mar 10, 2021

Do you need help implementing support for this? I have some free time today/tomorrow.

@guybedford
Copy link
Collaborator Author

@nicolo-ribaudo if you can that would be a great help.

@guybedford
Copy link
Collaborator Author

@nicolo-ribaudo I've ended up just finding some time to look at this now, so if you haven't started yet I'll see what I can do, or if you have let me know how far you are.

@nicolo-ribaudo
Copy link
Contributor

I haven't started yet, feel free to go ahead 👍

@guybedford
Copy link
Collaborator Author

The problem here turned out to be the nested blocks! We only run this detection at the top-level.

@guybedford guybedford closed this Mar 11, 2021
@guybedford guybedford deleted the babel-reexport-checks branch March 11, 2021 11:23
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