Opened 3 years ago
Closed 2 years ago
#1811 closed defect (fixed)
[r7rs] 'environment' wrongly imports all symbols from r7rs module
| Reported by: | rgherdt | Owned by: | |
|---|---|---|---|
| Priority: | major | Milestone: | someday |
| Component: | extensions | Version: | 5.3.0 |
| Keywords: | Cc: | ||
| Estimated difficulty: |
Description
The procedure environment from (scheme eval) imports all symbols from r7rs by default, leading to a wrong behavior:
(import (scheme eval)) (eval '(+ 1 3) (environment '(except (scheme base) +))) . . . 4
The expected behavior is an "unbound variable: +" error.
I'll upload a patch (thanks Felix).
Attachments (1)
Change History (2)
Changed 3 years ago by
comment:1 Changed 2 years ago by
| Resolution: | → fixed |
|---|---|
| Status: | new → closed |
Note: See
TracTickets for help on using
tickets.

Patch to bug involving 'environment' in scheme.eval.scm