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

Non-Boolean Conditions fix #44

Merged
merged 3 commits into from
Oct 28, 2019
Merged

Non-Boolean Conditions fix #44

merged 3 commits into from
Oct 28, 2019

Conversation

javaduke
Copy link
Contributor

An expression like [x for x in [1,2,3] if 'a'] in Jsonnet results in error "Condition must be boolean, got string" - but sjsonnet does not fail. This PR fixes it.

Eugene Berman added 2 commits October 21, 2019 12:32
An expression like [x for x in [1,2,3] if 'a'] in Jsonnet results in error "Condition must be boolean, got string" - but sjsonnet does not fail. This PR fixes it.
@lihaoyi
Copy link
Contributor

lihaoyi commented Oct 27, 2019

@javaduke can you submit the PR without all the unrelated reformatings?

@javaduke
Copy link
Contributor Author

Ah, sorry, will do. Apparently IntelliJ does all this automatically, I didn't even realize the formatting is different. Sorry about it.

@lihaoyi
Copy link
Contributor

lihaoyi commented Oct 28, 2019

Looks good, thanks!

@lihaoyi lihaoyi merged commit 4804506 into databricks:master Oct 28, 2019
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