break
(inside while
) accepts a value, but does nothing with it
#1277
Labels
break
(inside while
) accepts a value, but does nothing with it
#1277
I'm not a Ruby programmer, but my expectations matched with Ruby's behavior.
If it's decided that the
while
loop shouldn't have a return value in this case, thenbreak
should not allow arguments.The text was updated successfully, but these errors were encountered: