|
From: | Stefan Monnier |
Subject: | bug#57903: 29.0.50; cl-call-next-method signals error "Symbol’s value as variable is void: cl--nm" |
Date: | Mon, 19 Sep 2022 16:23:04 -0400 |
User-agent: | Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux) |
> Minimal testcase to reproduce: > > (progn > (require 'cl-generic) > (require 'eieio) > > (defclass foo () ()) > > (cl-defmethod repro ((f foo)) > (cl-call-next-method)) > > (repro (make-instance 'foo))) The better fix is for you to use `lexical-binding`, but I pushed to `master` a fix which should make the old code working gain (it won't benefit from the faster calling convention of the new code, of course). Stefan
[Prev in Thread] | Current Thread | [Next in Thread] |