Record stack trace for root objects which are local variables

Open
#65 0 comments 1 reaction 0 assignees View on GitHub

@Lslightly is already working on this.

Since Jun 23, 2026.

  • #76 by @Lslightly — open

Assessment

Difficulty
4/5
Estimated time
3-5 days
Newbie friendliness
45/100
Issue type
Feature
Clarity
Mostly clear
Activity status
Stale
Tech stack
go
Domain
devtools

Research direction

Start by locating the code that records root function frame names and variable names for local-variable root objects. Trace how root objects are represented and how existing reference information is emitted. Done means those records also include the relevant stack trace, with tests or output checks covering the added information.

Written by the indexing model from the issue text.

Description

Not only record the root func frame name with the variable name, but also record the stack trace, that's helpful in some cases.

Dominant language
Go
Stars
1k
Forks
49
PR merge metrics
No merged PRs in 30d

Getting set up

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from cloudwego/goref

All issues in cloudwego/goref

Similar issues

More Go issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.