File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
tests/neg-custom-args/captures Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -15,7 +15,7 @@ package test1:
15
15
val thunks : Collection [() => Unit ] // that's fine
16
16
17
17
object FooImpl1 extends Foo :
18
- val thunks : Collection [() => Unit ] = Collection .empty // error
18
+ val thunks : Collection [() => Unit ] = Collection .empty // was error, now ok
19
19
val thunks2 : Collection [() => Unit ] = Collection .empty[() => Unit ] // error
20
20
val thunks3 : Collection [() => Unit ] = Collection .empty[() => Unit ] // error
21
21
@@ -31,6 +31,6 @@ package test2:
31
31
val thunks : Collection [() => Unit ] // that's fine
32
32
33
33
object FooImpl1 extends Foo :
34
- val thunks : Collection [() => Unit ] = Collection .empty // error
34
+ val thunks : Collection [() => Unit ] = Collection .empty // was error, now ok
35
35
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
You can’t perform that action at this time.
0 commit comments