Re: Error in NotEqualsOperator.cs

13 views
Skip to first unread message

piter....@gmail.com

unread,
Oct 2, 2012, 2:54:34 PM10/2/12
to ssh...@googlegroups.com
Issue registered:

   https://github.com/PetroProtsyk/SSharp/issues/29

On Saturday, September 29, 2012 4:12:04 PM UTC+2, Andrew wrote:
The != operator uses Equal(left,right) as its comparison.  This will cause (byte)0 != (int)0 to be true.

The == operator uses DynamicMath.Eq, which I think should also be used in !=.

Reply all
Reply to author
Forward
0 new messages