Skip to content
Snippets Groups Projects

fix panic in highlighting code from nil Operation

Created by: camdencheek

highlightOp was never initialized following https://github.com/sourcegraph/sourcegraph/pull/34456/files. I'm not sure if this is the best way to do this, but main is currently broken, so I'll leave it to others to clean it up if they have a better pattern for this.

Test plan

Tested locally that panic does not occur.

Merge request reports

Approval is optional

Merged by avatar (Jul 30, 2025 10:02pm UTC)

Merge details

  • Changes merged into main with d2fd0e25.
  • Deleted the source branch.

Activity

Filter activity
  • Approvals
  • Assignees & reviewers
  • Comments (from bots)
  • Comments (from users)
  • Commits & branches
  • Edits
  • Labels
  • Lock status
  • Mentions
  • Merge request status
  • Tracking
Please register or sign in to reply
Loading