alex-gutev / cl-form-types

Library for determining the types of Common Lisp forms based on information stored in the environment.
MIT License
19 stars 1 forks source link

`function` type should avoid `cl:*` #11

Closed digikar99 closed 1 year ago

digikar99 commented 2 years ago
CL-USER> (cl-form-types:form-type `(lambda (x) (1+ x)) nil)
(FUNCTION NIL (FUNCTION (*) (VALUES NUMBER &OPTIONAL)))

SBCL 2.1.10 yields a warning for function type-specifiers with cl:*

; caught WARNING:
;   * is not permitted as an argument to the FUNCTION type specifier
alex-gutev commented 1 year ago

Fixed in 09520e64e2afd0eef935ac6dcdea8cad502747cd.