aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorjhugunin <jhugunin>2004-01-12 10:18:51 +0000
committerjhugunin <jhugunin>2004-01-12 10:18:51 +0000
commitaa9b8df028b35a921025c4b9922f225dd26090e0 (patch)
tree0ea6b06f1ecc2dcd5b058e8b3060f0113f4203ae
parentbba6c413e40539eca1b9c927e2212b8547a7c28f (diff)
downloadaspectj-aa9b8df028b35a921025c4b9922f225dd26090e0.tar.gz
aspectj-aa9b8df028b35a921025c4b9922f225dd26090e0.zip
Bugzilla Bug 46750
"declare soft" inside nested aspect does not work
-rw-r--r--org.aspectj.ajdt.core/src/org/aspectj/ajdt/internal/compiler/lookup/AjLookupEnvironment.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/org.aspectj.ajdt.core/src/org/aspectj/ajdt/internal/compiler/lookup/AjLookupEnvironment.java b/org.aspectj.ajdt.core/src/org/aspectj/ajdt/internal/compiler/lookup/AjLookupEnvironment.java
index 2969cc649..1cc603f0b 100644
--- a/org.aspectj.ajdt.core/src/org/aspectj/ajdt/internal/compiler/lookup/AjLookupEnvironment.java
+++ b/org.aspectj.ajdt.core/src/org/aspectj/ajdt/internal/compiler/lookup/AjLookupEnvironment.java
@@ -119,7 +119,7 @@ public class AjLookupEnvironment extends LookupEnvironment {
for (int i = lastCompletedUnitIndex + 1; i <= lastUnitIndex; i++) {
SourceTypeBinding[] b = units[i].scope.topLevelTypes;
for (int j = 0; j < b.length; j++) {
- addAdviceLikeDeclares(b[j].scope);
+ addAdviceLikeDeclares(b[j].scope);
}
}
@@ -150,7 +150,7 @@ public class AjLookupEnvironment extends LookupEnvironment {
SourceTypeBinding sourceType = s.referenceContext.binding;
ReferenceBinding[] memberTypes = sourceType.memberTypes;
for (int i = 0, length = memberTypes.length; i < length; i++) {
- addCrosscuttingStructures(((SourceTypeBinding) memberTypes[i]).scope);
+ addAdviceLikeDeclares(((SourceTypeBinding) memberTypes[i]).scope);
}
}