Skip to content

Commit

Permalink
Improve warning by also giving the name of the function asked for.
Browse files Browse the repository at this point in the history
  • Loading branch information
robert-strandh committed Sep 20, 2020
1 parent a1cf1f7 commit f078e6d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Code/Environment-Clostrum/environment.lisp
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,6 @@
(client global-environment)))

(defmethod fdefinition (client (environment trucler-reference:environment) name)
(warn "Function FDEFINITION called with a lexical environment")
(warn "Function FDEFINITION called with a lexical environment and name: ~s" name)
(let ((global-environment (trucler:global-environment client environment)))
(fdefinition client global-environment name)))

0 comments on commit f078e6d

Please sign in to comment.