[Issue 17740] ghost "internal" symbols show up sometimes

d-bugmail at puremagic.com d-bugmail at puremagic.com
Tue Oct 10 16:38:22 UTC 2017


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

Mr. Smith <mrsmith33 at yandex.ru> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |mrsmith33 at yandex.ru

--- Comment #5 from Mr. Smith <mrsmith33 at yandex.ru> ---
Here is even smaller test case:

// main.d
import texteditor;
void main() {}

// texteditor.d
module texteditor;
class EditorTextModel
{
    void fun() { editor.fun2(); }
    TextEditor editor;
}
struct TextEditor
{
    Piece* sentinel = new Piece;
    void fun2() {}
    import std.datetime : MonoTime;
}
struct Piece {}

// dmd -m64 -lib -of="lib.lib" -debug -g -w  -I="./" texteditor.d
// dmd -m64 -of="app.exe" -debug -g -w -I="./" lib.lib main.d

--


More information about the Digitalmars-d-bugs mailing list