dyoo / whalesong

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

intra-module optimizations in racket 5.2.1 breaks the js ffi #74

Closed dyoo closed 12 years ago

dyoo commented 12 years ago

Constants provided by the mock module are being inlined, when I intend for the variables to be transparently replaced with bindings I'm defining on the js end of thigns. In particular, the 'body' binding from dyoo/whalesong/js is being inlined, but I depend on the late binding to inject javascript module implementation instead. Ugh.

dyoo commented 12 years ago

Fixed by 6b8bcdaf767efe2294a7dd8d9a5580c5a64c20ff