guicho271828 / trivia

Pattern Matcher Compatible with Optima
Other
334 stars 22 forks source link

TRIVIA does not load in CLISP due to a supposed misplaced declaration #129

Closed stylewarning closed 3 years ago

stylewarning commented 3 years ago

stock CLISP on Debian Buster

;; Compiling file /home/r/quicklisp/dists/quicklisp/software/trivia-20210630-git/level2/impl.lisp ...
WARNING: RESTART-CASE: restart cannot be invoked interactively because it is missing a :INTERACTIVE option:
         (USE-VALUE (LISP-NAMESPACE::DEFAULT) (SETF (SYMBOL-PATTERN SYMBOL) LISP-NAMESPACE::DEFAULT))
WARNING: RESTART-CASE: restart cannot be invoked interactively because it is missing a :INTERACTIVE option:
         (USE-VALUE (LISP-NAMESPACE::DEFAULT) (SETF (SYMBOL-PATTERN SYMBOL) LISP-NAMESPACE::DEFAULT))
WARNING: RESTART-CASE: restart cannot be invoked interactively because it is missing a :INTERACTIVE option:
         (USE-VALUE (LISP-NAMESPACE::DEFAULT) (SETF (SYMBOL-INLINE-PATTERN SYMBOL) LISP-NAMESPACE::DEFAULT))
WARNING: RESTART-CASE: restart cannot be invoked interactively because it is missing a :INTERACTIVE option:
         (USE-VALUE (LISP-NAMESPACE::DEFAULT) (SETF (SYMBOL-INLINE-PATTERN SYMBOL) LISP-NAMESPACE::DEFAULT))
.
WARNING: RESTART-CASE: restart cannot be invoked interactively because it is missing a :INTERACTIVE option:
         (USE-VALUE (LISP-NAMESPACE::DEFAULT) (SETF (SYMBOL-PATTERN SYMBOL) LISP-NAMESPACE::DEFAULT))
WARNING: RESTART-CASE: restart cannot be invoked interactively because it is missing a :INTERACTIVE option:
         (USE-VALUE (LISP-NAMESPACE::DEFAULT) (SETF (SYMBOL-INLINE-PATTERN SYMBOL) LISP-NAMESPACE::DEFAULT))
WARNING: RESTART-CASE: restart cannot be invoked interactively because it is missing a :INTERACTIVE option:
         (USE-VALUE (LISP-NAMESPACE::DEFAULT) (SETF (SYMBOL-OPTIMIZER SYMBOL) LISP-NAMESPACE::DEFAULT))
WARNING: RESTART-CASE: restart cannot be invoked interactively because it is missing a :INTERACTIVE option:
         (USE-VALUE (LISP-NAMESPACE::DEFAULT) (SETF (SYMBOL-OPTIMIZER SYMBOL) LISP-NAMESPACE::DEFAULT))
WARNING: in #:|364 368 (TRIVIAL-CLTL2:DEFINE-DECLARATION OPTIMIZER (SPECIFIER ENV) ...)-31| in lines 364..368 : OPTIMIZER is neither declared nor bound,
         it will be treated as if it were declared SPECIAL.
WARNING: in #:|364 368 (TRIVIAL-CLTL2:DEFINE-DECLARATION OPTIMIZER (SPECIFIER ENV) ...)-31| in lines 364..368 : ENV is neither declared nor bound,
         it will be treated as if it were declared SPECIAL.
** - Continuable Error
in #:|364 368 (TRIVIAL-CLTL2:DEFINE-DECLARATION OPTIMIZER (SPECIFIER ENV) ...)-31| in lines 364..368 : Misplaced declaration: (DECLARE (IGNORABLE ENV))
If you continue (by typing 'continue'): Ignore the error and proceed
The following restarts are also available:
RETRY          :R1      Retry compiling #<CL-SOURCE-FILE "trivia.level2" "impl">.
ACCEPT         :R2      Continue, treating compiling #<CL-SOURCE-FILE "trivia.level2" "impl"> as having been successful.
RETRY          :R3      Retry ASDF operation.
CLEAR-CONFIGURATION-AND-RETRY :R4 Retry ASDF operation after resetting the configuration.
ABORT          :R5      Give up on "trivia"
REGISTER-LOCAL-PROJECTS :R6 Register local projects and try again.
ABORT          :R7      Abort main loop
guicho271828 commented 3 years ago

What version of CLISP is it?

guicho271828 commented 3 years ago

commented out define-declaration for CLISP. should work now, but let's wait for CI https://app.travis-ci.com/github/guicho271828/trivia/jobs/537634599

guicho271828 commented 3 years ago

working now. https://app.travis-ci.com/github/guicho271828/trivia/jobs/537635710

stylewarning commented 3 years ago

Thanks!