[Mono-list] Strange switch issue

"Andrés G. Aragoneses" knocte at gmail.com
Thu Feb 21 09:50:00 EST 2008


Nicola Dell'Amico escribió:
> 
> Chris Howie wrote:
>> On Feb 20, 2008 3:07 PM, Robert Jordan <robertj at gmx.net> wrote:
>>> Nicola Dell'Amico wrote:
>>>> Sadly , Monodevelop 0.18 doesn't report any error into the Error List !!
>>>> while in Build Output the exception output was shown: I had hard time
>>>> figuring out my code was faulty !
>>> It makes absolutely no sense to mix compiler exceptions with your own
>>> syntax errors in the same list.
>>>
>>> The build output exists for a reason: to look at it when something
>>> went wrong. It's your own fault if you didn't.
>> If I read the original message correctly, the point is that there is a
>> CS#### message for this error but instead of reporting it properly mcs
>> just explodes.
>>
> 
> Yes, you are right Chris.
> I don't care about Monodevelop, the post was about an exception
> improperly thrown by mcs instead of detecting a switch duplicate case
> error. That's all ...
> 
> Anyway, IMHO, I think Monodevelop shouldn't report 'Build successful'
> when mcs throws an exception... but I have no interest on further
> investigating on that.

I think you should file two bugs:
- One with the testcase that made mcs explode.
- One requesting that mcs/gmcs doesn't report 0 errors if it has found
an exception while parsing.

Regards,

	Andrés	[ knocte ]

-- 



More information about the Mono-list mailing list