First, I apologize for not making this as attachment, but due to my setup it’s a bit complicated…
Steps to reproduce:
1. Create Base.java:
public class Base
{
protected Base base;
public Base getAnotherBase() {
return null;
}
}

  1. Create Derived.java:
    public class Derived extends Base
    {
    public Base getBase() {
    return base.getAnotherBase();
    }
    }

  2. Run:
    dryad-front -i Derived.java Base.java

You get:
[ dryad-front | error ] Ambiguous construct cannot be reclassified:
AmbName(Id(“base”))

Submitted on 5 January 2006 at 22:30

On 20 February 2006 at 00:24 Jira commented:

DRY-211, martin:

Finally, this horrible issue has been closed by a rewrite of the reclassifier.

Log in to post comments