Check declared types of functions at compile-time.
commit22618c314fb8db4383fbce564c708c71dffdd91b
authorStas Boukarev <stassats@gmail.com>
Tue, 3 Oct 2017 12:18:15 +0000 (3 15:18 +0300)
committerStas Boukarev <stassats@gmail.com>
Tue, 3 Oct 2017 15:00:42 +0000 (3 18:00 +0300)
tree3a9c998970a5dce1141d567fe9c0bccba69c417f
parent10930adeb9f52319fb62b80b699a4f6652aa0869
Check declared types of functions at compile-time.

(the (function (string) (values boolean &optional)) #'evenp)
  warning:
    Derived type of EVENP is
      (FUNCTION (INTEGER) (VALUES BOOLEAN &OPTIONAL)),
    conflicting with the declared type
      (FUNCTION (STRING) (VALUES BOOLEAN &OPTIONAL)).
src/compiler/checkgen.lisp
src/compiler/ctype.lisp
src/compiler/ir2tran.lisp
src/compiler/x86-64/target-insts.lisp