[Issue 14198] [REG2.067a] Link failure with Variant
via Digitalmars-d-bugs
digitalmars-d-bugs at puremagic.com
Sat Mar 7 06:44:26 PST 2015
https://issues.dlang.org/show_bug.cgi?id=14198
--- Comment #6 from Kenji Hara <k.hara.pg at gmail.com> ---
Created attachment 1480
--> https://issues.dlang.org/attachment.cgi?id=1480&action=edit
Reduced test case. Running ng.bat will reproduce link-failure.
(In reply to Kenji Hara from comment #1)
> Introduced in: https://github.com/D-Programming-Language/dmd/pull/4335
Sorry I was wrong. The issue commit that was introducing the change was in
Phobos repository.
https://github.com/D-Programming-Language/phobos/commit/a9d45235da6509e21450dea1825a5fa1dff9eed4#diff-54cf8402b22024ae667d4048a5126f0eL17
The commit has removed `import std.string;` from the module level scope in
std.array. Unfortunately it triggered a previously unknown forward reference
bug in compiler.
See also the minimized test case I attached.
--
More information about the Digitalmars-d-bugs
mailing list