There seems to be no good way to detect if there is a risk of overflow when converting between integers, e.g. from uint32 to int32.

22 views
Skip to first unread message

shuang cui

unread,
Apr 24, 2024, 11:58:16 PMApr 24
to golang-tools

But this situation is actually very common and very common. Should a tool be added to handle this scenario?
Reply all
Reply to author
Forward
0 new messages