Skip to content

Commit da8f531

Browse files
committed
Remove tree printers from library
1 parent 4c010ea commit da8f531

File tree

4 files changed

+7
-7
lines changed

4 files changed

+7
-7
lines changed

compiler/src/dotty/tools/dotc/quoted/QuoteContextImpl.scala

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ import dotty.tools.dotc.quoted.QuoteUtils._
1414
import dotty.tools.dotc.core.Decorators._
1515

1616
import scala.quoted.QuoteContext
17-
import scala.quoted.reflection.printers.{Extractors, SourceCode, SyntaxHighlight}
17+
import dotty.tools.dotc.quoted.printers.{Extractors, SourceCode, SyntaxHighlight}
1818

1919
import scala.internal.quoted.PickledQuote
2020
import scala.tasty.reflect._

library/src/scala/quoted/reflection/printers/Extractors.scala renamed to compiler/src/dotty/tools/dotc/quoted/printers/Extractors.scala

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
1-
package scala.quoted
2-
package reflection.printers
1+
package dotty.tools.dotc.quoted.printers
2+
3+
import scala.quoted._
34

45
object Extractors {
56

library/src/scala/quoted/reflection/printers/SourceCode.scala renamed to compiler/src/dotty/tools/dotc/quoted/printers/SourceCode.scala

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
1-
package scala.quoted
2-
package reflection.printers
1+
package dotty.tools.dotc.quoted.printers
32

43
import scala.annotation.switch
4+
import scala.quoted._
55

66
/** Printer for fully elaborated representation of the source code */
77
object SourceCode {

library/src/scala/quoted/reflection/printers/SyntaxHighlight.scala renamed to compiler/src/dotty/tools/dotc/quoted/printers/SyntaxHighlight.scala

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
1-
package scala.quoted
2-
package reflection.printers
1+
package dotty.tools.dotc.quoted.printers
32

43
trait SyntaxHighlight {
54
def highlightKeyword(str: String): String

0 commit comments

Comments
 (0)