-
Notifications
You must be signed in to change notification settings - Fork 22
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
Fix (or suppress) warnings on the first REPL startup. #54
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -6,7 +6,8 @@ exec ros -Q -L sbcl-bin -- $0 "$@" | |
(progn ;;init forms | ||
(ros:ensure-asdf) | ||
(unless (find-package :cl-repl) | ||
(ql:quickload :cl-repl :silent t))) | ||
(handler-bind ((asdf:bad-system-name #'muffle-warning)) | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. This suppresses the following ASDF warning:
|
||
(ql:quickload :cl-repl :silent t)))) | ||
|
||
(defpackage :ros.script.ros-repl.3724301531 | ||
(:use :cl)) | ||
|
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -61,13 +61,14 @@ | |
(rl:register-function :complete #'completer) | ||
(install-inspector)) | ||
|
||
(defun main (&optional argv &key (show-logo t)) | ||
(defun main (argv &key (show-logo t)) | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. This fixes the following style-warning on SBCL:
|
||
(multiple-value-bind (options free-args) | ||
(handler-case | ||
(if argv (opts:get-opts argv) (opts:get-opts)) | ||
(error () | ||
(format t "try `cl-repl --help`.~&") | ||
(uiop:quit 1))) | ||
(declare (ignore free-args)) | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. This fixes the following style-warning:
|
||
(when-option (options :help) | ||
(opts:describe | ||
:prefix "A full-featured Common Lisp REPL implementation.") | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This suppresses the following ASDF warning: