From e9c55d991fc9ac325b3ca73ef1fa675c53fe0558 Mon Sep 17 00:00:00 2001 From: jhugunin Date: Wed, 18 Dec 2002 01:12:56 +0000 Subject: [PATCH] can't use type patterns in inter-type declarations --- tests/new/TypeNames.java | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/tests/new/TypeNames.java b/tests/new/TypeNames.java index e1aae7255..6e8758056 100644 --- a/tests/new/TypeNames.java +++ b/tests/new/TypeNames.java @@ -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 -- 2.39.5