]> git.eshelyaron.com Git - emacs.git/commit
Fix nativecomp ICE compiling structure related code (bug#63674)
authorAndrea Corallo <akrl@sdf.org>
Wed, 24 May 2023 15:05:26 +0000 (17:05 +0200)
committerAndrea Corallo <akrl@sdf.org>
Wed, 24 May 2023 15:20:38 +0000 (17:20 +0200)
commitb2b2be98da5825e6bc130999ffe38f5ed615586a
tree8b1550d91479d86a081c9a8308dad95f28432abf
parentb513036770499cf7981957d6f5f1626b0b5ef45d
Fix nativecomp ICE compiling structure related code (bug#63674)

* lisp/emacs-lisp/cl-macs.el (cl-defstruct): Define the predicate to
be effective at compile time as native comp relies on `cl-typep' that
relies o predicates to work.

* test/src/comp-resources/comp-test-funcs.el (cl-lib): Require.
(comp-test-struct): Define struct.
(comp-test-63674-1-f): Add new test.
lisp/emacs-lisp/cl-macs.el
test/src/comp-resources/comp-test-funcs.el