Ticket #50 (closed defect)

Opened 16 years ago

Last modified 16 years ago

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

Changed 16 years ago by dherman

  • priority changed from major to critical
  • pltversion set to 4.0

Changed 16 years ago by dherman

  • status changed from new to closed

Fixed in 7:5.

Note: See TracTickets for help on using tickets.