Hello,
I'm fighting with a strange compiler error. This here compiles and runs fine:
-- main.d -
class Foo
{
static int z = 4;
static int bar() { return 6; }
int foobar() { return 7; }
}
int main(string[] argv)
{
writeln(Foo.z);
writeln(Foo.bar()); // pro
avis"
> An: "digitalmars.D.learn"
> Betreff: Re: Compiler error with static vars/functions
> On Thursday, February 09, 2012 14:57:08 Oliver Plow wrote:
> > Hello,
> >
> > I'm fighting with a strange compiler error. This here compiles and runs
&g