- Interface confusion, was BB 1.6-rc5 Feedback / Bug

From: [at]} <Werner>
Date: Wed, 9 May 2007 15:10:18 +0200

----boundary-LibPST-iamunique-1324169472_-_-
Content-type: text/plain

Hi Harro,

> Hi Robert, this is about an old 'bug' Werner supposed to have noticed.
>
> I do not see why the interface you expect
>
> T1 = POINTER TO ABSTRACT RECORD (T0)
> (t: T0) Do, NEW, EXTENSIBLE
> (t: T1) Do, NEW, EXTENSIBLE
> END;
>
> T2 = POINTER TO EXTENSIBLE RECORD (T0)
> (t: T0) Do, NEW, EXTENSIBLE
> (t: T2) Do, NEW, EXTENSIBLE
> END;
>
> is necessary or even feasable.

Necessary: no
feasable: depends

it would give information about default implementations in T0, T1 ord T2


> The functionality of Procedure Do is defined in type T0. Types T1 or T2 do
> not change anything, neither in their own signatures (ABSTRACT and


they might change behavior

> On the other hand (t: T3) Do appears as extra signature in the interface

Yeah i got this clearified

> DEFINITIONs are the signatures of (exported) types and procedures (and
> constants and variables etc), they only show the base signatures; they
> show signatures in subtypes and -procedures only when these are 'new',
> meaning they have been changed functionally.
>
> I hope this clarifies the problems in question.

Absolutely ...

I just hat "Method-Tables" in my mind ... which of course are not
to be expressed by the Complete Interface.


> To - whishfully - better demonstrate all this, I add two bundles of
> BlackBox-encoded modules. The first enhances the discussed example using
> I hope both examples are built in a clarifying way.

Wow ... so much work for such a little problem ... thanks anyway.


-- 
mit freundlichen Grüssen
Werner Braun
Mobil +49 (0)178 145 8768 * Festnetz +49 (0)4344 81900-2
O³ Software GmbH & Co. KG * Höhndorfer Tor 2b * D-24217 Schönberg * Germany
Sitz der Gesellschaft Schönberg * HR Amtsgericht Kiel HRA 1802 PL
Persönlich haftende Gesellschafterin O³ Software GmbH * HR Amtsgericht Kiel 
HRB 2029 PL * Geschäftsführer Werner Braun
--- BlackBox
--- send subject HELP or UNSUBSCRIBE to blackbox{([at]})nowhere.xy----boundary-LibPST-iamunique-1324169472_-_-
Content-type: application/rtf
Content-transfer-encoding: base64
Content-Disposition: att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