[Mono-dev] F# Interactive on Mono 2.8 (DefineDynamicAssembly troubles)

Tomas Petricek tomas.petricek at gmail.com
Wed Oct 13 08:39:16 EDT 2010

thanks for the explanation! I must have missed the bugzilla entry
because the original bug report was on a diffierent issue. The F# team
confirmed to me that this is an issue that they are aware of (and have
a fix for it already), so hopefully, it will be fixed in the new
release of F#.


On Mon, Oct 11, 2010 at 2:22 PM, Rodrigo Kumpera <kumpera at gmail.com> wrote:
> Hi Tomas,
> On Mon, Oct 11, 2010 at 9:58 AM, Tomas Petricek <tomas.petricek at gmail.com>
> wrote:
>> Hi,
>> Is this some kind of special flag that the F# compiler should pass to
>> the "DefineDynamicAssembly" or is there another way to fix the issue
>> (without passing magical constants as arguments)? Should I send this
>> information to the F# team, so that they can make the next release of
>> F# working on Mono 2.8, or is this something that can be changed in
>> the next Mono release?
> CompilerContext is a special SRE mode that enables some extra features that
> mcs
> used to require. Since the 2.8 release mcs no longer requires it and this is
> going away
> for the 3.0 release. Else so, this is an internal flag that it's not meant
> for general use.
> The "Operation is not supported" problem is caused by F# using an instance
> of a TypeBuilder
> instead of a runtime type. Somewhere in the guts of mono' s SR(E) where
> doing something
> different from what F# expect and everything breaks.
> There is a bugzilla entry tracking this
> problem: https://bugzilla.novell.com/show_bug.cgi?id=419828

More information about the Mono-devel-list mailing list