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-Thread: a07f3367d7,3e341f7795ed8bda X-Google-Attributes: gida07f3367d7,public,usenet X-Google-NewGroupId: yes X-Google-Language: ENGLISH,ASCII-7-bit Received: by 10.216.138.27 with SMTP id z27mr2478045wei.13.1343313108215; Thu, 26 Jul 2012 07:31:48 -0700 (PDT) Path: ge7ni75591628wib.0!nntp.google.com!volia.net!news2.volia.net!feed-A.news.volia.net!border1.nntp.ams2.giganews.com!border2.nntp.ams2.giganews.com!border4.nntp.ams.giganews.com!border2.nntp.ams.giganews.com!nntp.giganews.com!newsfeed.straub-nv.de!news.swapon.de!weretis.net!feeder1.news.weretis.net!news.szaf.org!news.gnuher.de!news.enyo.de!.POSTED!not-for-mail From: Florian Weimer Newsgroups: comp.lang.ada Subject: Re: pragma Convention() Ada2012 Date: Sat, 21 Jul 2012 23:00:40 +0200 Message-ID: <87vchgu8w7.fsf@mid.deneb.enyo.de> References: <1olyz5p5952ya.i7joo9fs065h.dlg@40tude.net> Mime-Version: 1.0 X-Trace: news.enyo.de 1342904439 2847 172.17.135.6 (21 Jul 2012 21:00:39 GMT) X-Complaints-To: news@enyo.de Cancel-Lock: sha1:+6IlBaO1zkJxNYSckfvJCLPyCXY= Content-Type: text/plain; charset=us-ascii Date: 2012-07-21T23:00:40+02:00 List-Id: * Dmitry A. Kazakov: > On Sat, 21 Jul 2012 23:09:10 +0300, Niklas Holsti wrote: > >> The Convention aspect has the same effect as the Convention pragma, but >> it has the advantage that the entity to which the aspect applies is >> given by the position of the aspect specification, not by an identifier. > > On the other hand a pragma can be placed in the private part of the > package, which looks more appropriate for an implementation-specific thing. I don't think this is possible in general because the entity has usually been frozen at that point.