Skip to content

Remove unecessary hasDefault assignment #325

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

Merged
merged 1 commit into from
Dec 13, 2018

Conversation

stasm
Copy link
Contributor

@stasm stasm commented Dec 11, 2018

Fix #324. I left the hasDefault check inside of getVariant to keep the error position at the unexpected *. The alternative would be to check it in getVariants after the const variant = this.getVariant(ps) line, but that would place the error at the end of the buggy variant.

@stasm stasm requested a review from Pike December 11, 2018 10:01
Copy link
Contributor

@Pike Pike left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yeah, that's what I thought.

@stasm stasm merged commit a1e4230 into projectfluent:zeroeight Dec 13, 2018
@stasm stasm deleted the remove-hasDefault branch December 13, 2018 11:25
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.

2 participants