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=unavailable autolearn_force=no version=3.4.4 Path: border1.nntp.ams3.giganews.com!border1.nntp.ams2.giganews.com!border3.nntp.ams.giganews.com!border1.nntp.ams.giganews.com!nntp.giganews.com!feeder.erje.net!us.feeder.erje.net!nntp.club.cc.cmu.edu!micro-heart-of-gold.mit.edu!newsswitch.lcs.mit.edu!nntp.TheWorld.com!.POSTED!not-for-mail From: Robert A Duff Newsgroups: comp.lang.ada Subject: Re: GNAT GPL 2013 bug? Date: Fri, 09 Aug 2013 16:04:02 -0400 Organization: The World Public Access UNIX, Brookline, MA Message-ID: References: <19fr4wmxmen$.gjbias2fj461$.dlg@40tude.net> <1pe6z4dg2xk9j$.1wdn31ijaldz3.dlg@40tude.net> NNTP-Posting-Host: shell01.theworld.com Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: pcls7.std.com 1376078643 2922 192.74.137.71 (9 Aug 2013 20:04:03 GMT) X-Complaints-To: abuse@TheWorld.com NNTP-Posting-Date: Fri, 9 Aug 2013 20:04:03 +0000 (UTC) User-Agent: Gnus/5.1008 (Gnus v5.10.8) Emacs/21.3 (irix) Cancel-Lock: sha1:+ZtbLP9WeObClcPi4e88bek0TYA= X-Original-Bytes: 1598 Xref: number.nntp.dca.giganews.com comp.lang.ada:182896 Date: 2013-08-09T16:04:02-04:00 List-Id: "Dmitry A. Kazakov" writes: > Why? null considered an object is not class-wide, so I see no difference to > plain parameters. null.Foo would be illegal anyway and Foo (null) would be > ambiguous (in presence of several overriding instances). type T is tagged ...; type A is access T'Class; procedure P (X: access T); X : A := null; P(X); -- This is a dispatching call, so it needs to look at -- X.all'Tag, which doesn't exist. - Bob