Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

test failure on CCL #6

Open
cosmos72 opened this issue Mar 27, 2015 · 1 comment
Open

test failure on CCL #6

cosmos72 opened this issue Mar 27, 2015 · 1 comment
Assignees

Comments

@cosmos72
Copy link
Owner

The MEM-STRING test, newly added to the experimental branch, fails on all known versions of Clozure Common Lisp (CCL) with:
Failure Details:


MEM-STRING []:
Unexpected Error: #<TYPE-ERROR #x302001BBFF6D>
The value NIL is not of the expected type CHARACTER...


Reason: on CCL, (CODE-CHAR #xFFFE) and (CODE-CHAR #xFFFF) both return NIL, while hyperluminal-mem expects them to return the corresponding characters.

The author is discussing the point, which involves the meaning and expected behaviour of Unicode "noncharacters" (U+FFFE U+FFFF and 64 others), on CCL bug tracker http://trac.clozure.com/ccl/ticket/1278

@cosmos72
Copy link
Owner Author

After some reasoning (and curses at the insane name "noncharacter" for these Unicode codepoints), CCL developers agreed that the most appropriate action is to change CODE-CHAR behaviour.
It is being modified in order for (CODE-CHAR #xFFFE) to return #\U+FFFE and (CODE-CHAR #xFFFF) to return #\U+FFFF instead of NIL

@cosmos72 cosmos72 removed the wontfix label Feb 27, 2016
@cosmos72 cosmos72 self-assigned this Feb 27, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant