[Mono-list] More updates: compiler emits all code for itself

Miguel de Icaza miguel@ximian.com
27 Dec 2001 18:57:22 -0500

Hey guys,

   The compiler can now compile itself, but it can not close its types. 
That means that somewhere I left something unreferenced, but I can not
yet find out what ;-)

   That is very likely going to take me more time to figure out, as
there is not a lot of information from the class libraries as to what
went wrong.  Here is the current output:

windows$ mcs @response

Unhandled Exception: System.TypeLoadException: Could not load type Mono.CSharp.Expression from assembly mcs2, Version=
   at System.Reflection.Emit.TypeBuilder.TermCreateClass(TypeToken handle, Module module)
   at System.Reflection.Emit.TypeBuilder.CreateType()
   at Mono.CSharp.TypeContainer.CloseType() in c:\mono\mcs\mcs\class.cs:line 1508
   at Mono.CSharp.RootContext.CloseTypes() in c:\mono\mcs\mcs\rootcontext.cs:line 191
   at Mono.CSharp.Driver.MainDriver(String[] args) in c:\mono\mcs\mcs\driver.cs:line 616
   at Mono.CSharp.Driver.Main(String[] args) in c:\mono\mcs\mcs\driver.cs:line 180