Skip to content

Commit 391673d

Browse files
committed
Remove deadcode
1 parent ae88403 commit 391673d

File tree

5 files changed

+0
-79
lines changed

5 files changed

+0
-79
lines changed

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

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -54,11 +54,6 @@ class QuoteCompiler extends Compiler {
5454
else PickledQuotes.quotedExprToTree(checkValidRunExpr(exprUnit.expr.apply(new QuoteContext(ReflectionImpl(ctx)))))
5555
val source = SourceFile.virtual("<quoted.Expr>", "")
5656
CompilationUnit(source, tree, forceTrees = true)
57-
case typeUnit: TypeCompilationUnit =>
58-
assert(!putInClass)
59-
val tree = PickledQuotes.quotedTypeToTree(typeUnit.tpe)
60-
val source = SourceFile.virtual("<quoted.Type>", "")
61-
CompilationUnit(source, tree, forceTrees = true)
6257
}
6358
}
6459

@@ -96,9 +91,5 @@ class QuoteCompiler extends Compiler {
9691
val units = new ExprCompilationUnit(expr) :: Nil
9792
compileUnits(units)
9893
}
99-
def compileType(tpe: Type[_]): Unit = {
100-
val units = new TypeCompilationUnit(tpe) :: Nil
101-
compileUnits(units)
102-
}
10394
}
10495
}

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

Lines changed: 0 additions & 19 deletions
This file was deleted.

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

Lines changed: 0 additions & 38 deletions
This file was deleted.

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

Lines changed: 0 additions & 11 deletions
This file was deleted.

library/src/scala/tasty/reflect/Printers.scala

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

4-
import java.lang.Character.{LETTER_NUMBER, LOWERCASE_LETTER, OTHER_LETTER, TITLECASE_LETTER, UPPERCASE_LETTER}
5-
64
import scala.annotation.switch
75
import scala.quoted.show.SyntaxHighlight
86

0 commit comments

Comments
 (0)