diff options
| author | Andrea Corallo | 2020-11-14 17:38:05 +0100 |
|---|---|---|
| committer | Andrea Corallo | 2020-11-14 22:06:31 +0100 |
| commit | f702426780475309bdd33ef896d28dd33484246b (patch) | |
| tree | 2249e3d3de374e99728b0ccfef87403a41648474 /src/alloc.c | |
| parent | bcecdedcb7ee02a58383de396bf05fda88654a30 (diff) | |
| download | emacs-f702426780475309bdd33ef896d28dd33484246b.tar.gz emacs-f702426780475309bdd33ef896d28dd33484246b.zip | |
Add `comp-constraint-to-type-spec' and better handle boolean type spec
* lisp/emacs-lisp/comp.el (comp-constraint-to-type-spec): New
function splitting out code from comp-ret-type-spec + better
handle boolean type specifier.
(comp-ret-type-spec): Rework to leverage
`comp-constraint-to-type-spec'.
* test/src/comp-tests.el (comp-tests-type-spec-tests): Add a
testcase.
Diffstat (limited to 'src/alloc.c')
0 files changed, 0 insertions, 0 deletions