Skip to content

Commit 32dd051

Browse files
committed
Remove isCompiletimeAppliedType method
1 parent fc2bf60 commit 32dd051

File tree

1 file changed

+0
-11
lines changed

1 file changed

+0
-11
lines changed

scaladoc/src/dotty/tools/scaladoc/tasty/SyntheticSupport.scala

Lines changed: 0 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -5,17 +5,6 @@ import scala.quoted._
55

66
object SyntheticsSupport:
77

8-
extension (using Quotes)(t: reflect.TypeRepr)
9-
10-
def isCompiletimeAppliedType: Boolean = t.hackIsCompiletimeAppliedType(t)
11-
12-
private def hackIsCompiletimeAppliedType(rtpe: reflect.TypeRepr): Boolean =
13-
import dotty.tools.dotc
14-
given ctx: dotc.core.Contexts.Context = quotes.asInstanceOf[scala.quoted.runtime.impl.QuotesImpl].ctx
15-
val tpe = rtpe.asInstanceOf[dotc.core.Types.Type]
16-
ctx.definitions.isCompiletimeAppliedType(tpe.typeSymbol)
17-
end extension
18-
198
extension (using Quotes)(s: reflect.Symbol)
209
def isSyntheticFunc: Boolean =
2110
import reflect._

0 commit comments

Comments
 (0)