This mainly applies to dev.typeparams since everything breaks if you use generics and go.mod isn't set to 1.18, however I tested with tip and go1.16 and the same issue happens.
To reproduce:
package main
func main() {
println(Version)
}
//go:build !go1.16
// +build !go1.16
package main
const Version = "1.15"
//go:build go1.16
// +build go1.16
package main
const Version = "1.16"
This mainly applies to dev.typeparams since everything breaks if you use generics and go.mod isn't set to 1.18, however I tested with tip and go1.16 and the same issue happens.
To reproduce: