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

We should error if calling an imported namespace #446

Closed
Victorystick opened this issue Jan 12, 2016 · 0 comments · Fixed by #451
Closed

We should error if calling an imported namespace #446

Victorystick opened this issue Jan 12, 2016 · 0 comments · Fixed by #451

Comments

@Victorystick
Copy link
Contributor

This isn't valid. We should reject it.

import * as foo from 'foo';
foo();
Rich-Harris added a commit that referenced this issue Jan 19, 2016
Rich-Harris added a commit that referenced this issue Jan 19, 2016
error if namespace is called
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant