fn: breaking - fix type variables for better inference

This commit is contained in:
Keagan McClelland committed 2024-11-06 16:50:06 -07:00
1 parent 9bbd327a10
commit a026d64c1b
4 files changed
+8 -10

No files matched your search

+1 -1
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
}