Skip to content

Commit ae5bccd

Browse files
committed
Narrow Interpreter.scala further.
compileString is not needed and does not what one might expect (no wrapping). So it should not be exported.
1 parent 9b45420 commit ae5bccd

File tree

1 file changed

+0
-5
lines changed

1 file changed

+0
-5
lines changed

src/dotty/tools/dotc/repl/Interpreter.scala

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -31,11 +31,6 @@ trait Interpreter {
3131
*/
3232
def interpret(line: String)(implicit ctx: Context): Result
3333

34-
/** Compile a string without exectuting the result.
35-
* Returns true if there are no compilation errors, false otherwise.
36-
*/
37-
def compileString(code: String)(implicit ctx: Context): Boolean
38-
3934
/** Suppress output during evaluation of `operation`. */
4035
def beQuietDuring[T](operation: => T): T
4136
}

0 commit comments

Comments
 (0)