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

Added static to reserved key words for flow. #127

Merged
merged 2 commits into from
Feb 2, 2022

Conversation

nidhisadanand
Copy link
Contributor

Issue : #88

If foo.thrift imports static.thrift and tries to import all from static.thrift it imports it as
import * as static from './static';

which causes this error
SyntaxError: unknown: Unexpected reserved word 'static'.

@CLAassistant
Copy link

CLAassistant commented Jan 29, 2022

CLA assistant check
All committers have signed the CLA.

@lhorie
Copy link
Contributor

lhorie commented Feb 2, 2022

Can you add a test?

@nidhisadanand
Copy link
Contributor Author

Can you add a test?

@lhorie - added the tests

@chrisdothtml chrisdothtml merged commit aa4e4c2 into uber-web:master Feb 2, 2022
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.

4 participants