fn: breaking - fix type variables for better inference
This commit is contained in:
4 files changed
+8
-10
No files matched your search
+1
-1
@@ -427,7 +427,7 @@ func TestSingletonInitIsEmpty(t *testing.T) {
|
||||
// empty slice.
|
||||
func TestPropAlwaysNoneEmptyFilterMap(t *testing.T) {
|
||||
f := func(s []int) bool {
|
||||
filtered := FilterMap(s, Const[Option[int], int](None[int]()))
|
||||
filtered := FilterMap(s, Const[int](None[int]()))
|
||||
return len(filtered) == 0
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user