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 ebf5b96 commit 09152ebCopy full SHA for 09152eb
compiler/src/dotty/tools/dotc/transform/PCPCheckAndHeal.scala
@@ -179,7 +179,7 @@ class PCPCheckAndHeal(@constructorOnly ictx: Context) extends TreeMapWithStages(
179
case prefix: TermRef if tp.symbol.isSplice =>
180
prefix.symbol.info.argInfos match
181
case (tb: TypeBounds) :: _ =>
182
- ctx.error(em"Cannot splice $tp with wildcard type", pos)
+ ctx.error(em"Cannot splice $tp because it is a wildcard type", pos)
183
case _ =>
184
// Heal explicit type splice in the code
185
if level > 0 then getQuoteTypeTags.getTagRef(prefix) else tp
0 commit comments