[Issue 18410] [REG 2.079a] Conflict between overloads distinguished by parameter constness

2018-02-09 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=18410

Basile B.  changed:

   What|Removed |Added

 Status|NEW |RESOLVED
 Resolution|--- |INVALID

--- Comment #2 from Basile B.  ---
It's more that the error wan't detected before.

--


[Issue 18410] [REG 2.079a] Conflict between overloads distinguished by parameter constness

2018-02-09 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=18410

--- Comment #1 from Basile B.  ---
The second example is unrelated actually. I can see the same problem with

```
struct  Bar
{
this(const int){}
this(const const(int)){}
}
```

DMD 2.078.2 still accepts. Not 2.079a

--