traits allMembers and imported modules
cal
callumenator at gmail.com
Mon Mar 11 16:22:41 PDT 2013
On Monday, 11 March 2013 at 23:19:18 UTC, cal wrote:
> On Monday, 11 March 2013 at 23:10:58 UTC, Andrej Mitrovic wrote:
>> On 3/11/13, cal <callumenator at gmail.com> wrote:
>>> When the module name I use inside __traits is in the same dir
>>> as
>>> the main module, I need the extra parenthesis to satisfy the
>>> compiler. Is this a bug, or unavoidable?
>>
>> I can't reproduce this. How are you compiling the modules?
>
> Both rdmd and separate compilation give the error:
> Import other has no members.
>
> if i remove the parenthesis around 'other'.
Actually it prints out:
[false]
["object", "j"]
first, and then fails with the above error message.
More information about the Digitalmars-d-learn
mailing list