On 8/15/06, Chip Salzenberg <[EMAIL PROTECTED]> wrote:
On Sat, Aug 12, 2006 at 08:14:52PM -0400, Charles Reiss wrote:
> I wrote:
[snip]
> >It also does not allow .pmc files to overide the default idea of
> >whether a vtable method is read-only.
>
> This remains unresolved though I'm not certain it should be allowed.
> The hard part of doing it correctly is handling inheritance.
It's an interface guarantee, and as such I think it's OK that it can't be
overridden in a derived class. Agree?
Er, when I first read that I thought you meant that with respect to
the inheritance issue, but reading again I'm not sure. But, anyways,
looking over pmc2c I found that doing it 'properly' was not too
difficult, so I've done that (read/writeness is inherited by default
and can be overridden). I provide the feature in the hope that people
will think really hard before using it to violate interface
guarantees.
-- Charles Reiss