Crazy code by Adam on SO

Adam D. Ruppe via Digitalmars-d digitalmars-d at puremagic.com
Fri Aug 29 10:17:06 PDT 2014


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.


More information about the Digitalmars-d mailing list