aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorMartin Odersky <odersky@gmail.com>2016-02-16 08:49:09 +0100
committerMartin Odersky <odersky@gmail.com>2016-02-17 18:39:48 +0100
commitae5bccd3d4a9e52aec93088a39fd0d6b658306ba (patch)
tree951c831d26b7e20f20835f04bdd3c4a99e23b336 /src
parent9b45420d2b3193469931b15406d382c499fbb453 (diff)
downloaddotty-ae5bccd3d4a9e52aec93088a39fd0d6b658306ba.tar.gz
dotty-ae5bccd3d4a9e52aec93088a39fd0d6b658306ba.tar.bz2
dotty-ae5bccd3d4a9e52aec93088a39fd0d6b658306ba.zip
Narrow Interpreter.scala further.
compileString is not needed and does not what one might expect (no wrapping). So it should not be exported.
Diffstat (limited to 'src')
-rw-r--r--src/dotty/tools/dotc/repl/Interpreter.scala5
1 files changed, 0 insertions, 5 deletions
diff --git a/src/dotty/tools/dotc/repl/Interpreter.scala b/src/dotty/tools/dotc/repl/Interpreter.scala
index 1912e4594..ea587a097 100644
--- a/src/dotty/tools/dotc/repl/Interpreter.scala
+++ b/src/dotty/tools/dotc/repl/Interpreter.scala
@@ -31,11 +31,6 @@ trait Interpreter {
*/
def interpret(line: String)(implicit ctx: Context): Result
- /** Compile a string without exectuting the result.
- * Returns true if there are no compilation errors, false otherwise.
- */
- def compileString(code: String)(implicit ctx: Context): Boolean
-
/** Suppress output during evaluation of `operation`. */
def beQuietDuring[T](operation: => T): T
}