aboutsummaryrefslogtreecommitdiff
path: root/src/interp/cattable.boot
diff options
context:
space:
mode:
Diffstat (limited to 'src/interp/cattable.boot')
-rw-r--r--src/interp/cattable.boot6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/interp/cattable.boot b/src/interp/cattable.boot
index b45b0dd1..56b00384 100644
--- a/src/interp/cattable.boot
+++ b/src/interp/cattable.boot
@@ -328,8 +328,10 @@ mergeOr(x,y) ==
nil
nil
-testExtend(a:=[op,:argl],b) ==
- (u:= getConstructorAncestorsFromDB op) and (val:= LASSOC(b,u)) =>
+testExtend(a,b) ==
+ a is ['ATTRIBUTE,a'] =>
+ a' is [.,:.] and constructor? a'.op and testExtend(a',b)
+ (u:= getConstructorAncestorsFromDB a.op) and (val:= LASSOC(b,u)) =>
formalSubstitute(a,val)
nil