[Mono-list] mcs compilation of xsp.exe is a little strange...
Paolo Molaro
lupus@ximian.com
Tue, 30 Jul 2002 17:45:36 +0200
On 07/28/02 Francisco Figueiredo Jr. wrote:
> Here is the little test case which shows this strange behavior.
> As this is my first test case, please, let me know if I'm doing it the right
> way.
>
> I tried many variations, but it seems that if there is any object creation, all
> the code before it is left behind. If it is used an "indirect" object creation,
> like Console.WriteLine(new Object()) for example, there is no problem.
> Also, as stated below, if braces ('{') are used all the code is generated
> correctly.
Your sample case works correctly for me.
What version of mcs and of the runtime are you using?
lupus
--
-----------------------------------------------------------------
lupus@debian.org debian/rules
lupus@ximian.com Monkeys do it better