——————————–
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 {
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”))
——————————–

Submitted on 19 February 2006 at 03:49

Log in to post comments