Skip to content

Commit 90b8497

Browse files
committed
Rename ReadTastyTreesFromClasses to ReadTasty
1 parent 498ebce commit 90b8497

File tree

5 files changed

+6
-6
lines changed

5 files changed

+6
-6
lines changed

compiler/src/dotty/tools/dotc/consumetasty/TastyFromClass.scala

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ import scala.tasty.file.TastyConsumer
88
class TastyFromClass(consumer: TastyConsumer) extends TASTYCompiler {
99

1010
override protected def frontendPhases: List[List[Phase]] =
11-
List(new ReadTastyTreesFromClasses) :: // Load classes from tasty
11+
List(new ReadTasty) :: // Load classes from tasty
1212
Nil
1313

1414
override protected def picklerPhases: List[List[Phase]] = Nil

compiler/src/dotty/tools/dotc/decompiler/TASTYDecompiler.scala

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ import dotty.tools.dotc.core.Phases.Phase
1111
class TASTYDecompiler extends TASTYCompiler {
1212

1313
override protected def frontendPhases: List[List[Phase]] =
14-
List(new ReadTastyTreesFromClasses) :: // Load classes from tasty
14+
List(new ReadTasty) :: // Load classes from tasty
1515
Nil
1616

1717
override protected def picklerPhases: List[List[Phase]] = Nil

compiler/src/dotty/tools/dotc/fromtasty/ReadTastyTreesFromClasses.scala renamed to compiler/src/dotty/tools/dotc/fromtasty/ReadTasty.scala

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ import ast.Trees.Tree
1212
import CompilationUnit.mkCompilationUnit
1313
import Phases.Phase
1414

15-
class ReadTastyTreesFromClasses extends Phase {
15+
class ReadTasty extends Phase {
1616

1717
def phaseName: String = "tastyFrontend"
1818

compiler/src/dotty/tools/dotc/fromtasty/TASTYCompiler.scala

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ import dotty.tools.dotc.transform._
1010
class TASTYCompiler extends Compiler {
1111

1212
override protected def frontendPhases: List[List[Phase]] =
13-
List(new ReadTastyTreesFromClasses) :: Nil
13+
List(new ReadTasty) :: Nil
1414

1515
override def newRun(implicit ctx: Context): Run = {
1616
reset()

doc-tool/src/dotty/tools/dottydoc/DocCompiler.scala

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ import dotc.core.Mode
99
import dotc.{Compiler, CompilationUnit, Run}
1010
import dotc.typer.FrontEnd
1111

12-
import dotty.tools.dotc.fromtasty.{ReadTastyTreesFromClasses, TASTYRun}
12+
import dotty.tools.dotc.fromtasty.{ReadTasty, TASTYRun}
1313
import dotty.tools.dotc.transform.CookComments
1414

1515
/** Custom Compiler with phases for the documentation tool
@@ -53,7 +53,7 @@ class DocCompiler extends Compiler {
5353
}
5454

5555
override def phases: List[List[Phase]] = List(
56-
List(new ReadTastyTreesFromClasses),
56+
List(new ReadTasty),
5757
List(new DocFrontEnd),
5858
List(new CookComments),
5959
List(new DocImplicitsPhase),

0 commit comments

Comments
 (0)