Skip to content

Commit

Permalink
Fix wrong calls of fn-nume
Browse files Browse the repository at this point in the history
First argument of fn-nume is a keyword, the second is a function names.
There were two calls where these arguments were swapped.
  • Loading branch information
nadezhin committed Jan 6, 2017
1 parent fe40f69 commit e902537
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion books/projects/paco/foundations.lisp
Original file line number Diff line number Diff line change
Expand Up @@ -1245,7 +1245,7 @@
((and (all-quoteps args)
(or (flambdap fn)
(enabled-numep
(fn-nume fn :EXECUTABLE-COUNTERPART wrld) ens)))
(fn-nume :EXECUTABLE-COUNTERPART fn wrld) ens)))
(mv-let (erp val)
(apply fn (strip-cadrs args) wrld)
(cond (erp (mv nil (cons-term fn args)))
Expand Down
2 changes: 1 addition & 1 deletion books/projects/paco/output-module.lisp
Original file line number Diff line number Diff line change
Expand Up @@ -430,7 +430,7 @@

(defmacro <scons-term-id> (body)
`(with-nume-tracking (hitp val) ,body
(fn-nume fn :executable-counterpart wrld)
(fn-nume :executable-counterpart fn wrld)
t))

(defmacro <type-set-id> (body)
Expand Down

0 comments on commit e902537

Please sign in to comment.