From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00 autolearn=ham autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,4c019ad9cc913bbe X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2002-09-13 14:16:40 PST Path: archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-06!sn-post-01!supernews.com!corp.supernews.com!not-for-mail From: "Randy Brukardt" Newsgroups: comp.lang.ada Subject: Re: Ada2005 temp solo child Date: Fri, 13 Sep 2002 16:08:06 -0500 Organization: Posted via Supernews, http://www.supernews.com Message-ID: References: X-Newsreader: Microsoft Outlook Express 4.72.3612.1700 X-MimeOLE: Produced By Microsoft MimeOLE V4.72.3719.2500 X-Complaints-To: abuse@supernews.com Xref: archiver1.google.com comp.lang.ada:28961 Date: 2002-09-13T16:08:06-05:00 List-Id: Dr. Michael Paus wrote in message ... >One might even add that this is common practice in Java for example (where the >problem described here does not exist) to make package names globally unique. >All my packages are child packages of a hierarchy starting at "de.ibpaus" and >these packages are actually empty. Its just Ada which forces me to write two >empty dummy packages to satisfy the compiler. Why would you expect otherwise? The compiler has to look for the declarations in the parent (in order to determine if the child name is legal). Ada makes you declare almost everything before use. Why would this case be different? It doesn't feel much different to me than saying: Int := 10; and complaining that the compiler shouldn't need a declaration of Int. Randy.