[racket-dev] variable wrong procedure or structure-type shape error?

From: Kevin Forchione (lysseus at gmail.com)
Date: Fri Aug 29 19:22:10 EDT 2014

On Aug 29, 2014, at 2:17 PM, Matthias Felleisen <matthias at ccs.neu.edu> wrote:

> You need to clean out the cached compiled code and remake those collections. Remove the compiled directories, and run raco make again. -- Matthias
> On Aug 29, 2014, at 5:10 PM, Kevin Forchione <lysseus at gmail.com> wrote:
>> Hmmmm…. something changed between Racket 6.1 and the latest release that is producing this mysterious (to me at least!) error in a project of mine that compiles fine with 6.1, but not with the latest version, producing: 
>> Welcome to DrRacket, version [3m].
>> Language: racket [custom]; memory limit: 512 MB.
>> link: bad variable linkage;
>> reference to a variable that has the wrong procedure or structure-type shape
>> reference phase level: 0
>> variable module: "/Users/lysseus/Racket/games/lib/matrix.rkt"
>> variable phase: 0
>> reference in module: "/Users/lysseus/Racket/games/2048/2048-obj.rkt" in: matrix-row
>> Any idea wheat this error means and why is getting the error? It appears to have been introduced sometime after version [3m]., which compiled fine.

That sorted it. And that’s got me on to learning more about race. :)


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.racket-lang.org/dev/archive/attachments/20140829/224fd4ac/attachment.html>

Posted on the dev mailing list.