Several bugs related to this:
(ctype:specifier-ctype '(function (t) (values t &optional))) and (ctype:specifier-ctype '(function (&optional t) (values t &optional)))
seem to both result in a function with 1 optional argument of type t !in return type!, which is incorrect -- in first case it should obviously be a required argument.
- Actually the examples above would not even compile (I have a local patch for that), since function return type declared via
(values ....) is not being parsed correctly.
Several bugs related to this:
(ctype:specifier-ctype '(function (t) (values t &optional)))and(ctype:specifier-ctype '(function (&optional t) (values t &optional)))seem to both result in a function with 1 optional argument of type t !in return type!, which is incorrect -- in first case it should obviously be a required argument.
(values ....)is not being parsed correctly.