Explorar el Código

can't use type patterns in inter-type declarations

tags/V_1_1_b2
jhugunin hace 21 años
padre
commit
e9c55d991f
Se han modificado 1 ficheros con 3 adiciones y 3 borrados
  1. 3
    3
      tests/new/TypeNames.java

+ 3
- 3
tests/new/TypeNames.java Ver fichero

@@ -31,9 +31,9 @@ class MySuffix {

aspect A {
// BUG: This is all that's required to provoke the bug in -Xlint mode
public String (*..*Suffix).toString() { // lint: no type matched
return "ok";
}
declare parents: *..*Suffix implements Runnable; // lint: no type matched

// coverage cases
before() : staticinitialization(*..*Suffix) { // lint: no type matched

Cargando…
Cancelar
Guardar