master: Fix an error message from DEFSTRUCT

stassats via Sbcl-commits <[email protected]>
Newsgroups gmane.lisp.steel-bank.cvs
Message-ID <[email protected]>
The branch "master" has been updated in SBCL:
       via  e18e2ccd71bd7a625b9e28d23dd2ee3bae42905a (commit)
      from  db9ae74c6755f8aca827ebc61ae03ba6c364b5e5 (commit)

- Log -----------------------------------------------------------------
commit e18e2ccd71bd7a625b9e28d23dd2ee3bae42905a
Author: Stas Boukarev <[email protected]>
Date:   Wed Apr 15 21:21:28 2026 +0300

    Fix an error message from DEFSTRUCT
---
 src/code/defstruct.lisp | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/code/defstruct.lisp b/src/code/defstruct.lisp
index 05bef90fe..57a9867e8 100644
--- a/src/code/defstruct.lisp
+++ b/src/code/defstruct.lisp
@@ -769,7 +769,7 @@ requires exactly~;accepts at most~] one argument" keyword syntax-group)
     (case (dd-type dd)
       (structure
        (when (dd-offset dd)
-         (error ":OFFSET can't be specified unless :TYPE is specified."))
+         (error ":INITIAL-OFFSET can't be specified unless :TYPE is specified."))
        #-compact-instance-header
        (unless (dd-include dd)
          ;; FIXME: It'd be cleaner to treat no-:INCLUDE as defaulting

-----------------------------------------------------------------------


hooks/post-receive
-- 
SBCL
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.