cmd/compile: constant expression overflow doesn't report an error #42732
Labels
FrozenDueToAge
NeedsInvestigation
Someone must examine and confirm this is a valid issue and not a duplicate of an existing one.
Milestone
https://play.golang.org/p/Ro-SJWdCh35
The compiler reports an error if a constant literal is too large to represent, but it doesn't if we exceed that value in constant arithmetic.
The text was updated successfully, but these errors were encountered: