瀏覽代碼

can't use type patterns in target

tags/V_1_1_b2
jhugunin 21 年之前
父節點
當前提交
d0c3d7161f
共有 1 個文件被更改,包括 2 次插入2 次删除
  1. 2
    2
      tests/base/test131/Driver.java

+ 2
- 2
tests/base/test131/Driver.java 查看文件

@@ -32,12 +32,12 @@ aspect TopAdvice {
return result+10;
}

int around(): target(p1.*) && call(int *()) {
int around(): call(int p1.*.*()) {
int result = proceed();
return result+100;
}

int around(): target(p1..*) && call(int *()) {
int around(): call(int p1..*.*()) {
int result = proceed();
return result+1000;
}

Loading…
取消
儲存