cmd/gc: converting len(slice) value to non-fitting numeric types should result in overflow error #33643
Labels
FrozenDueToAge
NeedsInvestigation
Someone must examine and confirm this is a valid issue and not a duplicate of an existing one.
WaitingForInfo
Issue is not actionable because of missing required information, which needs to be provided.
Milestone
What version of Go are you using (
go version
)?Does this issue reproduce with the latest release?
What operating system and processor architecture are you using (
go env
)?go env
OutputWhat did you do?
https://play.golang.org/p/4RP50Tv00i8
What did you expect to see?
https://play.golang.org/p/cvwZ7P8Fa_q
What did you see instead?
overflowing value is converted to
0
The text was updated successfully, but these errors were encountered: