aboutsummaryrefslogtreecommitdiffstats
path: root/tests/errors/ProceedArgsCE.java
blob: 02224847d8aed3e5ed9b3eb3c406f5dc650d020f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
public class ProceedArgsCE {
     public static void main(String[] args){
         new ProceedArgsCE().go();
     }

     void go() {
         System.out.println("... ");
     }
}

aspect A {
    void around(Object o): this(o) {
        proceed();  // CE
    }
    void around(Object o): this(o) {
        proceed(2);  // CE
    }
    void around(Object o): this(o) {
        proceed("hi", 2);  //CE
    }
}