On Mon, May 22, 2017 at 5:19 PM, Ian Lance Taylor <i...@golang.org> wrote:

> Rejecting an unsigned comparison with zero would be a
> language change.
>

yes, but it is not just a comparison with zero, it is a "is it less than
zero, which it cannot possibly be since it is unsigned" so therefore it
would be enforcing a rule than no correct program can violate. This is the
kind of scenario under which other tweaks have gone in...


-- 
Michael T. Jones
michael.jo...@gmail.com

-- 
You received this message because you are subscribed to the Google Groups 
"golang-nuts" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to golang-nuts+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to