From: acolyer Date: Wed, 13 Jul 2005 13:03:35 +0000 (+0000) Subject: now remembers its location for better error reporting X-Git-Tag: PRE_ANDY~3 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=d3a1396362fef8107a5e3529530bc523c1c15903;p=aspectj.git now remembers its location for better error reporting --- 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() {