www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.bugs - name bug... dmd 0.91(or less) -> 0.95

its still there...



void func1()
{
class foo {
public int a;
};
}

void func2()
{
class foo {
public int b;
};

foo bar = new foo;
bar.b = 255;  // error no property 'b' for type 'foo'
}

void main()
{
func2();
}
Jul 08 2004