http://d.puremagic.com/issues/show_bug.cgi?id=106





--- Comment #13 from Walter Bright <bugzi...@digitalmars.com>  2009-07-02 
02:21:27 PDT ---
A simpler example:

=== test.d ===
import list, arm;

class Queue {
  mixin List;
  Arm a;
}

class MessageQueue : Queue { }

=== arm.d ===
import list, test;

class Arm {
  mixin List;
  MessageQueue.ListHead mqueue;
}

=== list.d ===
template List() {
  struct ListHead { }
}

===================
compile with:
 dmd test
gives:
test.d(8): Error: class test.MessageQueue is forward referenced when looking
for 'ListHead'

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------

Reply via email to