www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.bugs - [Issue 17086] New: DMD segfault with multiple template matches and

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

          Issue ID: 17086
           Summary: DMD segfault with multiple template matches and
                    invalid code
           Product: D
           Version: D2
          Hardware: All
                OS: All
            Status: NEW
          Severity: minor
          Priority: P1
         Component: dmd
          Assignee: mathias.lang sociomantic.com
          Reporter: mathias.lang sociomantic.com

Not sure how to describe this one, besides the test case:

```
void testXXXX (T, T V = T.init) (T x) { assert(x.foo); }
void testXXXX (T, T V = T.init) (T y) { assert(y.bar); }

void main ()
{
    bool f;
    testXXXX(f);
}
```

P.R. coming up.

--
Jan 13