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

parser_codegen!() panics #126

Open
2 tasks done
cospectrum opened this issue Jul 2, 2024 · 0 comments
Open
2 tasks done

parser_codegen!() panics #126

cospectrum opened this issue Jul 2, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@cospectrum
Copy link

Bug report

  • I confirm this is a bug with Supabase, not with my own application.
  • I confirm I have searched the Docs, GitHub Discussions, and Discord.

Describe the bug

Panic during parsing

.../vim/lsp/rpc.lua:770   "rpc"   "/Users/user/.cargo/bin/postgres_lsp"   "stderr"
"thread 'main' panicked at crates/parser/src/codegen.rs:3:1:
Unknown AExpr kind AexprBetween

To Reproduce

Steps to reproduce the behavior, please provide code snippets or a repository:

  1. git clone https://github.com/supabase-community/postgres_lsp.git && cd postgres_lsp
  2. git submodule update --init --recursive
  3. cargo xtask install (or cargo xtask install --server)
  4. edit the nvim config according to the doc
  5. open the sql file with nvim

Expected behavior

No panic

System information

  • OS: macOS
  • nvim: v0.10.0, build type: Release, LuaJIT 2.1.1713773202
@cospectrum cospectrum added the bug Something isn't working label Jul 2, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant