Hi, Thanks for the report and the test case, this has been fixed now.
Rolf >-----Original Message----- >From: [email protected] [mailto:mono-vb- >[email protected]] On Behalf Of John Lenz >Sent: sábado, 28 de agosto de 2010 4:50 >To: [email protected] >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 >[email protected] >http://lists.ximian.com/mailman/listinfo/mono-vb _______________________________________________ Mono-vb mailing list [email protected] http://lists.ximian.com/mailman/listinfo/mono-vb
