[Mono-bugs] [Bug 29023][Nor] Changed - mcs should not allow calling a method that takes no arguments with the result of a void method

bugzilla-daemon@rocky.ximian.com bugzilla-daemon@rocky.ximian.com
16 Aug 2002 10:58:50 -0000


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 lupus@ximian.com.

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

--- shadow/29023	Thu Aug 15 14:53:36 2002
+++ shadow/29023.tmp.29012	Fri Aug 16 06:58:49 2002
@@ -1,23 +1,23 @@
 Bug#: 29023
 Product: Mono/MCS
 Version: unspecified
-OS: 
+OS: unknown
 OS Details: 
 Status: NEW   
 Resolution: 
-Severity: 
-Priority: Major
+Severity: Unknown
+Priority: Normal
 Component: Misc
 AssignedTo: mono-bugs@ximian.com                            
 ReportedBy: groith@tcrz.net               
 QAContact: mono-bugs@ximian.com
 TargetMilestone: ---
 URL: 
 Cc: 
-Summary: void/bool problem
+Summary: mcs should not allow calling a method that takes no arguments with the result of a void method
 
 mcs doesn't recognize, that void cann't be converted to bool.
 Execution crashs mono and .NET.
 The following should not compile:
 
 using System;
@@ -36,6 +36,10 @@
 {
         public void mytest()
         {
                 Console.WriteLine("test");
        }
 }
+
+------- Additional Comments From lupus@ximian.com  2002-08-16 06:58 -------
+I think a bug like this was already reported a while ago: we should
+make sure this gets into the test suite.