Skip to content

Cannot upgrade build later than Golang 1.22.x #835

@unquietwiki

Description

@unquietwiki

There appears to be an issue with how the software handles generics in Go versions past 1.22.x, particularly in terms of interfacing with the extsort library. The following build error comes up, when attempting to use a later version. This error occurs irrespective of the version of extsort used.

`
command\sync.go:372:38: cannot use extsort.New(filteredSrcObjectChannel, storage.FromBytes, storage.Less, extsortConfig) (value of type <-chan extsort.SortType) as chan extsort.SortType value in assignment

command\sync.go:419:41: cannot use extsort.New(filteredDstObjectChannel, storage.FromBytes, storage.Less, extsortConfig) (value of type <-chan extsort.SortType) as chan extsort.SortType value in assignment
`

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions