org.aspectj/tests/bugs/pr53981/Proceeding2.aj
acolyer 05dabd1821 fix for Bugzilla Bug 53981
proceed used as method name in around advice
2004-08-10 13:22:08 +00:00

13 lines
434 B
Plaintext

import org.aspectj.testing.Tester;
public class Proceeding2 {
public static void main(String[] args) {
Tester.checkFailed("Proceed with a receiver should be treated as a method call, not the special form");
}
static aspect A {
void around() : execution(void main(String[])) {
Proceeding2.proceed(null); // BUG: treated as proceed(Object);
}
}
static void proceed(Object o) {}
}