Skip to content

Commit caaf917

Browse files
committed
Fix more rebase breakage
1 parent 6b8f206 commit caaf917

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -877,7 +877,7 @@ object CaptureSet:
877877
case CapturingType(parent, refs) =>
878878
recur(parent) ++ refs
879879
case tpd @ RefinedType(parent, _, rinfo: MethodType)
880-
if followResult && defn.isFunctionType(tpd) =>
880+
if followResult && defn.isFunctionNType(tpd) =>
881881
ofType(parent, followResult = false) // pick up capture set from parent type
882882
++ (recur(rinfo.resType) // add capture set of result
883883
-- CaptureSet(rinfo.paramRefs.filter(_.isTracked)*)) // but disregard bound parameters

0 commit comments

Comments
 (0)