Up to Main Index Up to Journal for December, 2022 JOURNAL FOR FRIDAY 2ND DECEMBER, 2022 ______________________________________________________________________________ SUBJECT: A minor public dev branch update DATE: Fri 2 Dec 19:06:24 GMT 2022 Somehow it seems that I screwed up the minimal Go version required to compile WolfMUD. I know several issues required the version to be bumped up, but that seems to have been for the previous incarnation before the re-rewrite. When I started the rewrite I don't think the version was reset and we ended up with go.mod specifying Go 1.16 and docs/compiling-from-source.txt specifying Go 1.14 as the minimum version. Well it turns out that neither are correct, as pointed out to me by a user called wade. In text/fold.go math.MaxInt is used which was introduced in Go 1.17. Then in core/message.go strings.Cut is used, in term/term.go bytes.Cut is used. The Cut methods were not introduced until Go 1.18. What to do? I could replace the usage of Cut. Using math.MaxInt could be replaced with an in-line calculation. However, officially only the last two versions of Go are supported - currently Go 1.18 and Go 1.19. I've set the minimum version required to compile WolfMUD to be Go 1.18. The changes to go.mod and docs/compiling-from-source.txt have been made and pushed out to the public dev branch. Many thanks to user wade for spotting this and for taking the time to report it. After wrestling with my blunder, it looks like wade is working on some very interesting things with WolfMUD :) If you spot a bug or have a problem, please email me: diddymus@wolfmud.org A quick, short email could save you a lot of time and hassle⦠-- Diddymus Up to Main Index Up to Journal for December, 2022