dotgnu-general
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [DotGNU]A small doubt on ECMA , and a patch


From: Rhys Weatherley
Subject: Re: [DotGNU]A small doubt on ECMA , and a patch
Date: Fri, 18 Oct 2002 21:21:07 +1000

Gopal V wrote:

> Cscc throws an error about there being no 'new' in the second...
> But IMO, this is valid ... and so attached is my patch for this.
> Hopefully this is right ... (so did not commit directly).

Looks like I misread the spec.  The correct thing to do is to
issue a warning, apparently.  The two Foo's are completely
different methods, with the second hiding the first.

It's a simple change to the ReportDuplicates function to
call CCWarningOnLine instead of CCErrorOnLine, but someone
will need to re-run all of the cscctest test cases and update
the affected output files.  Any volunteers?

Cheers,

Rhys.

P.S. There is no need to Cc me on every bug you find Gopal.
I do read the list, you know. :-)


reply via email to

[Prev in Thread] Current Thread [Next in Thread]