[Mono-devel-list] some mcs errors fixes

Marek Safar marek.safar at seznam.cz
Fri Oct 1 04:27:25 EDT 2004


Hello,

>Hi,
>
>John Luke <john.luke at gmail.com> writes:
>
>  
>
>>Some of the error tests in mcs/errors are reporting the wrong error
>>because they either need to use -t:library or have a Main method.  The
>>attached patch adds one or the other depending on the test (sometimes
>>the compiler option would fail).  It makes one test pass and adds 19
>>tests to mcs-expect-no-error.  Is this ok to commit?
>>    
>>
>
>  
>
I hope this is little misunderstanding. Compilation of every single file 
in this directory have to cause an error.
So, I am not sure whether this patch is useful.
Problem is that mcs compiler has not implemented all errors report and 
this is the reason why exist *-expect-* files..

>Thanks for the work.  Don't you have to remove them from
>mcs-expect-wrong-error?
>
>You'll also have to update the gmcs-expect-* files.  You can run
>
>     make compiler-tests
>
>in the toplevel mcs/ directory to also run the tests with gmcs.
>
>Once you update the gmcs-expect-* files, you can commit.
>
>  
>
Marek



More information about the Mono-devel-list mailing list