[Mono-list] First mono experiences / some benchmarks

Miguel de Icaza miguel@ximian.com
01 May 2002 18:44:36 -0400


Hello Stefan!

> Here's the exception:
> 
> .\Primitive.cs(346) error CS0103: The name `d' could not be found in
> `jscheme.Primitive'
> .\Primitive.cs(347) error CS0103: The name `d' could not be found in
> `jscheme.Primitive'
> (process:2144): ** WARNING **: unhandled exception
> System.NullReferenceException

Paolo isolated the mcs bug.  The issue is that the scope of variables in
switch statements in the MS C# compiler live until the end of the switch
statement, while they are local to a switch section in Mono.

I need to fix that.  In the meantime, I was able to compile and run your
scheme interpreter by declaring d and z in the couple of places where
they were used.


Best wishes,
miguel.