]> git.eshelyaron.com Git - emacs.git/commit
Extend cstrs pass to match `when' like code
authorAndrea Corallo <akrl@sdf.org>
Tue, 22 Dec 2020 09:29:48 +0000 (10:29 +0100)
committerAndrea Corallo <akrl@sdf.org>
Thu, 24 Dec 2020 14:36:09 +0000 (15:36 +0100)
commitc07c9f6bf81d2355672839e7423a9f2a5f00e4fb
tree2ca13c312c05b451ddeca3429eade8970ca7d8d3
parent4deeb2f2eec340f8f2ef6f0d474503ea9b30ed43
Extend cstrs pass to match `when' like code

* lisp/emacs-lisp/comp.el (comp-emit-assume): Better parameter names.
(comp-add-cond-cstrs-simple): New function.
(comp-add-cond-cstrs): Rename assume-target -> block-target.
(comp-add-cstrs): Call `comp-add-cond-cstrs-simple'.
* test/src/comp-tests.el (comp-tests-type-spec-tests): Add test.
lisp/emacs-lisp/comp.el
test/src/comp-tests.el