summaryrefslogtreecommitdiff
path: root/src/compiler
diff options
context:
space:
mode:
authorLex Spoon <lex@lexspoon.org>2007-04-19 12:31:15 +0000
committerLex Spoon <lex@lexspoon.org>2007-04-19 12:31:15 +0000
commit5b834e801ca470b9c06d1adf3a444edceb801022 (patch)
treeeb90dc8081fae000ceb82688c9383fd72af41793 /src/compiler
parent807b7a27ed305727b7f61e27e777c5c5b7f6f79b (diff)
downloadscala-5b834e801ca470b9c06d1adf3a444edceb801022.tar.gz
scala-5b834e801ca470b9c06d1adf3a444edceb801022.tar.bz2
scala-5b834e801ca470b9c06d1adf3a444edceb801022.zip
added a comment
Diffstat (limited to 'src/compiler')
-rw-r--r--src/compiler/scala/tools/nsc/InterpreterLoop.scala6
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",