Skip to content

Commit 84aee98

Browse files
lihaoyibishabosha
andauthored
Update repl/src/dotty/tools/repl/ReplDriver.scala
Co-authored-by: Jamie Thompson <[email protected]>
1 parent bbb5779 commit 84aee98

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

repl/src/dotty/tools/repl/ReplDriver.scala

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -341,7 +341,6 @@ class ReplDriver(settings: Array[String],
341341
res match {
342342
case parsed: Parsed if parsed.source.content().mkString.startsWith("//>") =>
343343
// Check for magic comments specifying dependencies
344-
val sourceCode = parsed.source.content().mkString
345344
println("Please using `:dep com.example::artifact:version` to add dependencies in the REPL")
346345
state
347346

0 commit comments

Comments
 (0)