[Mono-bugs] [Bug 439125] CS0309 with generic methods where constraints have generic parameters

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Fri Mar 13 07:59:22 EDT 2009


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

User eugene.shalygin at gmail.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=439125#c3





--- Comment #3 from Eugene Shalygin <eugene.shalygin at gmail.com>  2009-03-13 05:59:20 MST ---
current svn version failed to compile this code and results in ICE:
$ mono gmcs.exe /home/eugene/Projects/test/test/Main.cs

Unhandled Exception: Mono.CSharp.InternalErrorException:
/home/eugene/Projects/test/test/Main.cs(24,16): test.Iint1 --->
Mono.CSharp.InternalErrorException: Parameters are not registered for method
`test.I<int>.Get'
  at Mono.CSharp.TypeManager.GetParameterData (System.Reflection.MethodBase mb)
[0x00000]
  at Mono.CSharp.PendingImplementation..ctor (Mono.CSharp.TypeContainer
container, .MissingInterfacesInfo[] missing_ifaces,
System.Collections.ArrayList abstract_methods, Int32 total) [0x00000]
  at Mono.CSharp.PendingImplementation.GetPendingImplementations
(Mono.CSharp.TypeContainer container) [0x00000]
  at Mono.CSharp.TypeContainer.DoDefineMembers () [0x00000]
  at Mono.CSharp.TypeContainer.Define () [0x00000]
  at Mono.CSharp.ClassOrStruct.Define () [0x00000]
  at Mono.CSharp.RootContext.PopulateTypes () [0x00000]
  --- End of inner exception stack trace ---
  at Mono.CSharp.RootContext.PopulateTypes () [0x00000]
  at Mono.CSharp.Driver.Compile () [0x00000]
  at Mono.CSharp.Driver.Main (System.String[] args) [0x00000]

-- 
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.


More information about the mono-bugs mailing list