summaryrefslogtreecommitdiff
path: root/src/compiler
diff options
context:
space:
mode:
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",