Summary: auto template param triggers mixin conflict
           Product: D
           Version: D2
          Platform: x86_64
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: P2
         Component: DMD

--- Comment #0 from Ellery Newcomer <> 2012-02-20 
12:38:40 PST ---
dmd 2.058

the code:

template Foo(){
    struct Range{
template Biz(){
    struct Range{

class Bar{
    mixin Foo!() index0;
    mixin Biz!() index1;
    auto to_range(Range)(Range r)


void main(){
    auto r2 =Bar.to_range(1);

the fireworks:

test.d(13): Error: test.Bar.Foo!().Range at test.d(2) conflicts with
test.Bar.Biz!().Range at test.d(6)

Configure issuemail:
------- You are receiving this mail because: -------

Reply via email to