bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#37283: 27.0.50; Struct defined by cl-defstruct with :noinline failed


From: Stefan Monnier
Subject: bug#37283: 27.0.50; Struct defined by cl-defstruct with :noinline failed to set slot using setf
Date: Sun, 08 Sep 2019 18:43:15 -0400
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (gnu/linux)

> (require 'cl-lib)
> (cl-defstruct (stt (:noinline t))
>   slt-a slt-b)
>
> (let ((inst (make-stt :slt-a 1 :slt-b 2)))
>   (setf (stt-slt-a inst) 2))
>
> Will get error "Symbol’s function definition is void: \(setf\ stt-slt-a\)"

I just push a patch to `master` which should fix this problem.
Can you confirm it fixes it on your side as well?


        Stefan






reply via email to

[Prev in Thread] Current Thread [Next in Thread]