On Sunday, 27 January 2013 at 19:55:07 UTC, rsk82 wrote:
this is my module:

module myClass;

class myClass () {
  this() {

  }
};

and main app:

import myClass;

int main() {
  myClass my_instance = new myClass();
  return 0;
}

What's wrong here ?

new MyClass.MyClass(), I suppose. Despite import is public, module symbol has higher priority in name resolution.

Reply via email to