Repository navigation
fix: keep same-named functions of different files apart in the stack view - #55
Open
Arthurvroum wants to merge 1 commit into
Open
Arthurvroum wants to merge 1 commit into
Arthurvroum wants to merge 1 commit into
Conversation
…view Merging the stack reports of a workspace indexed functions by name: two files each defining a static helper became one row, mixing the location of one with the stack size of the other. The CodeLens and the sidebar lookups used the name too. - A function is identified by its name and the file defining it. Names defined in a single file keep their name as id; the others get name@file. Functions without a known file are still merged by name. - Calls are resolved within the file that made them, then to the only definition of that name elsewhere; an ambiguous name is not linked. - The CodeLens shows and focuses the definition of its own file, and the sidebar shows the file next to names that several functions share. Fixes #42
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Merging the stack reports of a workspace indexed functions by name: two files each defining a static helper became one row, mixing the location of one with the stack size of the other. The CodeLens and the sidebar lookups used the name too.
Fixes #42