cmd/compile: "constant V overflows T" now reported as "cannot convert V to type T" #63563
Labels
compiler/runtime
Issues related to the Go compiler and/or runtime.
FrozenDueToAge
NeedsDecision
Feedback is required from experts, contributors, and/or the community before a change can be made.
Milestone
What version of Go are you using (
go version
)?Go1.21
Does this issue reproduce with the latest release?
Yes
What did you do?
I ran this program
which prints out
Go1.21.1
Go 1.17
What did you expect to see?
The old message until Go1.17 was much clearer
What did you see instead?
A clear message about an overflow
The text was updated successfully, but these errors were encountered: