Hello,
In Ada 202y draft 2, chapter 3.10.1 Incomplete Type Declarations:
23.e package body Pack is -- Could be separately compiled!
type Sep is ...;
X := new Sep;
end Pack;
should be:
package body Pack is -- Could be separately compiled!
type Sep is access Date;
-- X := new Sep; -- NOTE: error: statement not allowed in declarative
part
begin
X := new Sep;
end Pack;
or something alike?
Regards, Pascal.
________________________________________________________
You have received this message because you subscribed to the Ada-Comment
mailing list. To leave the Ada-Comment list, send an email with
'leave Ada-Comment' in the body to [email protected]. For help
on the other commands available, send 'help Ada-Comment' to the same address.
Problems? Send mail to [email protected]. This list is operated by the
Ada Resource Association, Inc., PO Box 8685, New York NY 10116-8685.