From: Ken A. <kan...@bb...> - 2003-07-28 20:23:14
|
At 08:19 AM 7/25/2003 -0700, Timothy John Hickey wrote: >Update of /cvsroot/jscheme/jscheme/src/jsint >In directory sc8-pr-cvs1:/tmp/cvs-serv871/src/jsint > >Modified Files: > Compile.scm Symbol.java >Log Message: >added jsint.Symbol.showJavaDotWarnings$ boolean flag, modified to jscheme/SchemeTests.scm to explain warnings, turned off JavaDot warnings during build of the compiler This handles the most common case of warning, where you want to load code before the classes it references are compiled. However, when you try to use a class that may not be compiled when you want to run it, you need to do something special, like check for the class or catch an exception. You also need to turn javadot warnings off. I've done this in using/run.scm for example. So the code is annoyingly ugly, in code that should be a good example of Jscheme code. I was going to recommend getting rid of the the warning altogether, but i'll just refactor this code. k |