[Mono-bugs] [Bug 63408][Wis] New - "New" keyword not recognized in "As New" combination

bugzilla-daemon@bugzilla.ximian.com bugzilla-daemon@bugzilla.ximian.com
Thu, 19 Aug 2004 05:16:29 -0400 (EDT)


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 jwezel@compumaster.de.

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

--- shadow/63408	2004-08-19 05:16:29.000000000 -0400
+++ shadow/63408.tmp.2398	2004-08-19 05:16:29.000000000 -0400
@@ -0,0 +1,56 @@
+Bug#: 63408
+Product: Mono: Compilers
+Version: unspecified
+OS: 
+OS Details: 
+Status: NEW   
+Resolution: 
+Severity: 
+Priority: Wishlist
+Component: Basic
+AssignedTo: mono-bugs@ximian.com                            
+ReportedBy: jwezel@compumaster.de               
+QAContact: mono-bugs@ximian.com
+TargetMilestone: ---
+URL: 
+Cc: 
+Summary: "New" keyword not recognized in "As New" combination
+
+Description of Problem:
+"New" keyword not recognized in "As New" combination
+
+Steps to reproduce the problem:
+[root@lwezel tmp]# cat test.vb
+imports System
+
+Module Module1
+
+    Sub Main()
+        Dim a() As New System.Collections.Specialized.NameValueCollection
+        Console.WriteLine(a.Length)
+        a("test") = "value"
+        Console.WriteLine(a("test"))
+
+    End Sub
+
+End Module
+[root@lwezel tmp]# mbas test.vb
+--------
+MonoBASIC: THIS IS STILL ALPHA AND UNSUPPORTED SOFTWARE, USE AT YOUR OWN 
+RISK.
+--------
+test.vb(7,0) error BC30002: Cannot find type `Mono.MonoBASIC.New[]'
+Compilation failed: 1 Error(s), 0 warnings
+[root@lwezel tmp]#
+
+
+Actual Results:
+compilation errors
+
+Expected Results:
+should not stop compilation at this time
+
+How often does this happen? 
+always
+
+Additional Information: