Skip to content

Commit 0e55d78

Browse files
Merge pull request #5316 from dotty-staging/remove-quote-dead-code
Remove dead code
2 parents ad86b9c + 0a36538 commit 0e55d78

File tree

1 file changed

+0
-6
lines changed

1 file changed

+0
-6
lines changed

compiler/src/dotty/tools/dotc/core/quoted/PickledQuotes.scala

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -22,12 +22,6 @@ import scala.reflect.ClassTag
2222
object PickledQuotes {
2323
import tpd._
2424

25-
/** Pickle the tree of the quoted.Expr */
26-
def pickleExpr(tree: Tree)(implicit ctx: Context): scala.quoted.Expr[Any] = {
27-
val pickled = pickleQuote(tree)
28-
scala.runtime.quoted.Unpickler.unpickleExpr(pickled, Nil)
29-
}
30-
3125
/** Pickle the tree of the quote into strings */
3226
def pickleQuote(tree: Tree)(implicit ctx: Context): scala.runtime.quoted.Unpickler.Pickled = {
3327
if (ctx.reporter.hasErrors) Nil

0 commit comments

Comments
 (0)