- EXTENSIBLE Types

From: [at]} <HvL>
Date: Thu, 13 Sep 2007 10:01:31 +0200

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

Hi Robert,

The Report says that LIMITED types are extensible but only in the defining
module, thus BB is correct with respect to your code (provided the snip
is! inside the same module).
If GP does not compile it this seems to be a compiler bug

Greetings

Harro


On Thu, 13 Sep 2007 09:45:16 +0200, Campbell, Robert D (SELEX) (UK
Edinburgh) <robert.d.campbell{([at]})nowhere.xy

>
> Hi
>
> The Report says that ABSTRACT and EXTENSIBLE types
> are extensible. Does this mean that LIMITED types are not?
>
> The code:
>
> TYPE
> A* = POINTER TO LIMITED RECORD END;
> B* = POINTER TO LIMITED RECORD (A) END;
>
> compiles with the Oms compiler and is rejected by the Gardens Point
> compiler.
>
>
> Is the Report ambiguous, or is this a compiler bug?
>
> Cheers
>
> Robert
>
>
> SELEX Sensors and Airborne Systems Limited
> Registered Office: Sigma House, Christopher Martin Road, Basildon, Essex
> SS14 3EL
> A company registered in England & Wales. Company no. 02426132
> ********************************************************************
> This email and any attachments are confidential to the intended
> recipient and may also be privileged. If you are not the intended
> recipient please delete it from your system and notify the sender.
> You should not copy it or use it for any purpose nor disclose or
> distribute its contents to any other person.
> ********************************************************************
>
> --- BlackBox
> --- send subject HELP or UNSUBSCRIBE to blackbox{([at]})nowhere.xy
>

--- BlackBox
--- send subject HELP or UNSUBSCRIBE to blackbox{([at]})nowhere.xy


----boundary-LibPST-iamunique-1136579707_-_-
Content-type: application/rtf
Content-transfer-encoding: base64
Content-Disposition: attachment; filename="rtf-body.rtf"

e1xydGYxXGFuc2lcYW5zaWNwZzEyNTJcZnJvbXRleHQgXGRlZmYwe1xmb250dGJsDQp7XGYwXGZz
d2lzcyBBcmlhbDt9DQp7XGYxXGZtb2Rlcm4gQ291cmllciBOZXc7fQ0Ke1xmMlxmbmlsXGZjaGFy
c2V0MiBTeW1ib2w7fQ0Ke1xmM1xmbW9kZXJuXGZjaGFyc2V0MCBDb3VyaWVy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dSBzaG91bGQgbm90IGNv
cHkgaXQgb3IgdXNlIGl0IGZvciBhbnkgcHVycG9zZSBub3IgZGlzY2xvc2Ugb3JccGFyDQo+IGRp
c3RyaWJ1dGUgaXRzIGNvbnRlbnRzIHRvIGFueSBvdGhlciBwZXJzb24uXHBhcg0KPiAqKioqKioq
KioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioq
KioqKlxwYXINCj5ccGFyDQo+IC0tLSBCbGFja0JveFxwYXINCj4gLS0tIHNlbmQgc3ViamVjdCBI
RUxQIG9yIFVOU1VCU0NSSUJFIHRvIGJsYWNrYm94QG9iZXJvbi5jaFxwYXINCj5ccGFyDQpccGFy
DQotLS0gQmxhY2tCb3hccGFyDQotLS0gc2VuZCBzdWJqZWN0IEhFTFAgb3IgVU5TVUJTQ1JJQkUg
dG8gYmxhY2tib3hAb2Jlcm9uLmNoXHBhcg0KXHBhcg0KfQ=


----boundary-LibPST-iamunique-1136579707_-_---
Received on Thu Sep 13 2007 - 10:01:31 UTC

This archive was generated by hypermail 2.3.0 : Thu Sep 26 2013 - 06:31:20 UTC