We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent fc2bf60 commit 32dd051Copy full SHA for 32dd051
scaladoc/src/dotty/tools/scaladoc/tasty/SyntheticSupport.scala
@@ -5,17 +5,6 @@ import scala.quoted._
5
6
object SyntheticsSupport:
7
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
19
extension (using Quotes)(s: reflect.Symbol)
20
def isSyntheticFunc: Boolean =
21
import reflect._
0 commit comments