From 5b834e801ca470b9c06d1adf3a444edceb801022 Mon Sep 17 00:00:00 2001 From: Lex Spoon Date: Thu, 19 Apr 2007 12:31:15 +0000 Subject: added a comment --- src/compiler/scala/tools/nsc/InterpreterLoop.scala | 6 ++++++ 1 file changed, 6 insertions(+) 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", -- cgit v1.2.3