From 936459c28229321deb0b09d076193be32cd9754e Mon Sep 17 00:00:00 2001 From: aclement Date: Tue, 27 Jul 2004 10:34:41 +0000 Subject: Fix for 53999 "can't bind type" message has $ for . in type name for declare soft --- tests/bugs/Cosmetic.java | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 tests/bugs/Cosmetic.java (limited to 'tests/bugs/Cosmetic.java') diff --git a/tests/bugs/Cosmetic.java b/tests/bugs/Cosmetic.java new file mode 100644 index 000000000..bc874305b --- /dev/null +++ b/tests/bugs/Cosmetic.java @@ -0,0 +1,11 @@ + class Test { + public static void main(String[] args) { + test(); + } + static void test() { + throw new Error("hello"); + } + static aspect A { + declare soft : unknown.Error : call(void test()); // CE should be a message saying cant bind type 'unknown.Error' and not 'unknown$Error' + } +} \ No newline at end of file -- cgit v1.2.3