X-Git-Url: http://repo.macrolet.net/gitweb/?a=blobdiff_plain;f=doc%2Fmanual%2Fcompiler.texinfo;h=0c03d9874a29bf33bb2f3850ba3e9ddc386bdb0a;hb=1bd85a506685b3d3188aaf1d9d097865c38f887d;hp=a3cb00c91cdc17b2efadf91c400d45dd70a51afe;hpb=8852534331f5505348d1217a3080ee25e09ec47e;p=sbcl.git diff --git a/doc/manual/compiler.texinfo b/doc/manual/compiler.texinfo index a3cb00c..0c03d98 100644 --- a/doc/manual/compiler.texinfo +++ b/doc/manual/compiler.texinfo @@ -528,8 +528,9 @@ provides full type checks. Used when @code{(or (>= safety 2) (>= safety speed 1))}. @item Weak Type Checks -Declared types may be simplified into faster to check supertypes: for example, -@code{(and unsigned-byte fixnum)} is simplified into @code{fixnum}. +Declared types may be simplified into faster to check supertypes: for +example, @code{(or (integer -17 -7) (integer 7 17))} is simplified +into @code{(integer -17 17)}. @strong{Note}: it is relatively easy to corrupt the heap when weak type checks are used if the program contains type-errors.