Skip to content

editor: Prevent panic in lsp_symbols_at_cursor with diff hunks handling#51077

Merged
Veykril merged 2 commits intomainfrom
veykril/push-uytznqlrmsmp
Mar 9, 2026
Merged

editor: Prevent panic in lsp_symbols_at_cursor with diff hunks handling#51077
Veykril merged 2 commits intomainfrom
veykril/push-uytznqlrmsmp

Conversation

@Veykril
Copy link
Copy Markdown
Member

@Veykril Veykril commented Mar 9, 2026

Fixes ZED-5M9

No test as I couldn't quite reproduce this, as the cause is mostly a guess

Release Notes:

  • Fixed a panic in lsp_symbols_at_cursor when dealing with diff hunks

@cla-bot cla-bot bot added the cla-signed The user has signed the Contributor License Agreement label Mar 9, 2026
@zed-community-bot zed-community-bot bot added the staff Pull requests authored by a current member of Zed staff label Mar 9, 2026
@Veykril Veykril enabled auto-merge (squash) March 9, 2026 08:22
@Veykril
Copy link
Copy Markdown
Member Author

Veykril commented Mar 9, 2026

/cherry-pick preview
/cherry-pick stable

@Veykril Veykril disabled auto-merge March 9, 2026 08:26
@Veykril Veykril enabled auto-merge (squash) March 9, 2026 08:27
@Veykril Veykril merged commit 3f2ddcb into main Mar 9, 2026
38 checks passed
@Veykril Veykril deleted the veykril/push-uytznqlrmsmp branch March 9, 2026 08:35
github-actions bot pushed a commit that referenced this pull request Mar 9, 2026
…ling (#51077)

Fixes ZED-5M9

No test as I couldn't quite reproduce this, as the cause is mostly a
guess

Release Notes:

- Fixed a panic in `lsp_symbols_at_cursor` when dealing with diff hunks
github-actions bot pushed a commit that referenced this pull request Mar 9, 2026
…ling (#51077)

Fixes ZED-5M9

No test as I couldn't quite reproduce this, as the cause is mostly a
guess

Release Notes:

- Fixed a panic in `lsp_symbols_at_cursor` when dealing with diff hunks
zed-zippy bot added a commit that referenced this pull request Mar 9, 2026
…ling (#51077) (cherry-pick to stable) (#51080)

Cherry-pick of #51077 to stable

----
Fixes ZED-5M9

No test as I couldn't quite reproduce this, as the cause is mostly a
guess

Release Notes:

- Fixed a panic in `lsp_symbols_at_cursor` when dealing with diff hunks

Co-authored-by: Lukas Wirth <lukas@zed.dev>
zed-zippy bot added a commit that referenced this pull request Mar 9, 2026
…ling (#51077) (cherry-pick to preview) (#51079)

Cherry-pick of #51077 to preview

----
Fixes ZED-5M9

No test as I couldn't quite reproduce this, as the cause is mostly a
guess

Release Notes:

- Fixed a panic in `lsp_symbols_at_cursor` when dealing with diff hunks

Co-authored-by: Lukas Wirth <lukas@zed.dev>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

cla-signed The user has signed the Contributor License Agreement staff Pull requests authored by a current member of Zed staff

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant