Skip to content

Broken in 1.19 #1

@shawnsmithdev

Description

@shawnsmithdev

This breaks in 1.19. It is a mystery.

sps@hikari:~/gosrc/wbtree$ git status
On branch main
Your branch is up to date with 'origin/main'.

nothing to commit, working tree clean
sps@hikari:~/gosrc/wbtree$ go version
go version go1.18.6 linux/amd64
sps@hikari:~/gosrc/wbtree$ go test -v
=== RUN   TestTreeGet
--- PASS: TestTreeGet (0.00s)
=== RUN   TestTreeReplace
--- PASS: TestTreeReplace (0.00s)
=== RUN   TestTreeInsert
--- PASS: TestTreeInsert (0.19s)
=== RUN   TestTree2Get
--- PASS: TestTree2Get (0.00s)
=== RUN   TestTree2Replace
--- PASS: TestTree2Replace (0.00s)
=== RUN   TestTree2Insert
--- PASS: TestTree2Insert (0.25s)
=== RUN   TestTree2Remove
--- PASS: TestTree2Remove (0.34s)
=== RUN   TestTree2ForEach
--- PASS: TestTree2ForEach (0.19s)
PASS
ok  	github.com/shawnsmithdev/wbtree	0.971s
sps@hikari:~/gosrc/wbtree$ rm ~/opt/go && ln -s ~/opt/go1.19 ~/opt/go
sps@hikari:~/gosrc/wbtree$ go version
go version go1.19 linux/amd64
sps@hikari:~/gosrc/wbtree$ go test -v
# github.com/shawnsmithdev/wbtree [github.com/shawnsmithdev/wbtree.test]
./tree.go:277:11: internal compiler error: method Cmp on *uint8 not found

Please file a bug report including a short program that triggers the error.
https://go.dev/issue/new
FAIL	github.com/shawnsmithdev/wbtree [build failed]

Metadata

Metadata

Assignees

Labels

bugSomething isn't workingnot my faultdon't look at me (dependency, compiler, etc)

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions