diff options
author | Lex Spoon <lex@lexspoon.org> | 2007-04-19 12:31:15 +0000 |
---|---|---|
committer | Lex Spoon <lex@lexspoon.org> | 2007-04-19 12:31:15 +0000 |
commit | 5b834e801ca470b9c06d1adf3a444edceb801022 (patch) | |
tree | eb90dc8081fae000ceb82688c9383fd72af41793 /src | |
parent | 807b7a27ed305727b7f61e27e777c5c5b7f6f79b (diff) | |
download | scala-5b834e801ca470b9c06d1adf3a444edceb801022.tar.gz scala-5b834e801ca470b9c06d1adf3a444edceb801022.tar.bz2 scala-5b834e801ca470b9c06d1adf3a444edceb801022.zip |
added a comment
Diffstat (limited to 'src')
-rw-r--r-- | src/compiler/scala/tools/nsc/InterpreterLoop.scala | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/compiler/scala/tools/nsc/InterpreterLoop.scala b/src/compiler/scala/tools/nsc/InterpreterLoop.scala index ed1bc2d270..15c984a034 100644 --- a/src/compiler/scala/tools/nsc/InterpreterLoop.scala +++ b/src/compiler/scala/tools/nsc/InterpreterLoop.scala @@ -75,6 +75,12 @@ class InterpreterLoop(in0: BufferedReader, out: PrintWriter) { /** Bind the settings so that evaluated code can modiy them */ def bindSettings() { +// TODO: The isettings should not be bound like this, +// because the interpreter should not be forced to +// use a compatible classloader. Instead, the +// settings object should be compiled inside the +// interpreter, and InterpreterLoop should grab the +// settings via reflection. interpreter.beQuietDuring { interpreter.bind( "settings", |