Coverage report: /development/source/library/org/datagraph/spocq-shard/src/core/patches/sbcl-20170928.lisp
| Kind | Covered | All | % |
| expression | 28 | 37 | 75.7 |
| branch | 5 | 10 | 50.0 |
Key
Not instrumented
Conditionalized out
Executed
Not executed
Both branches taken
One branch taken
Neither branch taken
1
;;; -*- package: sb-kernel; -*-
5
;;; suppress package restrictions
7
(setq *on-package-variance* nil)
9
(defun note-package-variance (&rest args &key package &allow-other-keys)
10
(let ((pname (package-name package)))
11
(destructuring-bind (&key warn error) *on-package-variance*
12
(let ((what (cond ((and (listp error) (member pname error :test #'string=))
14
((and (listp warn) (member pname warn :test #'string=))
23
(apply #'error 'package-at-variance-error args))
25
(apply #'warn 'package-at-variance args)))))))