Skip to content

Commit 8323af9

Browse files
committed
Track aliased patvars in for comprehension
VarAlias attachment is previous tree in chain of patvars. The last is deemed the user var for reporting.
1 parent 52e3e82 commit 8323af9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

library/src/scala/collection/immutable/RedBlackTree.scala

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1236,7 +1236,7 @@ private[collection] object RedBlackTree {
12361236
if((t1 eq null) || (t2 eq null)) t1
12371237
else if (t1 eq t2) null
12381238
else {
1239-
val (l1, _, r1, k1) = split(t1, t2.key)
1239+
val (l1, _, r1, _) = split(t1, t2.key)
12401240
val tl = _difference(l1, t2.left)
12411241
val tr = _difference(r1, t2.right)
12421242
join2(tl, tr)

0 commit comments

Comments
 (0)