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

Richard Cattermole <alphaglosi...@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|RESOLVED                    |REOPENED
         Resolution|FIXED                       |---

--- Comment #4 from Richard Cattermole <alphaglosi...@gmail.com> ---
Unfortunately, my fix is nowhere near good enough.

Here is a code snippet that will fail, it will need to be added to dshell/dll
test in its main function (in some form).

```d
void main() {
    import std.stdio;
    foreach (m; ModuleInfo) {
        writeln(m.name);
        if (auto i = m.importedModules()) {
            writeln(i);
            stdout.flush;
            foreach (j; i) {
                writeln("  - ", j.name.ptr);
                stdout.flush;
            }
        }
    }
}

```

--

Reply via email to