[Mono-bugs] [Bug 75223][Nor] New - Compiling simple VB code results in numerous invalid warnings

bugzilla-daemon at bugzilla.ximian.com bugzilla-daemon at bugzilla.ximian.com
Fri Jun 10 16:20:24 EDT 2005


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 gert.driesen at pandora.be.

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

--- shadow/75223	2005-06-10 16:20:24.000000000 -0400
+++ shadow/75223.tmp.31292	2005-06-10 16:20:24.000000000 -0400
@@ -0,0 +1,47 @@
+Bug#: 75223
+Product: Mono: Compilers
+Version: 1.1
+OS: 
+OS Details: 
+Status: NEW   
+Resolution: 
+Severity: 
+Priority: Normal
+Component: Basic
+AssignedTo: mono-bugs at ximian.com                            
+ReportedBy: gert.driesen at pandora.be               
+QAContact: mono-bugs at ximian.com
+TargetMilestone: ---
+URL: 
+Cc: 
+Summary: Compiling simple VB code results in numerous invalid warnings
+
+Compiling even the simplest VB code results in numerous invalid warnings.
+
+Compile the following code snippet using mbas:
+
+Public Class Test
+	Public Shared Sub Main
+	End Sub
+End Class
+
+
+Actual result:
+
+Internal warning BC0168: The variable `1_LBArgs' is declared but never 
+used
+Internal warning BC0168: The variable `1_LBArgsNames' is declared but 
+never used
+Internal warning BC0168: The variable `1_LBCopyBack' is declared but 
+never used
+test.vb(3,9) warning BC0168: The variable `1_LBArgs' is declared but 
+never used
+test.vb(3,9) warning BC0168: The variable `1_LBArgsNames' is declared but 
+never used
+test.vb(3,9) warning BC0168: The variable `1_LBCopyBack' is declared but 
+never used
+Compilation succeeded: 6 warning(s)
+
+Expected result:
+
+Successful compilation with no warnings.


More information about the mono-bugs mailing list