www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.bugs - [Issue 18393] New: REG(v2.078.1=>master) function re-declarations

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

          Issue ID: 18393
           Summary: REG(v2.078.1=>master) function re-declarations causes
                    conflict, but should not
           Product: D
           Version: D2
          Hardware: x86
                OS: Mac OS X
            Status: NEW
          Severity: regression
          Priority: P1
         Component: dmd
          Assignee: nobody puremagic.com
          Reporter: timothee.cour2 gmail.com

```
void fun();
void fun();
```

dmd -o- main.d

DMD64 D Compiler v2.078.1 => ok
DMD64 D Compiler v2.078.2-beta.1-653-g7e8bea0e8-dirty =>
Error: function test_all.fun() conflicts with previous declaration at
main.d(20)

--
Feb 07