Opened 8 years ago

Closed 8 years ago

#253 closed defect (worksforme)

BABEL-TESTS fail to compile

Reported by: Mark Evenson Owned by: ehuelsmann
Priority: major Milestone: 1.1.0
Component: interpreter Version: 1.1.0-dev
Keywords: upstream-has-patch quicklisp babel ansi-compilance Cc:
Parent Tickets:

Description

Unrecognized character name: u237
   [Condition of type ALEXANDRIA.0.DEV:SIMPLE-READER-ERROR]

Restarts:
 0: [RETRY] Retry compiling #<ASDF:CL-SOURCE-FILE "babel-tests" "tests" "tests">.
 1: [ACCEPT] Continue, treating compiling #<ASDF:CL-SOURCE-FILE "babel-tests" "tests" "tests"> as having been successful.
 2: [ABORT] Abort compilation.
 3: [*ABORT] Return to SLIME's top level.
 4: [ABORT] Abort thread.

Backtrace:
  0: (#<FUNCTION {523B58F2}> #<ALEXANDRIA.0.DEV:SIMPLE-READER-ERROR {6BE9EF9B}> #<FUNCTION {523B58F2}>)
  1: (APPLY #<FUNCTION {523B58F2}> (#<ALEXANDRIA.0.DEV:SIMPLE-READER-ERROR {6BE9EF9B}> #<FUNCTION {523B58F2}>))
  2: (SYSTEM::RUN-HOOK SYSTEM::*INVOKE-DEBUGGER-HOOK* #<ALEXANDRIA.0.DEV:SIMPLE-READER-ERROR {6BE9EF9B}> #<FUNCTION {523B58F2}>)
  3: (INVOKE-DEBUGGER #<ALEXANDRIA.0.DEV:SIMPLE-READER-ERROR {6BE9EF9B}>)
  4: (ERROR ALEXANDRIA.0.DEV:SIMPLE-READER-ERROR :STREAM #<FILE-STREAM {4B71E076}> :FORMAT-CONTROL "Unrecognized character name: u~A" :FORMAT-ARGUMENTS (237))
  5: (ALEXANDRIA.0.DEV:SIMPLE-READER-ERROR #<FILE-STREAM {4B71E076}> "Unrecognized character name: u~A" 237)
  6: (BABEL::SHARP-BACKSLASH-READER #<SHARP-BACKSLASH {214789AC}> #<FILE-STREAM {4B71E076}> #\\ NIL)

Change History (7)

comment:1 Changed 8 years ago by Mark Evenson

Due to failure of MOD type specifier:

(typep 10 '(mod 11)) => nil
(sys::normalize-type '(mod 11)) => (MOD 11)

comment:2 Changed 8 years ago by ehuelsmann

(In [14208]) Re #253: BABEL-TESTS fail to compile; make ABCL understand the MOD type spec.

comment:3 Changed 8 years ago by Mark Evenson

r14208 indeed fixes the problem with MOD, but then the following fails to work.

In babel/tests/tests.lisp:99 for DEC.ASCII.3, the vector created to match the results from fails to be read.

To duplicate in the REPL:

(asdf:load-system :babel)
(babel:enable-sharp-backslash-syntax)
#(#\a #\Sub #\b #\c)

will signal an END-OF-FILE error.

comment:4 Changed 8 years ago by ehuelsmann

(In [14209]) Re #253: BABEL-TESTS fails to compile; Fix character being discarded
due to not being unread into underlying stream.

comment:5 Changed 8 years ago by ehuelsmann

(In [14211]) Re #253: Prevent unreading eofValue if eofValue happens to be a LispCharacter?.

comment:6 Changed 8 years ago by Mark Evenson

Keywords: upstream-has-patch added
Milestone: 1.1.01.1.1

Upstream patch to disable failing tests like CCL has been submitted.

comment:7 Changed 8 years ago by Mark Evenson

Milestone: 1.1.11.1.0
Resolution: worksforme
Status: newclosed
Note: See TracTickets for help on using tickets.