sb-cltl2:variable-information fails in interpreted mode

Bug #2060841 reported by Jonathan Braud
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
SBCL
New
Undecided
Unassigned

Bug Description

This works fine:

(defmacro getenv (&environment env) env)
(setq sb-ext:*evaluator-mode* :compile)
(let ((x 1)) (sb-cltl2:variable-information 'x (getenv)))
  ; => :lexical, t, nil

But this errors out:

(setq sb-ext:*evaluator-mode* :interpret)
(let ((x 1)) (sb-cltl2:variable-information 'x (getenv)))

The error is:

:BOGUS fell through ETYPECASE expression.
Wanted one of (SB-C::LEAF CONS NULL).

Version: SBCL 2.4.3.103-af7591bac

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.