Skip to content

Commit d50f5b1

Browse files
committed
.
1 parent 52a6891 commit d50f5b1

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

repl/src/dotty/tools/repl/Rendering.scala

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,11 +28,10 @@ private[repl] class Rendering(parentClassLoader: Option[ClassLoader] = None):
2828
var myClassLoader: AbstractFileClassLoader = uninitialized
2929

3030
private def pprintRender(value: Any, width: Int, height: Int, initialOffset: Int)(using Context): String = {
31-
def fallback() = {
31+
def fallback() =
3232
pprint.PPrinter.Color
3333
.apply(value, width = width, height = height, initialOffset = initialOffset)
3434
.render
35-
}
3635

3736
try
3837
// normally, if we used vanilla JDK and layered classloaders, we wouldnt need reflection.

sbt-bridge/src-bootstrapped/ConsoleInterface.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
import xsbti.Logger;
1111

1212
import dotty.tools.dotc.core.Contexts.Context;
13-
import dotty.tools.repl.ReplDriver;
13+
import dotty.tools.repl.;
1414
import dotty.tools.repl.State;
1515

1616
public class ConsoleInterface {

0 commit comments

Comments
 (0)