comp.lang.ada
 help / color / mirror / Atom feed
From: "Alejandro R. Mosteo" <alejandro@mosteo.com>
Subject: Re: Error popping up after "unrelated" generic instantiation
Date: Tue, 6 Sep 2016 11:22:12 +0200
Date: 2016-09-06T11:22:12+02:00	[thread overview]
Message-ID: <nqm1s4$urb$1@dont-email.me> (raw)
In-Reply-To: <19b271be-529d-4888-a040-dbd22be08114@googlegroups.com>

On 05/09/16 18:58, Stephen Leake wrote:
> On Saturday, September 3, 2016 at 8:54:17 AM UTC-5, Alejandro R. Mosteo wrote:
>> This builds (and runs) correctly. However, uncommenting line 23 in
>> src/main/rx-examples.ads results in the aforementioned error:
>>
>> rx-examples-minimal.adb:22:06: incorrect use of "Subscribe"
>> (and more similar instances in the same file).
>
> I can reproduce this with GNAT GPL 2016 on Windows 8.1.
>
> There are declarations of "Subscribe" as procedure and package in the code; apparently the compiler is confusing one of those. But it shouldn't; this looks like a compiler bug.

Thank you for the confirmation.
Álex.

      reply	other threads:[~2016-09-06  9:22 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-09-03 13:54 Error popping up after "unrelated" generic instantiation Alejandro R. Mosteo
2016-09-04 15:33 ` Stephen Leake
2016-09-04 17:08   ` Simon Wright
2016-09-05  9:29     ` Alejandro R. Mosteo
2016-09-05 16:58 ` Stephen Leake
2016-09-06  9:22   ` Alejandro R. Mosteo [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