home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!gumby!wupost!cs.utexas.edu!ut-emx!emx.cc.utexas.edu
- From: hasan@emx.cc.utexas.edu (David A. Hasan)
- Newsgroups: comp.lang.ada
- Subject: Ada9X generic formal packages
- Message-ID: <78322@ut-emx.uucp>
- Date: 24 Aug 92 15:30:20 GMT
- Sender: news@ut-emx.uucp
- Organization: UTexas Center for Space Research
- Lines: 24
-
- I have a question regarding the use of generic formal
- packages in Ada9X.
-
- Suppose that there already exists a package <g1> in the
- library and that I want to "include" this generic package
- in the list of generic formals for a second generic package,
- <g2>:
-
- GENERIC
- ...
- WITH PACKAGE p1 IS NEW g1(<>);
- PACKAGE g2 IS
- ...
- END g2;
-
- My question is this:
-
- Do I have to provide a "WITH g1;" in the context clause
- for <g2>?
-
-
- --| David A. Hasan University of Texas at Austin
- --| Center for Space Research
- --| hasan@emx.cc.utexas.edu
-