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

Compile crash on from {} #4317

Open
2 tasks done
vanillajonathan opened this issue Mar 7, 2024 · 0 comments
Open
2 tasks done

Compile crash on from {} #4317

vanillajonathan opened this issue Mar 7, 2024 · 0 comments
Labels
bug Invalid compiler output or panic

Comments

@vanillajonathan
Copy link
Collaborator

vanillajonathan commented Mar 7, 2024

What happened?

When using from {} or from [] the compiler crashes.

The application panicked (crashed).
Message:  called `Option::unwrap()` on a `None` value
Location: prqlc/prqlc/src/semantic/resolver/functions.rs:279

PRQL input

from {}

SQL output

-- None

Expected SQL output

No response

MVCE confirmation

  • Minimal example
  • New issue

Anything else?

No response

@vanillajonathan vanillajonathan added the bug Invalid compiler output or panic label Mar 7, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Invalid compiler output or panic
Projects
None yet
Development

No branches or pull requests

1 participant