https://bugzilla.novell.com/show_bug.cgi?id=462592

User [email protected] added comment
https://bugzilla.novell.com/show_bug.cgi?id=462592#c4


Rodrigo Kumpera <[email protected]> changed:

           What    |Removed                                         |Added
----------------------------------------------------------------------------
                 CC|                                                
|[email protected]
          Component|generics                                        |C#
            Product|Mono: Runtime                                   |Mono: 
Compilers
   Target Milestone|---                                             |SVN




--- Comment #4 from Rodrigo Kumpera <[email protected]>  2009-01-05 10:10:32 
MST ---
This is a compiler issue as gmcs generates bad code for
testcase.IInitializationExpression.AddRegistry<T>.

Let's look at what csc and gmcs generates:

//csc
method privatescope virtual hidebysig newslot instance default void
testcase.IInitializationExpression.AddRegistry<T> (int32 i)  cil managed 

//gmcs
method private virtual hidebysig newslot instance default void
testcase.IInitializationExpression.AddRegistry<T> (int32 A_1)  cil managed 

The visibility is not the same.


//csc
IL_0002:  call instance void class
['gtest-434-lib']testcase.ConfigurationExpression::AddRegistry<!!0> (int32)

//gmcs
IL_0002:  call instance void class
['gtest-434-lib']testcase.ConfigurationExpression::AddRegistry <[1]>(int32)

GMCS is inflating the method with the wrong type generic arguments.


-- 
Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
You are the assignee for the bug.
_______________________________________________
mono-bugs maillist  -  [email protected]
http://lists.ximian.com/mailman/listinfo/mono-bugs

Reply via email to