Skip to content

Expose ClassDefinition#superclass#720

Open
vinistock wants to merge 1 commit into04-02-separate_method_and_constant_reference_ruby_apisfrom
04-02-expose_classdefinition_superclass_
Open

Expose ClassDefinition#superclass#720
vinistock wants to merge 1 commit into04-02-separate_method_and_constant_reference_ruby_apisfrom
04-02-expose_classdefinition_superclass_

Conversation

@vinistock
Copy link
Copy Markdown
Member

@vinistock vinistock commented Apr 2, 2026

This PR exposes ClassDefinition#superclass. This API returns an optional ConstantReference, which may or not be resolved.

This API will be used by type hierarchy in the LSP.

Copy link
Copy Markdown
Member Author

vinistock commented Apr 2, 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 self-assigned this Apr 2, 2026
@vinistock vinistock added the enhancement New feature or request label Apr 2, 2026
@vinistock vinistock marked this pull request as ready for review April 2, 2026 17:58
@vinistock vinistock requested a review from a team as a code owner April 2, 2026 17:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants