We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 84edb13 commit 2d09b0dCopy full SHA for 2d09b0d
compiler/src/dotty/tools/dotc/typer/Synthesizer.scala
@@ -57,12 +57,8 @@ class Synthesizer(typer: Typer)(using @constructorOnly c: Context):
57
ctx.compilationUnit.needsStaging = true // We will need to run ReifyQuotes
58
ref(defn.InternalQuoted_typeQuote).appliedToType(t)
59
formal.argInfos match
60
- case arg :: Nil =>
61
- val deepDealias = new TypeMap:
62
- def apply(tp: Type): Type = mapOver(tp.dealias)
63
- quotedType(deepDealias(arg))
64
- case _ =>
65
- EmptyTree
+ case arg :: Nil => quotedType(arg)
+ case _ => EmptyTree
66
end synthesizedTypeTag
67
68
val synthesizedTupleFunction: SpecialHandler = (formal, span) =>
0 commit comments