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

regexp comparision not properly compiled #17

Open
danielo515 opened this issue Jul 1, 2018 · 0 comments
Open

regexp comparision not properly compiled #17

danielo515 opened this issue Jul 1, 2018 · 0 comments

Comments

@danielo515
Copy link

This is valid livescript regex comparsion:

prod = /production/i != process.env.NODE_ENV

Which produces te expected following output:

var prod;
prod = !/production/i.test(process.env.NODE_ENV)

However livescript-next does not produces such output:

prod = /production/i !== process.env.NODE_ENV;

Regards

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

No branches or pull requests

1 participant