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

fix wrong completion for if variable initialized with an array #565

Merged
merged 1 commit into from Dec 30, 2018
Merged

fix wrong completion for if variable initialized with an array #565

merged 1 commit into from Dec 30, 2018

Conversation

ghost
Copy link

@ghost ghost commented Dec 30, 2018

I suspect that the bug in dsymbol affected other more realistic cases than the one that had allowed to detect the problem so finally i decided to propagate the fix in dcd without waiting the next big change.

@ghost ghost added the Bug Fix label Dec 30, 2018
@ghost ghost requested a review from WebFreak001 December 30, 2018 21:54
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.

I don't really like how this was fixed in the dsymbol API by disabling that addForeach parameter for this symbol (it seems like there is way more complexity in there than what it would really only need), but I guess with the added test it should at least stay working now, even on changes on that "foreach insertion hack".

@ghost ghost added the auto-merge-squash label Dec 30, 2018
@dlang-bot dlang-bot merged commit 216275e into dlang-community:master Dec 30, 2018
@ghost ghost deleted the if-auto-arr branch December 30, 2018 23:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants