comp.lang.ada
 help / color / mirror / Atom feed
From: Mark Lorenzen <mark.lorenzen@gmail.com>
Subject: Re: Question about out parameters of unconstrained array type.
Date: Mon, 27 Feb 2012 05:48:30 -0800 (PST)
Date: 2012-02-27T05:48:30-08:00	[thread overview]
Message-ID: <4e2c786f-8485-436f-b9c5-c8c19cf00805@q12g2000yqg.googlegroups.com> (raw)
In-Reply-To: MPG.29b37490d1cb99be98968a@news.zen.co.uk

On 25 Feb., 23:44, Phil Thornley <phil.jpthorn...@gmail.com> wrote:
> > Would SPARK accept
>
> >    for I in S'Range loop
>
> > ?
>
> No - the subtype of the loop index is still regarded as anonymous.

Phil

Do you know the rationale for this? Why can't the examiner just
generate hypotheses like

loop__1__i <= s__index__subtype__1__last
loop__1__i >= s__index__subtype__1__first

and then generate appropriate hypotheses regarding
s__index__subtype__1__last and s__index__subtype__1__first?

Regards

Mark L



  reply	other threads:[~2012-02-27 13:49 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-02-25 15:19 Question about out parameters of unconstrained array type Peter C. Chapin
2012-02-25 15:33 ` Dmitry A. Kazakov
2012-02-25 18:20 ` Phil Thornley
2012-02-25 20:01   ` Simon Wright
2012-02-25 22:44     ` Phil Thornley
2012-02-27 13:48       ` Mark Lorenzen [this message]
2012-02-27 15:32         ` Phil Thornley
2012-02-25 23:37   ` Alexander Senier
2012-02-26  1:16   ` Peter C. Chapin
2012-02-26  9:14     ` Phil Thornley
2012-02-26 12:25       ` Alexander Senier
2012-02-26 13:20         ` Phil Thornley
2012-02-26 14:25         ` Niklas Holsti
2012-02-26 17:32         ` Jeffrey Carter
2012-02-26 15:29       ` Peter C. Chapin
replies disabled

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