DRY-240: Ambiguous field access not reclassified.
Submitted on 27 September 2006 at 14:33
class A{
Integer a = 42;
}
class B{
A b = new A();
}
class C{
B c = new B();
Integer m(){
return c.b.a;
}
}
[ dryad-front | error ] Ambiguous construct cannot be reclassified: AmbName(Field(Id(“c”)),Id(“b”))
hm, ok, that’s not good
looks like a trivial program ;) . I’ll try to take a look at it this bug today or tomorrow. Do you already have an idea where the problem might be?
I have took a look to your sources but you never try to match AmbName(Field(_), ) or AmbName(Field(, _), _)
I guess in that file: dryad/reclassify/ContextuallyAmbName
Log in to post comments