[nem-en] Re: NemerleUnit works only from NAnt?

Kamil Dworakowski kamil.dworakowski at googlemail.com
Sat Dec 2 18:11:49 CET 2006


It turned out that it was due to having Nemerle.dll in the local 
directory. Damn, I have lost a few hours on that. Is it a bug?

Kamil Dworakowski

>  I have failed to compile a simple file with tests.
>
> But I was running the tests for the whole week! This is unbelievable. 
> The thing is that I was always using NAnt to build them. If I make a 
> target in the build file to build my one simple file with tests, it does.
>
> The other thing is that I get different errors whether I use -m or -r 
> option to reference NemerleUnit.dll.
>
> >ncc -r nunit.framework.dll -t library -o test.dll example.n -m 
> NemerleUnit.dll
> example.n:8:5:10:1: ←[01;31merror←[0m: expected `;'
> example.n:8:5:10:1: ←[01;31merror←[0m: parse error near `{...}' group: 
> unexpected token after expres
> sion in sequence
>
> >ncc -r nunit.framework.dll -t library -o test.dll example.n -r 
> NemerleUnit.dll
> ←[01;31merror←[0m: internal compiler error: got some unknown exception 
> of type System.TypeLoadExcept
> ion: Die Methode Run im Typ NemerleUnit.assertMacro der Assembly 
> NemerleUnit, Version=0.0.0.0, Cultu
> re=neutral, PublicKeyToken=null hat keine Implementierung.
> bei System.Reflection.Assembly.GetExportedTypes()
> bei 
> Nemerle.Compiler.LibraryReferenceManager.LoadTypesFrom(LibraryReference 
> lib)
> bei Nemerle.Compiler.LibraryReference.LoadContents()
> bei Nemerle.Compiler.LibraryReferenceManager.LoadLibrariesContents()
> bei Nemerle.Compiler.ManagerClass.LoadExternalLibraries()
> bei Nemerle.Compiler.ManagerClass.Run()
> bei Nemerle.CommandlineCompiler.MainClass.main_with_catching()
>




More information about the devel-en mailing list