Skip to content

Commit 7195952

Browse files
committed
Remove illegal use of WildcardType
1 parent 627b558 commit 7195952

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

compiler/src/dotty/tools/dotc/transform/PickleQuotes.scala

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -337,7 +337,7 @@ object PickleQuotes {
337337
// This and all closures in typeSplices are removed by the BetaReduce phase
338338
val types =
339339
if quote.tags.isEmpty then Literal(Constant(null)) // keep pickled quote without holeContents as small as possible
340-
else SeqLiteral(quote.tags, TypeTree(defn.QuotedTypeClass.typeRef.appliedTo(WildcardType)))
340+
else SeqLiteral(quote.tags, TypeTree(defn.QuotedTypeClass.typeRef.appliedTo(TypeBounds.emptyPolyKind)))
341341

342342
// This and all closures in termSplices are removed by the BetaReduce phase
343343
val termHoles =

0 commit comments

Comments
 (0)