DRY-217: Disamb: support local class declarations
——————————–
public class Bar {
public void foo() {
class A {};
new A();
}
}
——————————–
$ dryad-front -i Bar.java | pp-aterm
[ dryad-front | error ] Ambiguous construct cannot be reclassified:
ClassOrInterfaceType(TypeName(Id(“A”)),None)
public class Bar {
Submitted on 19 February 2006 at 03:49
public void foo() {
class A {};
class B extends A {};
}
}
——————————–
$ dryad-front -i Bar.java | pp-aterm
[ dryad-front | error ] Name cannot be qualified:
TypeName(Id(“A”))
——————————–
Log in to post comments