[racket] Whalesong: define-resource generates error after compilation

From: Galler (lzgaller at optonline.net)
Date: Sat Dec 7 02:43:02 EST 2013

Galler <lzgaller at ...> writes:

> 
> Danny,define-resource is generating a unexpected specialize! error when
compiled.

Clarification: the error is occuring at run time, not at compile time. I
believe its originating in file whalesong/resource/compile-time.rkt 

The following very-naive patch eliminates the error:

in compile-time.rkt, edit the macro-form (define-resource stx) to eliminate
the call to specialize!, then recompile the whalesong launcher.

;; Run time code
(define name ;(specialize!
    (resource normal-path munged-path content));)


There's a javascript specialize! function which may be the source of the run
time error. 




Posted on the users mailing list.