Thread overview | |||||||
---|---|---|---|---|---|---|---|
|
July 30, 2014 [Issue 7553] auto template param triggers mixin conflict | ||||
---|---|---|---|---|
| ||||
https://issues.dlang.org/show_bug.cgi?id=7553 hsteoh@quickfur.ath.cx changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED CC| |hsteoh@quickfur.ath.cx Resolution|--- |WORKSFORME --- Comment #1 from hsteoh@quickfur.ath.cx --- Seems to work in git HEAD, after fixing some errors in the code: ------ template Foo(){ struct Range{ } } template Biz(){ struct Range{ } } class Bar{ mixin Foo!() index0; mixin Biz!() index1; auto to_range(Range)(Range r) { return r; // have to return something for r2 to have non-void type } } void main(){ auto r2 =Bar.init.to_range(1); // have to use .init to pass actual value to to_range } ------ With these changes, it can compile successfully; no more conflict errors. So looks like the bug has been fixed in git HEAD. -- |
September 14, 2014 [Issue 7553] auto template param triggers mixin conflict | ||||
---|---|---|---|---|
| ||||
https://issues.dlang.org/show_bug.cgi?id=7553 github-bugzilla@puremagic.com changed: What |Removed |Added ---------------------------------------------------------------------------- Resolution|WORKSFORME |FIXED -- |
September 14, 2014 [Issue 7553] auto template param triggers mixin conflict | ||||
---|---|---|---|---|
| ||||
https://issues.dlang.org/show_bug.cgi?id=7553 --- Comment #2 from github-bugzilla@puremagic.com --- Commit pushed to master at https://github.com/D-Programming-Language/dmd https://github.com/D-Programming-Language/dmd/commit/e93599f1d3a130435879e93e85abe4a1180a9a98 fix Issue 7553 - auto template param triggers mixin conflict -- |
September 15, 2014 [Issue 7553] auto template param triggers mixin conflict | ||||
---|---|---|---|---|
| ||||
https://issues.dlang.org/show_bug.cgi?id=7553 Walter Bright <bugzilla@digitalmars.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |bugzilla@digitalmars.com Resolution|FIXED |WORKSFORME -- |
February 19, 2015 [Issue 7553] auto template param triggers mixin conflict | ||||
---|---|---|---|---|
| ||||
https://issues.dlang.org/show_bug.cgi?id=7553 --- Comment #3 from github-bugzilla@puremagic.com --- Commit pushed to 2.067 at https://github.com/D-Programming-Language/dmd https://github.com/D-Programming-Language/dmd/commit/e93599f1d3a130435879e93e85abe4a1180a9a98 fix Issue 7553 - auto template param triggers mixin conflict -- |
Copyright © 1999-2021 by the D Language Foundation