Wanted: Compile-time reporting of RETURN-FROMs that can only be (incorrectly) invoked outside the dynamic extent of the corresponding BLOCK
Bug #772039 reported by
Jean-Philippe Paradis
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
SBCL |
Triaged
|
Wishlist
|
Unassigned |
Bug Description
The following currently compiles successfully silently:
(defun broken ()
(lambda () (return-from broken)))
Since calling the result of (broken) necessarily always has undefined consequences, I think at least issuing a compile-time WARNING for the above form would be appropriate.
Changed in sbcl: | |
status: | In Progress → Triaged |
To post a comment you must log in.