comp.lang.ada
 help / color / mirror / Atom feed
* SPARK hide directive, hiding separate declaration.
@ 2008-01-03 11:59 leeerussell
  2008-01-04  3:16 ` roderick.chapman
  0 siblings, 1 reply; 2+ messages in thread
From: leeerussell @ 2008-01-03 11:59 UTC (permalink / raw)


Hello everyone

I think I may have found a similar problem discussed when searching,
but I felt that this problem is sufficiently different to warrant a
new post.

I am getting the following error code when using SPARK examiner:

Semantic Error   : 10: Illegal redeclaration of identifier foo.

The error is happening because I have a declaration of a separate in a
body that is otherwise all hidden from SPARK (using --# hide).  The
SPARK examiner cannot see the hidden declaration, so is complaining
about the separate.

Is there any thing like an --# unhide directive that would allow me to
let SPARK see the declaration in the body, but nothing else?

Thanks for any help

Lee Russell




^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2008-01-04  3:16 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-01-03 11:59 SPARK hide directive, hiding separate declaration leeerussell
2008-01-04  3:16 ` roderick.chapman

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