defstruct: better handling of type conflicts in slot types.
commit25f56cfde904ac640d7c1422cbb3d265c4b7d614
authorStas Boukarev <stassats@gmail.com>
Wed, 5 Aug 2015 15:28:38 +0000 (5 18:28 +0300)
committerStas Boukarev <stassats@gmail.com>
Wed, 5 Aug 2015 15:28:38 +0000 (5 18:28 +0300)
tree10eb68a2dd1151bf4e9afeebbd4fa53dd73959cf
parent7286e2ea5daeba48d4cfe74479aca81b88587855
defstruct: better handling of type conflicts in slot types.

DEFSTRUCT canonicalizes slot types for prettier expansion, but when
the types conflict the result is NIL, use the original types in such
cases.
src/code/defstruct.lisp