[Issue 14684] Circular import cases "Must be imported as FileName" error
via Digitalmars-d-bugs
digitalmars-d-bugs at puremagic.com
Thu Jun 11 14:59:20 PDT 2015
https://issues.dlang.org/show_bug.cgi?id=14684
Vladimir Panteleev <thecybershadow at gmail.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |thecybershadow at gmail.com
--- Comment #1 from Vladimir Panteleev <thecybershadow at gmail.com> ---
I'm fairly sure this is an invalid bug. Modules inside packages must have a
module declaration. The fix is to add `module myPackage.PackagedClass;` at the
top of myPackage/PackagedClass.d.
--
More information about the Digitalmars-d-bugs
mailing list