comp.lang.ada
 help / color / mirror / Atom feed
From: Stephen Leake <stephen_leake@stephe-leake.org>
Subject: Re: Error popping up after "unrelated" generic instantiation
Date: Mon, 5 Sep 2016 09:58:55 -0700 (PDT)
Date: 2016-09-05T09:58:55-07:00	[thread overview]
Message-ID: <19b271be-529d-4888-a040-dbd22be08114@googlegroups.com> (raw)
In-Reply-To: <nqekm7$f9p$1@dont-email.me>

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.

  parent reply	other threads:[~2016-09-05 16:58 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 [this message]
2016-09-06  9:22   ` Alejandro R. Mosteo
replies disabled

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