www.digitalmars.com         C & C++   DMDScript  

digitalmars.D - A Problem with the Module Scope Operator

int field=1;
struct S
{
    int field;
}
S v;


int foo(int p1, int p2=0)
{
    //...
}

int bar()
{
    //...
    foo(v. field)
    //...
}

I needed too much time to find my typo.
Oct 17 2006