diff options
Diffstat (limited to 'src/interp')
-rw-r--r-- | src/interp/compiler.boot | 4 | ||||
-rw-r--r-- | src/interp/daase.lisp | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/src/interp/compiler.boot b/src/interp/compiler.boot index cbae1bbe..768e1b5b 100644 --- a/src/interp/compiler.boot +++ b/src/interp/compiler.boot @@ -1248,7 +1248,7 @@ compHas(pred is ["has",a,b],m,e) == --used in various other places to make the discrimination compHasFormat(pred is ["has",olda,b],e) == - argl := rest $form + argl := $form.args formals := TAKE(#argl,$FormalMapVariableList) a := applySubst(pairList(formals,argl),olda) [a,.,e] := comp(a,$EmptyMode,e) or return nil @@ -1259,7 +1259,7 @@ compHasFormat(pred is ["has",olda,b],e) == mkList [MKQ op,mkList [mkTypeForm type for type in sig]]] b is ["Join",:l] or b is ["CATEGORY",.,:l] => ["AND",:[compHasFormat(["has",olda,c],e) for c in l]] - isCategoryForm(b,e) => ["HasCategory",a,mkTypeForm b] + isCategoryForm(b,e) => ["HasCategory",a,simplifyVMForm mkTypeForm b] stackAndThrow('"Second argument to %1b must be a category, or a signature or an attribute",["has"]) --% IF diff --git a/src/interp/daase.lisp b/src/interp/daase.lisp index ddade882..7196c742 100644 --- a/src/interp/daase.lisp +++ b/src/interp/daase.lisp @@ -229,7 +229,7 @@ being-defined ; T is definition of constructor is being processed load-path ; full object path name, when loaded. capsule-definitions ; capsule-level definitions - template ; for a category, this the generic instantce. + template ; for a category, this is the generic instance. ; for a functor, this is the template. ) ; database structure |