[Mono-dev] F# Interactive on Mono 2.8 (DefineDynamicAssembly troubles)
kumpera at gmail.com
Mon Oct 11 09:22:45 EDT 2010
On Mon, Oct 11, 2010 at 9:58 AM, Tomas Petricek <tomas.petricek at gmail.com>wrote:
> 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
used to require. Since the 2.8 release mcs no longer requires it and this is
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
different from what F# expect and everything breaks.
There is a bugzilla entry tracking this problem:
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Mono-devel-list