On some occasions, drracket won't compile my file, and prints an error:<br><br>standard-module-name-resolver: contract violation<br> expected: module-path?<br> given: '(#%foreign)<br><br>But racket or raco make on the command line works fine.<br>
<br>This is probably because one of the included files requires '#%foreign, although I *think* I have seen it happen with other symbols.<br>Note that this bug may not appear on the first compilation, but later, so I'm not sure how to reproduce it.<br>
<br>Also sometimes check-syntax displays this error too, and sometimes says all is ok, even though running the file in drracket displays an error.<br><br>Anyone has encountered this and knows how to get rid of it?<br><br>
Laurent<br>