Skip to content

Commit 9628388

Browse files
committed
Move tasty.CompilerInterface to scala.internal
This class is not part of the user interface.
1 parent 0c92a87 commit 9628388

File tree

3 files changed

+6
-4
lines changed

3 files changed

+6
-4
lines changed

compiler/src/dotty/tools/dotc/tastyreflect/ReflectionCompilerInterface.scala

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ import dotty.tools.dotc.typer.Implicits.{AmbiguousImplicits, DivergingImplicit,
1717
import dotty.tools.dotc.util.{SourceFile, SourcePosition, Spans}
1818

1919
import scala.internal.quoted.Unpickler
20-
import scala.tasty.reflect.CompilerInterface
20+
import scala.internal.tasty.CompilerInterface
2121

2222
import scala.tasty.reflect.TypeTest
2323

library/src/scala/tasty/reflect/CompilerInterface.scala renamed to library/src/scala/internal/tasty/CompilerInterface.scala

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
1-
package scala.tasty.reflect // TODO move to scala.internal.tasty.reflect
1+
package scala.internal.tasty
22

33
import scala.quoted.QuoteContext
4-
import scala.tasty.Reflection
4+
import scala.tasty.reflect._
55
import scala.internal.quoted.Unpickler
66

77
/** Tasty reflect abstract types
@@ -57,7 +57,7 @@ import scala.internal.quoted.Unpickler
5757
* |
5858
* +- TypeBoundsTree
5959
* +- WildcardTypeTree
60-
* |
60+
* |
6161
* +- CaseDef
6262
* +- TypeCaseDef
6363
* |

library/src/scala/tasty/Reflection.scala

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
package scala.tasty
22

3+
import scala.internal.tasty.CompilerInterface
4+
35
import scala.quoted.QuoteContext
46
import scala.quoted.show.SyntaxHighlight
57
import scala.tasty.reflect._

0 commit comments

Comments
 (0)