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

lazy state: doesn't work with ! expressionbs #708

Closed
josephjclark opened this issue Jun 3, 2024 · 1 comment · Fixed by #710
Closed

lazy state: doesn't work with ! expressionbs #708

josephjclark opened this issue Jun 3, 2024 · 1 comment · Fixed by #710
Assignees

Comments

@josephjclark
Copy link
Collaborator

This:

fn(!$.data.x);

Compiles to this:

fn(!state => state.data.x)

Which looks wrong to me. It should compile to:

fn(state => !state.data.x)
@josephjclark josephjclark self-assigned this Jun 4, 2024
@josephjclark
Copy link
Collaborator Author

This is actually fine, I must have tested against an old compiler version or something 🤔 Merging a test to prove it

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 a pull request may close this issue.

1 participant