[Mono-dev] base call hoisting (error) and MonoDevelop w/Moonlight
marek.safar at seznam.cz
Fri Jul 9 18:07:14 EDT 2010
> I ran into this last weekend. It's a regression in the compiler. I
> was going to send a patch in Monday, but somebody on the mono team
> already did. I believe it's on monobin. They posted it on IRC, but I
> guess nobody has applied it yet.
It's not really regression, gmcs produced invalid IL for such construct
which I have discovered recently and until I implement this feature gmcs
reports ICE instead of generating invalid IL.
> What you need to do is move the base calls into their own method and
> call that method for the base hoist error.
Correct, the workaround is simple. Just move the call into a method
More information about the Mono-devel-list