Skip to content

Fix issue #13354 - Use a generic Variant for passing opIndex/opIndexAssign arguments. #2453

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

Merged
merged 1 commit into from
Sep 6, 2014

Conversation

s-ludwig
Copy link
Member

Also improves the error message when an incompatible index or value type is used by printing the actual type ID instead of void[] in the thrown exception.

Note that this removes the allowed!T checks that have a comment on them, stating that they fix some kind of unspecified bug. However, removing that restriction is the reason for this pull request in the first place and all tests still pass as they should.

https://issues.dlang.org/show_bug.cgi?id=13354
https://issues.dlang.org/show_bug.cgi?id=7449

…ssign arguments.

Also improves the error message when an incompatible index or value type is used by printing the actual type ID instead of "void[]" in the thrown exception.
@mihails-strasuns
Copy link

Changes make sense. There is an old duplicate issue about it which indicates that bug report from the comment must have been the case quite some time ago. I think it is ok to ignore it for now.

@quickfur
Copy link
Member

quickfur commented Sep 4, 2014

ping
Are we going ahead with this?

@quickfur
Copy link
Member

quickfur commented Sep 4, 2014

P.S. please put the URL of the bug in the PR description so that the autotester can update the bug once this merges.

@mihails-strasuns
Copy link

I'd expect it to look at commit titles / messages, not PR titles.

@mihails-strasuns
Copy link

@quickfur I assume your comment can be considered "LGTM", merging ;)

@mihails-strasuns
Copy link

Auto-merge toggled on

mihails-strasuns pushed a commit that referenced this pull request Sep 6, 2014
Fix issue #13354 - Use a generic Variant for passing opIndex/opIndexAssign arguments.
@mihails-strasuns mihails-strasuns merged commit 9c8a1a5 into dlang:master Sep 6, 2014
@yebblies
Copy link
Member

yebblies commented Sep 6, 2014

@Dicebot The PR titles end up in the merge commit message.

@mihails-strasuns
Copy link

But merge commit includes also all original PR commits as-is with all their messages.

@braddr
Copy link
Member

braddr commented Sep 7, 2014

@quickfur For what it's worth, it's not the auto-tester updating bugzilla. Github does that itself.

@quickfur
Copy link
Member

quickfur commented Sep 8, 2014

Oh I see. Didn't know that. So github knows about bugzilla URLs enough to auto-update them? That's neat... and kinda scary at the same time. :P

@dnadlinger
Copy link
Member

@quickfur: It's not the URLs in the description – you manually need to configure a hook in the project admin panel (which parses the commit messages).

@quickfur
Copy link
Member

quickfur commented Sep 8, 2014

Ah I see.

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.

6 participants