Skip to content

Fix singleton name creation for nesting#749

Open
vinistock wants to merge 1 commit into04-15-fix_crash_when_invoking_resolve_constant_with_an_empty_constant_namefrom
04-16-fix_singleton_name_creation_for_nesting
Open

Fix singleton name creation for nesting#749
vinistock wants to merge 1 commit into04-15-fix_crash_when_invoking_resolve_constant_with_an_empty_constant_namefrom
04-16-fix_singleton_name_creation_for_nesting

Conversation

@vinistock
Copy link
Copy Markdown
Member

@vinistock vinistock commented Apr 16, 2026

We weren't creating singleton names correctly, in a way that matches the way they are created during indexing. That made completion inside singleton class blocks unable to find anything.

This PR ensures that we are creating the names as expected, where <Foo> is a name with no nesting and a parent scope of Foo.

Copy link
Copy Markdown
Member Author

vinistock commented Apr 16, 2026

Warning

This pull request is not mergeable via GitHub because a downstack PR is open. Once all requirements are satisfied, merge this PR as a stack on Graphite.
Learn more

This stack of pull requests is managed by Graphite. Learn more about stacking.

@vinistock vinistock added the bugfix A change that fixes an existing bug label Apr 16, 2026 — with Graphite App
@vinistock vinistock self-assigned this Apr 16, 2026
@vinistock vinistock marked this pull request as ready for review April 16, 2026 14:56
@vinistock vinistock requested a review from a team as a code owner April 16, 2026 14:56
@vinistock vinistock force-pushed the 04-15-fix_crash_when_invoking_resolve_constant_with_an_empty_constant_name branch from b6d4a2f to e42b1ce Compare April 16, 2026 15:01
@vinistock vinistock force-pushed the 04-16-fix_singleton_name_creation_for_nesting branch from 48fcde4 to 3afccea Compare April 16, 2026 15:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bugfix A change that fixes an existing bug

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant