Skip to content

Treesitter panic when procedure contains space after semicolon #769

Description

@gintsgints

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

Bug is repeatable with test in my fork -
main...gintsgints:postgres-language-server:func_with_leading_space_fails

To Reproduce

Execute provided test

Expected behavior

Server should not panic.

System information

  • OS: macOS

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions