[Issue 17991] ICE with imports without module
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Thu Mar 29 09:34:05 UTC 2018
https://issues.dlang.org/show_bug.cgi?id=17991
RazvanN <razvan.nitu1305 at gmail.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |razvan.nitu1305 at gmail.com
--- Comment #1 from RazvanN <razvan.nitu1305 at gmail.com> ---
I cannot reproduce. Compiling on git HEAD (Ubuntu 16.04) from toplevel with the
command:
> dmd a/b/package.d a/b/c.d a/e/f.d
Yields:
a/e/f.d(2): Error: module `c` from file a/b/c.d must be imported with 'import
c;'
Modifying f.d to `import a.b, c;` results in successful compilation. Please
close if you cannot reproduce.
--
More information about the Digitalmars-d-bugs
mailing list