wrong result from compiled STRING/=
Bug #1983284 reported by
Paul F. Dietz
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
SBCL |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
(defun bug088 ()
(let* ((s1 "Aaba")
(s2 "x")
(f1 `(lambda (p8) (string/= ,s1 ,s2 :start1 1 :end2 0 :end1 p8)))
(p 1)
(direct (string/= s1 s2 :start1 1 :end2 0 :end1 p))
(compiled (funcall (compile nil f1) p)))
(values direct compiled)))
(bug088) ==> NIL, 1
(NIL is the correct result, as both ranges are of length 0 so the implied substrings are equal)
Changed in sbcl: | |
status: | New → Fix Committed |
Changed in sbcl: | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.