mirror of
https://github.com/eclipse-aspectj/aspectj.git
synced 2024-08-26 05:57:44 +02:00
13 lines
434 B
Plaintext
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) {}
|
|
} |