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:
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
You can’t perform that action at this time.
0 commit comments