bugDotGNU Portable.NET - Bugs: bug #11421, BOGUS : `override' used on a...

 
 

You are not allowed to post comments on this tracker with your current authentication level.

bug #11421: BOGUS : `override' used on a method with no corresponding `virtual'

Submitted by:  James Michael DuPont <mdupont>
Submitted on:  Tue 28 Dec 2004 06:17:23 PM UTC  
 
Category: NoneSeverity: 3 - Normal
Item Group: NoneStatus: Fixed
Privacy: PublicAssigned to: None
Open/Closed: Closed

Sat 28 May 2005 07:32:22 AM UTC, comment #2:

fixed in cvs

Deryk Robosson <drobosson>
Project Member
Wed 29 Dec 2004 08:37:34 AM UTC, comment #1:

Here is the patch that turns this error into a workaround
Index: cs_gather.c
===================================================================
RCS file: /cvsroot/dotgnu-pnet/pnet/cscc/csharp/cs_gather.c,v
retrieving revision 1.51
diff -u -r1.51 cs_gather.c
--- cs_gather.c 19 Jul 2004 01:42:23 -0000 1.51
+++ cs_gather.c 29 Dec 2004 08:35:39 -0000
@@ -1208,7 +1208,7 @@
{
if(!ILMemberGetBase((ILMember *)methodInfo))
{
- CCErrorOnLine(yygetfilename(method), yygetlinenum(method),
+ CCWarningOnLine(yygetfilename(method), yygetlinenum(method),
"`override' used on a method with no "
"corresponding `virtual'");
}
~

James Michael DuPont <mdupont>
Tue 28 Dec 2004 06:17:23 PM UTC, original submission:

cscc /nostdlib ../../testcase4.cs

namespace System {
public class Object {

~Object ()//../../testcase4.cs:4: `override' used on a method with no corresponding `virtual'

{
}
}
}

James Michael DuPont <mdupont>

 

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

CC list is empty

 

Do you think this task is very important?
If so, you can click here to add your encouragement to it.
This task has 0 encouragements so far.

Only logged-in users can vote.

 

Please enter the title of George Orwell's famous dystopian book (it's a date):

 

 

Follow 2 latest changes.

Date Changed By Updated Field Previous Value => Replaced By
Sat 28 May 2005 07:32:22 AM UTCdrobossonStatusNone=>Fixed
  Open/ClosedOpen=>Closed

Back to the top


Powered by Savane 3.1-cleanup1