comp.lang.ada
 help / color / mirror / Atom feed
From: arya@hawk.ulowell.edu (Arun Arya)
Subject: Is This Correct Ada or VMS Ada Compiler?
Date: 28 Jun 88 00:16:00 GMT	[thread overview]
Message-ID: <7814@swan.ulowell.edu> (raw)

Does Ada make types exported from generic packages that are
expressions on formal arguments identical to the passed type arguments?

generic
	type t is limited private;
package p is
	subtype tt is t;
	type xyz is array (1..10) of t;
end p;

with p;
procedure generictest is
	package q is new p(integer);
	x: integer;
	y: q.tt;
	z: q.xyz;
begin
	x := y;
	y := x;
	x := z(2);
end generictest;

Compiles without error on VMS.

             reply	other threads:[~1988-06-28  0:16 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1988-06-28  0:16 Arun Arya [this message]
  -- strict thread matches above, loose matches on Subject: below --
1988-07-08  2:26 Is This Correct Ada or VMS Ada Compiler? Keith Shillington @prodigal
replies disabled

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox