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 4bab1ed commit 943d84aCopy full SHA for 943d84a
compiler/src/dotty/tools/dotc/cc/CaptureOps.scala
@@ -88,8 +88,8 @@ extension (tp: Type)
88
if tp.isBoxed then refs ++ pcs else pcs
89
case tp: TypeRef if tp.symbol.isAbstractType => CaptureSet.empty
90
case tp: TypeProxy => getBoxed(tp.superType)
91
- case tp: AndType => getBoxed(tp.tp1) ++ getBoxed(tp.tp2)
92
- case tp: OrType => getBoxed(tp.tp1) ** getBoxed(tp.tp2)
+ case tp: AndType => getBoxed(tp.tp1) ** getBoxed(tp.tp2)
+ case tp: OrType => getBoxed(tp.tp1) ++ getBoxed(tp.tp2)
93
case _ => CaptureSet.empty
94
getBoxed(tp)
95
0 commit comments