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=0.2 required=5.0 tests=BAYES_00,INVALID_MSGID, REPLYTO_WITHOUT_TO_CC autolearn=no autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,4e180de737833224 X-Google-Attributes: gid103376,public From: Tom Moran Subject: tagged type auto-"Use", was Re: Ada Java question => clarification Date: 1997/03/08 Message-ID: <3322353F.1633@bix.com>#1/1 X-Deja-AN: 224089255 References: <33167E7E.4351@fn3.freenet.tlh.fl.us> <33174046.4A25@fn3.freenet.tlh.fl.us> <33174B1A.5353@watson.ibm.com> Organization: InterNex Information Services 1-800-595-3333 Reply-To: tmoran@bix.com Newsgroups: comp.lang.ada Date: 1997-03-08T00:00:00+00:00 List-Id: Given: with root; package body x is type y is new root.some_tagged_type with ... A reference to root.some_inherited_procedure refers to just that, and takes root.xxx as a parameter. In order to take something of type y as a parameter one must say some_inherited_procedure(some_y_thing... which has many of the disadvantages (can't see where something came from) of a 'use' clause. OTOH, if some programming guidelines said "no USE clauses", this would be an easy way around the rule. As someone who rarely uses use, I find this troubling. Comments?