Skip to content

Commit 988280f

Browse files
committed
Update testcase
1 parent dee72c8 commit 988280f

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

tests/neg-custom-args/captures/i23389.scala

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ package test1:
1515
val thunks: Collection[() => Unit] // that's fine
1616

1717
object FooImpl1 extends Foo:
18-
val thunks: Collection[() => Unit] = Collection.empty // error
18+
val thunks: Collection[() => Unit] = Collection.empty // was error, now ok
1919
val thunks2: Collection[() => Unit] = Collection.empty[() => Unit] // error
2020
val thunks3: Collection[() => Unit] = Collection.empty[() => Unit] // error
2121

@@ -31,6 +31,6 @@ package test2:
3131
val thunks: Collection[() => Unit] // that's fine
3232

3333
object FooImpl1 extends Foo:
34-
val thunks: Collection[() => Unit] = Collection.empty // error
34+
val thunks: Collection[() => Unit] = Collection.empty // was error, now ok
3535
val thunks2: Collection[() => Unit] = Collection.empty[() => Unit] // error
36-
val thunks3: Collection[() => Unit] = Collection.empty[() => Unit] // error
36+
val thunks3: Collection[() => Unit] = Collection.empty[() => Unit] // error

0 commit comments

Comments
 (0)