[Mono-dev] F# Interactive on Mono 2.8 (DefineDynamicAssembly troubles)
Rodrigo Kumpera
kumpera at gmail.com
Mon Oct 11 09:22:45 EDT 2010
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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.ximian.com/pipermail/mono-devel-list/attachments/20101011/009ce512/attachment-0001.html
More information about the Mono-devel-list
mailing list