Skip to content

Commit 320fb67

Browse files
committed
Simplify alignDependentFunction
1 parent c5cbcb7 commit 320fb67

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

compiler/src/dotty/tools/dotc/cc/CheckCaptures.scala

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -709,8 +709,6 @@ class CheckCaptures extends Recheck, SymTransformer:
709709
val eparent1 = recur(eparent)
710710
if eparent1 eq eparent then expected
711711
else CapturingType(eparent1, refs, boxed = expected0.isBoxed)
712-
case defn.DependentFunctionRefinementOf(_, _) =>
713-
expected
714712
case defn.FunctionOf(args, resultType, isContextual) =>
715713
actual match
716714
case defn.DependentFunctionRefinementOf(_, _) =>

0 commit comments

Comments
 (0)