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

RazvanN <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
                 CC|                            |[email protected]
         Resolution|---                         |WONTFIX

--- Comment #2 from RazvanN <[email protected]> ---
This now outputs:

test.d(1): Error: struct `test.object` conflicts with import `test.object` at
test.d

regardless if you have any imports or not.

I think we can close this as WONTFIX, because the compiler automatically
imports object.d (except if you compile with -betterC) so I don't see how the
error message could be improved without adding a measly special case in the
compiler.

--

Reply via email to