Skip to content

Commit b4a6958

Browse files
committed
fix Ci failure
1 parent 2540bef commit b4a6958

File tree

1 file changed

+1
-1
lines changed
  • compiler/src/dotty/tools/dotc/transform/patmat

1 file changed

+1
-1
lines changed

compiler/src/dotty/tools/dotc/transform/patmat/Space.scala

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -345,7 +345,7 @@ class SpaceEngine(implicit ctx: Context) extends SpaceLogic {
345345
OrType(erase(tp1), erase(tp2))
346346
case AndType(tp1, tp2) =>
347347
AndType(erase(tp1), erase(tp2))
348-
case tp: RefinedType =>
348+
case tp: RefinedType if tp.refinedName.isTermName => // see pos/dependent-extractors.scala
349349
tp.derivedRefinedType(erase(tp.parent), tp.refinedName, WildcardType)
350350
case _ => tp
351351
}

0 commit comments

Comments
 (0)