[Mono-bugs] [Bug 53974][Wis] Changed - We do not report CS0652 warnings (Comparison to integral constant is useless)

bugzilla-daemon@bugzilla.ximian.com bugzilla-daemon@bugzilla.ximian.com
Sat, 7 Feb 2004 01:38:30 -0500 (EST)


Please do not reply to this email- if you want to comment on the bug, go to the
URL shown below and enter your comments there.

Changed by miguel@ximian.com.

http://bugzilla.ximian.com/show_bug.cgi?id=53974

--- shadow/53974	2004-02-06 10:32:36.000000000 -0500
+++ shadow/53974.tmp.15308	2004-02-07 01:38:30.000000000 -0500
@@ -2,13 +2,13 @@
 Product: Mono/Compilers
 Version: unspecified
 OS: All
 OS Details: tested on both RH9 and WinXP
 Status: NEW   
 Resolution: 
-Severity: 
+Severity: Unknown
 Priority: Wishlist
 Component: C#
 AssignedTo: mono-bugs@ximian.com                            
 ReportedBy: spouliot@videotron.ca               
 QAContact: mono-bugs@ximian.com
 TargetMilestone: ---
@@ -41,6 +41,13 @@
 generated (even with optimization turned on). Don't know for the JIT.
 
 ------- Additional Comments From spouliot@videotron.ca  2004-02-06 10:32 -------
 Created an attachment (id=6631)
 CS0562.cs
 
+
+------- Additional Comments From miguel@ximian.com  2004-02-07 01:38 -------
+I figured out we should hook this up in Binary.DoResolve, before
+calling ResolveOperator, since we have done a cast there to check for
+constants already.  
+
+Will think a bit more about this, but its a nice debugging aid.