traits allMembers and imported modules
cal
callumenator at gmail.com
Mon Mar 11 16:19:17 PDT 2013
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'.
More information about the Digitalmars-d-learn
mailing list