Error: class myClass.myClass() is used as a type

rsk82 rsk82 at live.com
Sun Jan 27 12:10:07 PST 2013


On Sunday, 27 January 2013 at 20:04:17 UTC, Dicebot wrote:
> new MyClass.MyClass(), I suppose. Despite import is public, 
> module symbol has higher priority in name resolution.

Nope. I changed module name to myClass_mod, now got this:

  Error: class myClass_mod.myClass() is used as a type


More information about the Digitalmars-d mailing list