Skip to content

Commit bbe65e2

Browse files
committed
Fix test
1 parent d588b90 commit bbe65e2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/pos/capturing.scala

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
object Test:
22

33
extension [A <: Any retains *] (xs: LazyList[A])
4-
def lazyMap[B <: Any retains *] (f: A => B retains *): LazyList[B] retains f.type | A | B =
4+
def lazyMap[B <: Any retains *] (f: (A => B) retains *): LazyList[B] retains f.type | A | B =
55
val x: Int retains f.type | A = ???
66
val y = x
77
val z: Int retains A retains f.type = y

0 commit comments

Comments
 (0)