[Issue 3031] scoped static var conflicts while linking

via Digitalmars-d-bugs digitalmars-d-bugs at puremagic.com
Sun Jul 26 07:41:06 PDT 2015


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

Mathias LANG <pro.mathias.lang at gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |pro.mathias.lang at gmail.com
         Depends on|                            |14381

--- Comment #9 from Mathias LANG <pro.mathias.lang at gmail.com> ---
Nowadays it gives the following error:

test.d(14): Error: declaration test.func.j is already defined in another scope
in func

Since https://issues.dlang.org/show_bug.cgi?id=11720 was 'fixed'.
I'll make it depend on https://issues.dlang.org/show_bug.cgi?id=14831, because
the issue doesn't explicitly say which fix was expected.

There's also a 20$ bounty on this, so if you guys feel the error message fixes
it, feel free to send Kenji
(https://github.com/D-Programming-Language/dmd/pull/2947) his reward ;)

--


More information about the Digitalmars-d-bugs mailing list