Remove dependency on gen to generate sets #746
Merged
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Previously back in 2017, the set implementations stopped updating due to #95. This PR looks a bit thoughtless, and we should decide how to deal with the code generated by gen. As for now, https://github.com/clipperhouse/gen has been deprecated, and also https://github.com/clipperhouse/set has been renamed to
setwriter
. Right now the commandmake install.dependencies
does not work in Go 1.22, becausego get
no longer supports legacyGOPATH
mode (see https://tip.golang.org/doc/go1.22#go-command). The set implementations are straightforward, so I would like to suggest to stop using thegen
tool to generate set types.