Explorar el Código

can't use type patterns in target

tags/V_1_1_b2
jhugunin hace 21 años
padre
commit
d0c3d7161f
Se han modificado 1 ficheros con 2 adiciones y 2 borrados
  1. 2
    2
      tests/base/test131/Driver.java

+ 2
- 2
tests/base/test131/Driver.java Ver fichero

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

Cargando…
Cancelar
Guardar