Skip to content

Commit f57fb8e

Browse files
committed
naming the using parameter isn't required here (PR comment)
1 parent a5fce18 commit f57fb8e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ private[repl] class Rendering(parentClassLoader: Option[ClassLoader] = None):
3333
private var myReplStringOf: Object => String = _
3434

3535
/** Class loader used to load compiled code */
36-
private[repl] def classLoader()(using ctx: Context) =
36+
private[repl] def classLoader()(using Context) =
3737
if (myClassLoader != null && myClassLoader.root == ctx.settings.outputDir.value) myClassLoader
3838
else {
3939
val parent = Option(myClassLoader).orElse(parentClassLoader).getOrElse {

0 commit comments

Comments
 (0)