[Mono-list] Complier Bug Prevents Compilation

Miguel de Icaza miguel at novell.com
Sun Oct 12 10:22:52 EDT 2008


> >From what I can tell its having trouble with a rather harmless looking
> method declaration:
> 
>     public override StrategyResult Initialize(IContext context)

Nope, that is not it.   The problem is caused in an invocation (see the
stack trace).

The best thing to do would be to create a small test case based on the
source file and line numbers listed in the compiler crash:

      [csc]    Block that caused the problem begin at:
/usr/src/monoSVN/ninject/trunk/src/Core/Activation/Strategies/FieldInjectionStrategy.cs(41,48):
      [csc]                      Block being compiled:
[/usr/src/monoSVN/ninject/trunk/src/Core/Activation/Strategies/FieldInjectionStrategy.cs(42,17):,/usr/src/monoSVN/ninject/trunk/src/Core/Activation/Strategies/FieldInjectionStrategy.cs(73,17):]
  

> 
> I am sure internally its a lot more complicated. I would really like
> to find a work around so I can get the code to compile on existing
> mono installations. Is this a known problem?
> 
> Any suggestions would be greatly appreciated.
> 
> 
> Charlie M
> _______________________________________________
> Mono-list maillist  -  Mono-list at lists.ximian.com
> http://lists.ximian.com/mailman/listinfo/mono-list



More information about the Mono-list mailing list