Ticket #50 (closed defect)
direct eval should inherit lexical environment
| Reported by: | dherman | Owned by: | dherman |
|---|---|---|---|
| Priority: | critical | Milestone: | |
| Component: | dherman/javascript.plt | Keywords: | |
| Cc: | Version: | ||
| Racket Version: | 4.0 |
Description
This program:
(function(x) {
eval('x = 12');
print(x);
})(1)
should print 12. But that will require switching into "spanky" mode when an entire lexical context contains any direct eval.
Change History
Note: See
TracTickets for help on using
tickets.
