Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Also generate ctor calltips for Struct/Class symbols with a callTip #662

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

RUSShyTwo
Copy link

@RUSShyTwo RUSShyTwo commented Dec 5, 2021

This is needed because of this PR: dlang-community/dsymbol#175

Since it'll set the callTip for struct/class, this logic must be updated to take that into account

Copy link
Member

@WebFreak001 WebFreak001 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

is the constructor stuff really the only thing that changes? Do the opIndex/opCall things still work with the new change?

I haven't fully understood the new changes yet but it looks like it may be better to just remove the symbols[0].callTip is null check in the parent if here, to make the entire block be evaluated, now that all callTips have content.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants