Skip to content

Commit

Permalink
Drop annotatedToRepeated in Space.signature
Browse files Browse the repository at this point in the history
  • Loading branch information
dwijnand committed Jan 6, 2024
1 parent 241a243 commit 476176b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion compiler/src/dotty/tools/dotc/transform/patmat/Space.scala
Original file line number Diff line number Diff line change
Expand Up @@ -535,7 +535,7 @@ object SpaceEngine {
case ext: ProdSeqMatch => ext.productSelectorTypes.init ::: defn.ListType.appliedTo(ext.elemTp) :: Nil
case x @ NoExtractor => unreachable(x)

sig.map(_.annotatedToRepeated)
sig
}

/** Whether the extractor covers the given type */
Expand Down

0 comments on commit 476176b

Please sign in to comment.