comp.lang.ada
 help / color / mirror / Atom feed
From: roderick.chapman@googlemail.com
Subject: Re: SPARK hide directive, hiding separate declaration.
Date: Thu, 3 Jan 2008 19:16:11 -0800 (PST)
Date: 2008-01-03T19:16:11-08:00	[thread overview]
Message-ID: <c2e399c5-a1db-40c9-92e1-9c1abd7e54e0@e25g2000prg.googlegroups.com> (raw)
In-Reply-To: ea18afb3-55dd-415d-98b2-7ffc10bad160@e25g2000prg.googlegroups.com

On Jan 3, 11:59 am, leeeruss...@gmail.com wrote:
> Is there any thing like an --# unhide directive that would allow me to
> let SPARK see the declaration in the body, but nothing else?

Basically, the answer is "no".  Once something is hidden,
then that's that - it's Ada not SPARK.

If you're hiding an entire package body, then the
hide annotation is considered to hide the body AND
any subunits of it.

It's actually quite unusual to hide an entire package body,
since if the entire body is Ada (not SPARK), then just
don't submit it to the Examiner at all.

If the package body is mostly SPARK with hidden
subprograms, then move your subunit "up" into
the SPARK part of the package body and analyse it
there.

All the best,
 Rod Chapman, SPARK Team, Praxis

PS...if you're a supported SPARK customer, then
such enquiries should _always_ be sent to
sparkinfo@praxis-his.com - posting to comp.lang.ada
does not guarantee a response (well..certainly not from
SPARK Team anyway...)



      reply	other threads:[~2008-01-04  3:16 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-01-03 11:59 SPARK hide directive, hiding separate declaration leeerussell
2008-01-04  3:16 ` roderick.chapman [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