[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[DotGNU]A small doubt on ECMA , and a patch
From: |
Gopal V |
Subject: |
[DotGNU]A small doubt on ECMA , and a patch |
Date: |
Fri, 18 Oct 2002 15:43:08 +0530 |
User-agent: |
Mutt/1.2.5i |
Hi All,
I have been hacking on the compiler lately , and came upon
this.
class Parent
{
public void Foo() {}
}
class Child: Parent
{
private void Foo() {}
}
Would this code compile as per ECMA spec ?
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).
Gopal
--
The difference between insanity and genius is measured by success
override.cs
Description: Text document
patch
Description: Text document
- [DotGNU]A small doubt on ECMA , and a patch,
Gopal V <=