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,1038b3dc09d106c2 X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2001-09-05 14:01:25 PST Path: archiver1.google.com!newsfeed.google.com!newsfeed.stanford.edu!news.tele.dk!small.news.tele.dk!193.174.75.178!news-fra1.dfn.de!news-koe1.dfn.de!news-han1.dfn.de!news.fh-hannover.de!news.cid.net!news.enyo.de!news1.enyo.de!not-for-mail From: Florian Weimer Newsgroups: comp.lang.ada Subject: Re: Dispatching Example Date: Wed, 05 Sep 2001 23:19:07 +0200 Organization: Enyo's not your organization Message-ID: <87zo89mj3o.fsf@deneb.enyo.de> References: <3B9547D9.BE2CC282@avercom.net> <3B964CA8.2E4C3A95@avercom.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Xref: archiver1.google.com comp.lang.ada:12773 Date: 2001-09-05T23:19:07+02:00 List-Id: Tucker Taft writes: > However, I believe the original question related to an > assignment statement rather than an initialization. > With an assignment statement, the LHS already has a value, > and hence a tag, and the implementation uses that tag > to control the dispatch. In an initialization, the LHS > doesn't have a tag yet, so the tag is statically determined > by the "compile-time" return type of Is_Item. Hmm, the whole discussion reminds me of the Ada reference in the famous 'Real Programmers Don't Use Pascal' paper. ;-)