comp.lang.ada
 help / color / mirror / Atom feed
From: Adam Beneschan <adam@irvine.com>
Subject: Re: GNAT GPL 2011 bug ?
Date: Tue, 7 Feb 2012 08:01:54 -0800 (PST)
Date: 2012-02-07T08:01:54-08:00	[thread overview]
Message-ID: <8bdba20d-b3f0-4cdb-9e7f-97a9e8b25a64@p13g2000yqd.googlegroups.com> (raw)
In-Reply-To: a88ad728-36c9-48b6-b301-b4a07c366c73@m5g2000yqk.googlegroups.com

On Feb 7, 7:50 am, Adam Beneschan <a...@irvine.com> wrote:
> On Feb 7, 4:05 am, David <d.combesdhen...@gmail.com> wrote:
>
> > Hi all,
>
> > The compiler accept the line mark by a arrow of the adb bellow and
> > refuse the line mark by "****". I think it must not accept the first
> > line to. What do you think ?
>
> I agree, it's a bug.  It shouldn't allow a constant L_I to be passed
> as an OUT parameter.

Before somebody else nitpicks, I don't think it's possible for the
Test procedure to declare an object of type Test.L_I'Class since L_I
isn't declared inside Test.  I stuck the code in a package and changed
Test.L_I to use the package name before trying it.

                    -- Adam



      reply	other threads:[~2012-02-07 16:03 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-02-07 12:05 GNAT GPL 2011 bug ? David
2012-02-07 15:50 ` Adam Beneschan
2012-02-07 16:01   ` Adam Beneschan [this message]
replies disabled

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox