[Mono-bugs] [Bug 624304] TypeLoadException in F# interactive with user-defined types

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Thu Jul 22 09:52:23 EDT 2010


http://bugzilla.novell.com/show_bug.cgi?id=624304

http://bugzilla.novell.com/show_bug.cgi?id=624304#c1


Zoltan Varga <vargaz at gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |rkumpera at novell.com,
                   |                            |vargaz at gmail.com

--- Comment #1 from Zoltan Varga <vargaz at gmail.com> 2010-07-22 13:52:22 UTC ---
With SVN HEAD, I get:

[0x7fd9b451e740:] EXCEPTION handling: System.NotSupportedException: Operation
is not supported.

"<unnamed thread>" tid=0x0x7fd9b451e740 this=0x0x7fd9b1c80e60 thread handle
0x403 state : not waiting owns ()
  at System.Reflection.MonoGenericClass.GetConstructorImpl
(System.Reflection.BindingFlags,System.Reflection.Binder,System.Reflection.CallingConventions,System.Type[],System.Reflection.ParameterModifier[])
<0x00087>
  at System.Type.GetConstructor
(System.Reflection.BindingFlags,System.Reflection.Binder,System.Reflection.CallingConventions,System.Type[],System.Reflection.ParameterModifier[])
<0x000a0>
  at System.Type.GetConstructor
(System.Reflection.BindingFlags,System.Reflection.Binder,System.Type[],System.Reflection.ParameterModifier[])
<0x0002f>
  at
Microsoft.FSharp.Compiler.AbstractIL.RuntimeWriter.queryableTypeGetConstructor
(Microsoft.FSharp.Compiler.AbstractIL.RuntimeWriter/emEnv,System.Type,Microsoft.FSharp.Compiler.AbstractIL.IL/ILMethodRef)
<0x0008b>
  at Microsoft.FSharp.Compiler.AbstractIL.RuntimeWriter.convConstructorSpec
(Microsoft.FSharp.Compiler.AbstractIL.RuntimeWriter/emEnv,Microsoft.FSharp.Compiler.AbstractIL.IL/ILMethodSpec)
<0x000e3>

So this is most likely the well-known generics+SRE problem.

-- 
Configure bugmail: http://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