From aa9b8df028b35a921025c4b9922f225dd26090e0 Mon Sep 17 00:00:00 2001 From: jhugunin Date: Mon, 12 Jan 2004 10:18:51 +0000 Subject: [PATCH] Bugzilla Bug 46750 "declare soft" inside nested aspect does not work --- .../ajdt/internal/compiler/lookup/AjLookupEnvironment.java | 4 ++-- 1 file 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); } } -- 2.39.5