August 20, 2003 "import synsoft package and module have the same name" | ||||
---|---|---|---|---|
| ||||
In ./synsoft/win32 I have files defining modules, such as synch.d, perf.d, and I have just added win32.d. I'm not terribly surprised that it doesn't work, but I want to know how I'm supposed to create a "root" module, so that, say, things in the synsoft.win32.perf module can import things within synsoft.win32. It would seem that the only option is to define synsoft.win32.common, in ./synsoft/win32/common.d, which sucks. I'm sure I'm about to get shot down for raking over old ground, but this seems nasty. Is there a better way? |
Copyright © 1999-2021 by the D Language Foundation