http://d.puremagic.com/issues/show_bug.cgi?id=9235
Kenji Hara changed:
What|Removed |Added
Keywords||rejects-valid
Status|NEW
/cfe5b6c97c7a4db75f173768db407c6cb8007e30
fix Issue 9235 - Template mixin doesn't allow to mixin non-conflicting
overloads
https://github.com/D-Programming-Language/dmd/commit/cc6b7372f2efffd4c5c0314373af3b595ba06a2c
Merge pull request #1660 from 9rnsr/fix1900
Issue 1900 & 8352 & 9235 - Implement Template Overload Set
http://d.puremagic.com/issues/show_bug.cgi?id=9235
Andrej Mitrovic changed:
What|Removed |Added
CC||andrej.mitrov...@gmail.com
--- Comme
http://d.puremagic.com/issues/show_bug.cgi?id=9235
--- Comment #5 from Kenji Hara 2013-02-14 08:15:38 PST ---
(In reply to comment #3)
> Signature constraints are ignored also for structures:
[snip]
It is not valid code, because
> struct Foo
> {
> A a;
> B b;
> alias a.foo foo;
>
http://d.puremagic.com/issues/show_bug.cgi?id=9235
Kenji Hara changed:
What|Removed |Added
Keywords||pull
--- Comment #4 from Kenji Hara 2013
http://d.puremagic.com/issues/show_bug.cgi?id=9235
--- Comment #3 from Maksim Zholudev 2013-02-04 08:12:40
PST ---
Signature constraints are ignored also for structures:
---
struct A
{
void foo(string s)() if(s == "a") {}
}
struct B
{
void foo(string s)() if(s == "b")
http://d.puremagic.com/issues/show_bug.cgi?id=9235
Maksim Zholudev changed:
What|Removed |Added
CC||maxim...@gmail.com
--- Comment #2 fr
http://d.puremagic.com/issues/show_bug.cgi?id=9235
--- Comment #1 from Kenji Hara 2012-12-28 05:55:08 PST ---
This is a kind of "template overload set", which is not yet supported in
current dmd.
Following is an another case which fails to compile based on the same issue.
---
// module a;
tem