Cannot access static overloaded function?
monarch_dodra
monarchdodra at gmail.com
Thu Apr 3 00:39:55 PDT 2014
On Thursday, 3 April 2014 at 06:44:54 UTC, Domain wrote:
> I have 2 modules:
>
> module A;
> public class A {
> private static void foo() {}
> public static void foo(int) {}
> }
>
> module B;
> import A;
> public class B {
> public static void bar() { A.foo(0); }
> }
>
> Error: class A.A member foo is not accessible
Seems like a bug. Please file it.
More information about the Digitalmars-d-learn
mailing list