]> source.dussan.org Git - aspectj.git/commitdiff
314695
authoraclement <aclement>
Mon, 31 May 2010 17:46:07 +0000 (17:46 +0000)
committeraclement <aclement>
Mon, 31 May 2010 17:46:07 +0000 (17:46 +0000)
tests/bugs169/pr314965/MinimalExample.java [new file with mode: 0644]

diff --git a/tests/bugs169/pr314965/MinimalExample.java b/tests/bugs169/pr314965/MinimalExample.java
new file mode 100644 (file)
index 0000000..171694c
--- /dev/null
@@ -0,0 +1,13 @@
+public aspect MinimalExample {
+    declare @type : @AnnotationWithParam("arg") * : @AnnotationWithParam2("gra");
+    // the following lines leads to a misleading compiler error
+    declare @type : @AnnotationWithParamAndTypo("arg") * : @AnnotationWithParam2("gra");
+}
+
+@interface AnnotationWithParam {
+    String value();
+}
+
+@interface AnnotationWithParam2 {
+    String value();
+}