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 some tests for non-identifiers in export/imports #2536

Open
4 tasks done
wooorm opened this issue Sep 13, 2024 · 1 comment
Open
4 tasks done

Add some tests for non-identifiers in export/imports #2536

wooorm opened this issue Sep 13, 2024 · 1 comment

Comments

@wooorm
Copy link
Member

wooorm commented Sep 13, 2024

Initial checklist

Affected packages and versions

all, probably

Link to runnable example

No response

Steps to reproduce

import { 'alpha-bravo' as charlieDelta } from 'echo'
export { 'foxtrot-golf' as 'hotel-india' } from 'juliet'

Expected behavior

should work, somehow, probably.

Actual behavior

davidbonnet/astring#713

Runtime

No response

Package manager

No response

OS

No response

Build and bundle tools

No response

@wooorm
Copy link
Member Author

wooorm commented Sep 13, 2024

I confirmed on the playground that this now compiles to the broken code:

import {undefined as charlieDelta} from 'echo';
export {undefined} from 'juliet';

…due to the astring bug

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

No branches or pull requests

1 participant