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

Mr. Smith <mrsmit...@yandex.ru> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |mrsmit...@yandex.ru

--- Comment #5 from Mr. Smith <mrsmit...@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

--

Reply via email to