dyoo / whalesong

Whalesong: Racket to JavaScript compiler
http://hashcollision.org/whalesong
250 stars 30 forks source link

at repl, set! isn't checking variable definition before setting #95

Closed dyoo closed 11 years ago

dyoo commented 11 years ago

The code:

(set! fresh-variable 42)

should raise an error if fresh-variable hasn't been defined yet. However, in our REPL, we're not raising the expected error.

dyoo commented 11 years ago

fixed by 04f0aec9967080a2921736ea616b67bfb7669cc8