fn: breaking - fix type variables for better inference

This commit is contained in:
Keagan McClelland
2024-08-12 12:11:32 -07:00
parent 9bbd327a10
commit a026d64c1b
4 changed files with 8 additions and 10 deletions

View File

@@ -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
}