digitalmars.D.learn - static import is in multiple defined
- Saaa (8/8) Mar 01 2008 My projects are starting to grow and I really need to start using packag...
- Saaa (2/2) Mar 01 2008 Erm, changing the name to events2 results in the same error.
- Jarrett Billingsley (7/15) Mar 01 2008 Does the module declaration at the tope of user.events say "module
- Saaa (2/7) Mar 01 2008 handy :)
- Jesse Phillips (3/13) Mar 01 2008 you need to have module user.events; in you events.d file or it will not...
My projects are starting to grow and I really need to start using packages :) So I moved my userEvents module to user.events. But when I do.. static import user.events; ..I get : module events is in multiple defined. Does this mean that 'events' needs to be unique even though I use it statically and thus can only access it through user.events?
Mar 01 2008
Erm, changing the name to events2 results in the same error. I must be doing something wrong :/
Mar 01 2008
"Saaa" <empty needmail.com> wrote in message news:fqdfj4$1ss2$1 digitalmars.com...My projects are starting to grow and I really need to start using packages :) So I moved my userEvents module to user.events. But when I do.. static import user.events; ..I get : module events is in multiple defined. Does this mean that 'events' needs to be unique even though I use it statically and thus can only access it through user.events?Does the module declaration at the tope of user.events say "module user.events;"? DMDFE's errors for imports and modules are absolutely *impenetrable*. This one error message maps to several possible causes, none of which are obvious from what it (rather ungrammatically) says.
Mar 01 2008
Does the module declaration at the tope of user.events say "module user.events;"?No, I put events.d in 'user' dir.DMDFE's errors for imports and modules are absolutely *impenetrable*. This one error message maps to several possible causes, none of which are obvious from what it (rather ungrammatically) says.handy :)
Mar 01 2008
On Sun, 02 Mar 2008 08:26:48 +0100, Saaa wrote:you need to have module user.events; in you events.d file or it will not work.Does the module declaration at the tope of user.events say "module user.events;"?No, I put events.d in 'user' dir.DMDFE's errors for imports and modules are absolutely *impenetrable*. This one error message maps to several possible causes, none of which are obvious from what it (rather ungrammatically) says.handy :)
Mar 01 2008
Ok, I thought that putting it in a folder would be enough :/ Thanksyou need to have module user.events; in you events.d file or it will not work.
Mar 01 2008
you need to have module user.events; in you events.d file or it will not work.module user.events is in multiple packages user.events. What else am I doing wrong?
Mar 02 2008
Ignore that. My badmodule user.events is in multiple packages user.events. What else am I doing wrong?
Mar 02 2008