June 08, 2004
Regan Heath wrote:
> On Tue, 8 Jun 2004 10:26:46 +1000, Derek Parnell <derek@psych.ward> wrote:
> 
>> On Mon, 07 Jun 2004 23:58:39 +1200, Regan Heath wrote:
>>
>>> On Mon, 7 Jun 2004 13:18:29 +0200, Ivan Senji <ivan.senji@public.srce.hr>
>>> wrote:
>>>
>>>> "Regan Heath" <regan@netwin.co.nz> wrote in message
>>>> news:opr8702tr25a2sq9@digitalmars.com...
>>>>
...
>>>>
>>
>> The error happens because you coded 'module def;' instead of 'module
>> ccc.def;' in 'd:d\src\a\ccc\def.d'.
> 
> 
> Thanks Derek, but, that was the whole point :)
> Ivan suggested this change could be allowed and also effect package access levels.
> 
> You must admit the error "main.d(2): module def is in multiple packages def" does not really say what you just said either, it suggests to me that I have 2 instances of module def, which I do not.
> 
> Regan.

I think this message is confusing and incorrect to boot.

I've posted "bug reports" on similar messages. I don't think they're Walter's top priority (and probably rightly so), but I think they're good candidates for improvement.

-- 
Justin (a/k/a jcc7)
http://jcc_7.tripod.com/d/
June 08, 2004
On Tue, 08 Jun 2004 14:06:23 +1200, Regan Heath wrote:


[snip]

>>
>> The error happens because you coded 'module def;' instead of 'module ccc.def;' in 'd:d\src\a\ccc\def.d'.
> 
> Thanks Derek, but, that was the whole point :)

Oh..yeah..right...sorry about that. (Note to self: Must read slower.)

> Ivan suggested this change could be allowed and also effect package access levels.
> 
> You must admit the error "main.d(2): module def is in multiple packages def" does not really say what you just said either, it suggests to me that I have 2 instances of module def, which I do not.

Yep! Bad message.

-- 
Derek
Melbourne, Australia
8/Jun/04 1:23:36 PM
June 08, 2004
"Regan Heath" <regan@netwin.co.nz> wrote in message
news:opr886sxym5a2sq9@digitalmars.com...
.......
> >
> > The error happens because you coded 'module def;' instead of 'module ccc.def;' in 'd:d\src\a\ccc\def.d'.
>
> Thanks Derek, but, that was the whole point :)
> Ivan suggested this change could be allowed and also effect package access
> levels.

But we have a package attribute now, so i hope all problems are solved.

> You must admit the error "main.d(2): module def is in multiple packages def" does not really say what you just said either, it suggests to me that I have 2 instances of module def, which I do not.

Exactly message should say something else, not sure exactly what, but this one does imply that the module def is in more packages, which is not true(or if it is, it is hard to understand)


> Regan.
>
> --
> Using M2, Opera's revolutionary e-mail client: http://www.opera.com/m2/




1 2 3 4
Next ›   Last »