cmd/compile: bootstrap glitch with version checking on min/max usage #65886
Labels
compiler/runtime
Issues related to the Go compiler and/or runtime.
NeedsInvestigation
Someone must examine and confirm this is a valid issue and not a duplicate of an existing one.
Milestone
Working on a linux/amd64 machine on tip:
I have run into a compiler bootstrapping issue with make.bash. To reproduce the issue, check out a Go repo at tip, then do this:
This adds a new file that makes use of the predeclared "min" function (added in Go 1.21). Once this file is in place, the boot strap crashes as follows:
This doesn't seem like intended behavior; if "min" is not allowed it would be better to have a more descriptive error.
Thanks
The text was updated successfully, but these errors were encountered: