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

Issue 14996 - only(EnumMembers!T) eats all my memory when T : string #5046

Merged
merged 1 commit into from Sep 7, 2015

Conversation

9rnsr
Copy link
Contributor

@9rnsr 9rnsr commented Sep 6, 2015

// Bugzilla 1914, 3198
if (e->op == TOKstring)
len /= ((StringExp *)e)->len;
if (e->op == TOKarrayliteral)
Copy link
Member

Choose a reason for hiding this comment

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

else if

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Done.

@MartinNowak
Copy link
Member

Auto-merge toggled on

MartinNowak added a commit that referenced this pull request Sep 7, 2015
Issue 14996 - only(EnumMembers!T) eats all my memory when T : string
@MartinNowak MartinNowak merged commit 21e644e into dlang:master Sep 7, 2015
@9rnsr 9rnsr deleted the fix14996 branch September 7, 2015 18:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
3 participants