File tree 2 files changed +3
-7
lines changed
compiler/src/dotty/tools/dotc/typer
2 files changed +3
-7
lines changed Original file line number Diff line number Diff line change @@ -57,12 +57,8 @@ class Synthesizer(typer: Typer)(using @constructorOnly c: Context):
57
57
ctx.compilationUnit.needsStaging = true // We will need to run ReifyQuotes
58
58
ref(defn.InternalQuoted_typeQuote ).appliedToType(t)
59
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
60
+ case arg :: Nil => quotedType(arg)
61
+ case _ => EmptyTree
66
62
end synthesizedTypeTag
67
63
68
64
val synthesizedTupleFunction : SpecialHandler = (formal, span) =>
Original file line number Diff line number Diff line change 1
1
(null: scala.Any).asInstanceOf[java.lang.Object]
2
- (null: scala.Any).asInstanceOf[java.lang .String]
2
+ (null: scala.Any).asInstanceOf[scala.Predef .String]
You can’t perform that action at this time.
0 commit comments