[racket] standard-module-name-resolver: contract violation

From: Laurent (laurent.orseau at gmail.com)
Date: Thu Nov 8 11:02:23 EST 2012

> On some occasions, drracket won't compile my file, and prints an error:
>>
>> standard-module-name-resolver: contract violation
>>   expected: module-path?
>>   given: '(#%foreign)
>>
>>
>
> Wait, but this doesn't look right anyway, because '(#%foreign) is a list.
>  So that may be a type error somewhere.  Have you seen it happen under
> Racket 5.3.1 already?
>

Yes it is in 5.3.1

I haven't encountered this yet.  Being able to reproduce the error would be
> a great start in debugging this.
>

I agree, but I don't know what causes it or when it happens.
Now I'm running the same code on a different machine and the above error
does not appear.

Laurent
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.racket-lang.org/users/archive/attachments/20121108/6f0d4a2b/attachment.html>

Posted on the users mailing list.