From d3a1396362fef8107a5e3529530bc523c1c15903 Mon Sep 17 00:00:00 2001 From: acolyer Date: Wed, 13 Jul 2005 13:03:35 +0000 Subject: [PATCH] now remembers its location for better error reporting --- .../org/aspectj/weaver/patterns/WildAnnotationTypePattern.java | 1 + 1 file changed, 1 insertion(+) diff --git a/weaver/src/org/aspectj/weaver/patterns/WildAnnotationTypePattern.java b/weaver/src/org/aspectj/weaver/patterns/WildAnnotationTypePattern.java index 124e4508f..f3c7c5ccf 100644 --- a/weaver/src/org/aspectj/weaver/patterns/WildAnnotationTypePattern.java +++ b/weaver/src/org/aspectj/weaver/patterns/WildAnnotationTypePattern.java @@ -40,6 +40,7 @@ public class WildAnnotationTypePattern extends AnnotationTypePattern { public WildAnnotationTypePattern(TypePattern typePattern) { super(); this.typePattern = typePattern; + this.setLocation(typePattern.getSourceContext(), typePattern.start, typePattern.end); } public TypePattern getTypePattern() { -- 2.39.5