comp.lang.ada
 help / color / mirror / Atom feed
* Private declaration question
@ 1997-06-10  0:00 Jerry van Dijk
  1997-06-10  0:00 ` Anonymous
                   ` (3 more replies)
  0 siblings, 4 replies; 8+ messages in thread
From: Jerry van Dijk @ 1997-06-10  0:00 UTC (permalink / raw)



Why has the completion of a private declaration to be a full view ?

     1. package Oops is
     2.
     3.    type A_Type is limited private;
     4.
     5. private
     6.
     7.    type A_Type is array (Positive range <>) of Integer;
                |
        >>> full view of type must be definite subtype

After browsing the RM I think the error message comes from rule
7.3(4). If that is true, why is this ? It seems a logical construction
to protect A_Type objects from user interference.

--

-- Jerry van Dijk       | Leiden, Holland
-- Consultant           | Team Ada
-- Ordina Finance       | jdijk@acm.org




^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~1997-06-11  0:00 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
1997-06-10  0:00 Private declaration question Jerry van Dijk
1997-06-10  0:00 ` Anonymous
1997-06-10  0:00 ` Dale Stanbrough
1997-06-11  0:00   ` Jerry van Dijk
1997-06-10  0:00     ` John G. Volan
1997-06-10  0:00       ` John G. Volan
1997-06-10  0:00 ` Stephen Leake
1997-06-10  0:00 ` Robert A Duff

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