[mono-vb] Regression in vbnc

Rolf Bjarne Kvinge rolflists at ya.com
Mon Aug 30 17:20:35 EDT 2010


Hi,

Thanks for the report and the test case, this has been fixed now.

Rolf

>-----Original Message-----
>From: mono-vb-bounces at lists.ximian.com [mailto:mono-vb-
>bounces at lists.ximian.com] On Behalf Of John Lenz
>Sent: sábado, 28 de agosto de 2010 4:50
>To: mono-vb at lists.ximian.com
>Subject: [mono-vb] Regression in vbnc
>
>Hi,
>
>The following code used to compile just fine but I just updated to the
>latest git version and it no longer compiles.  I did a bisection to see
>if I could find the bad commit, but the bisection only turned up
>
>7fc679facc4af92577d973fb96c4634b79235d98
>
>as the commit where it started failing, which isn't very helpful since
>that is the cecil merge.  Looks like it is a problem finding the
>constructor, since the error I get is "No non-narrowing (except object)"
>
>Thanks,
>John
>
>Option Strict On
>Option Explicit On
>
>Imports Generic=System.Collections.Generic
>
>Public Class Main
>
>   Private Class Foo
>       Public FooVal As Integer
>   End Class
>
>   Private dict As New Generic.Dictionary(Of String, Foo)
>
>   Public Shared Sub Main()
>       Dim dictCopy As New Generic.Dictionary(Of String, Foo)(dict)
>   End Sub
>
>End Class
>_______________________________________________
>Mono-vb mailing list
>Mono-vb at lists.ximian.com
>http://lists.ximian.com/mailman/listinfo/mono-vb



More information about the Mono-vb mailing list