[Ecls-list] BUG: SEGMENTATION-VIOLATION in code with DEFTYPE unicode char

Juan Jose Garcia-Ripoll juanjose.garciaripoll at googlemail.com
Tue Nov 22 14:15:36 UTC 2011

On Tue, Nov 22, 2011 at 10:47 AM, Stas Boukarev <stassats at gmail.com> wrote:

> I don't see how that's a bug, "b" isn't required to be EQL to "b". It
> can be, especially when coalesced by the compiler, but the reader
> usually constructs a new string each time.

I agree. Compare that with

> (lambda (a) (declare (type (eql #1=foo) a)) (eql '#1# a))

#<bytecompiled-closure #<bytecompiled-function 0000000103cbfa00>>
> (compile 'foo *)

;;; OPTIMIZE levels: Safety=2, Space=0, Speed=3, Debug=0
;;; End of Pass 1.
> (foo 'foo)


Instituto de Física Fundamental, CSIC
c/ Serrano, 113b, Madrid 28006 (Spain)
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mailman.common-lisp.net/pipermail/ecl-devel/attachments/20111122/c6d48008/attachment.html>

More information about the ecl-devel mailing list