Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit eaf441c

Browse files
committed
Update testcase
1 parent 16e8d0d commit eaf441c

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)

AltStyle によって変換されたページ (->オリジナル) /