summaryrefslogtreecommitdiffstats
path: root/share
diff options
context:
space:
mode:
Diffstat (limited to 'share')
-rw-r--r--share/txr/stdlib/struct.tl2
1 files changed, 1 insertions, 1 deletions
diff --git a/share/txr/stdlib/struct.tl b/share/txr/stdlib/struct.tl
index ee281168..189785fc 100644
--- a/share/txr/stdlib/struct.tl
+++ b/share/txr/stdlib/struct.tl
@@ -214,7 +214,7 @@
(unless type
(throwf 'eval-error "~s: ~s isn't a struct type" 'defmeth type-sym))
(static-slot-ensure type-sym name fun)
- name))
+ ^(meth ,type-sym ,name)))
(defmacro defmeth (type-sym name arglist . body)
^(sys:defmeth ',type-sym ',name (lambda ,arglist