Przeglądaj źródła

can't use type patterns in target

tags/V_1_1_b2
jhugunin 21 lat temu
rodzic
commit
d0c3d7161f
1 zmienionych plików z 2 dodań i 2 usunięć
  1. 2
    2
      tests/base/test131/Driver.java

+ 2
- 2
tests/base/test131/Driver.java Wyświetl plik

@@ -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;
}

Ładowanie…
Anuluj
Zapisz