Skip to content

Correct an Opal v1.4 compatibility issue #96

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 3 commits into from
Dec 22, 2021
Merged

Correct an Opal v1.4 compatibility issue #96

merged 3 commits into from
Dec 22, 2021

Conversation

hmdne
Copy link
Member

@hmdne hmdne commented Dec 22, 2021

This is related to our output size fixes in Opal 1.4. This piece of code is collapsed into a ternary expression. It would be best if we could correct this behavior in Opal, but I don't think we will before the release... It's a hard problem to detect a statement in an x-string and if expression is expected to wrap it in a closure (aka IIFE). And also there's a lot of incompatibilities possible either way.

@hmdne
Copy link
Member Author

hmdne commented Dec 22, 2021

Great! Let's merge :D

@hmdne hmdne merged commit 62cc470 into master Dec 22, 2021
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.

1 participant