I'm observing a rather strange bug involving SchemeUnit and
CheckSyntax. I'm using SchemeUnit 0.15 and a prebuilt-CVS distribution
of DrScheme, dating from 23 Dec 03. (Windows XP, although I've also
observed this on MacOS 10.2.8.)
I've attached several files. Apologies for the size; I've trimmed them
down as far as I can manage.
Save all of the files in the same directory. Open foo.ss in DrScheme;
hit Execute. Nothing interesting happens, but you shouldn't get any
Now, hit Check Syntax. You should get an error message complaining that
DrScheme can't find the file "clinger-foo.ss"; the error also indicates
that it's looking for this file in the same directory where DrScheme
itself is installed.
I'm posting to the mailing list because it's a strange enough condition
that I'm not sure whether it's due to a bug in Schematics code or not.
A couple of folks have been hacking away at Check Syntax fairly heavily
recently, so it's very possible that the problem is due to their
changes. That said, I'm fairly certain the problem is somewhere in
SchemeUnit, because if you open up test-foo.ss, comment out the require
of (lib "test.ss" "schemeunit"), and uncomment the corresponding defines
below, Check Syntax works fine. I've also been unable to reproduce this
bug with modules that don't use the SchemeUnit stuff.
(Ryan, I'm copying you on this because I don't know if you read
schematics-users, and this was the strange bug I showed you just before
Christmas. While the bug is obviously not in your part of SchemeUnit, I
thought you might be able to shed some light on this.)
--- "Richard C. Cobbe" <cobbe@...> wrote:
> I'm observing a rather strange bug involving
> SchemeUnit and CheckSyntax...
Hmmm...very strange. I'm on the road tomorrow and
won't get to look in depth at this till the new year,
so if this problem is urgent you might do better
getting some of the PLT folk to look at it. Since it
appears to involve deep macro-fu you might do better
getting PLT folk to look at it regardless of the
Anyway, I'll get back to you early Jan.
Email: noelwelsh <at> yahoo <dot> com
Jabber: noelw <at> jabber <dot> org
Do you Yahoo!?
New Yahoo! Photos - easier uploading and sharing.