having a folder containing dots in the import path
Robert
jfanatiker at gmx.at
Thu Mar 7 08:30:05 PST 2013
Hi guys!
I just made the discovery that putting a D source file named "d" in a
directory named "a.b.c" with a module declaration like:
module a.b.c.d;
works as expected (can be imported via import a.b.c.d;). This is
actually pretty cool and useful (and I hope nobody removes this feature
now, that I mentioned it!). I was just wondering if it is ok to rely on
this or if it is unintended/unspecified behaviour that might change?
Thanks!
Best regards,
Robert
More information about the Digitalmars-d
mailing list