diff options
author | Martin Odersky <odersky@gmail.com> | 2016-02-16 08:49:09 +0100 |
---|---|---|
committer | Martin Odersky <odersky@gmail.com> | 2016-02-17 18:39:48 +0100 |
commit | ae5bccd3d4a9e52aec93088a39fd0d6b658306ba (patch) | |
tree | 951c831d26b7e20f20835f04bdd3c4a99e23b336 /src | |
parent | 9b45420d2b3193469931b15406d382c499fbb453 (diff) | |
download | dotty-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.scala | 5 |
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 } |