Crazy code by Adam on SO
Dicebot via Digitalmars-d
digitalmars-d at puremagic.com
Fri Aug 29 10:40:44 PDT 2014
On Friday, 29 August 2014 at 17:17:07 UTC, Adam D. Ruppe wrote:
> There's another bug I didn't notice when writing the SO answer:
> the "module b.d;" didn't actually get picked up. Renaming it to
> "module b;" works, but not when it includes the package.
>
> ooooh cuz it is considered "package mod" in stringof.... which
> has no members. Maybe if the compiler just called it "module
> foo.bar" instead of "package foo" we'd be in business though.
Yes this is a known and unfortunate limitation with this
technique :(
More information about the Digitalmars-d
mailing list