comp.lang.ada
 help / color / mirror / Atom feed
From: xorque <xorquewasp@googlemail.com>
Subject: Re: Minor SPARK problem concerning 'redundant' with clauses.
Date: Thu, 11 Jun 2009 01:45:30 -0700 (PDT)
Date: 2009-06-11T01:45:30-07:00	[thread overview]
Message-ID: <86079723-b7d5-4fcd-9040-82f85186c696@r37g2000yqd.googlegroups.com> (raw)
In-Reply-To: 445038cd-3a8b-4222-a49b-3b64d4fc3c72@r3g2000vbp.googlegroups.com

On Jun 10, 9:55 pm, britt.snodgr...@gmail.com wrote:
> I'm getting a bit rusty with my SPARK, but I think the with clause can
> be moved to the package body (only the body) while the inherit
> annotation remains in the package spec.  We always build with the -
> gnatwa switch to enable all optional warnings and I think this warning
> was easy to fix by moving the "with" to the body.

I see, thanks. I wasn't aware that 'with' and 'inherit' could be
distinct like that.




  reply	other threads:[~2009-06-11  8:45 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-06-10 19:31 Minor SPARK problem concerning 'redundant' with clauses xorquewasp
2009-06-10 20:11 ` sjw
2009-06-10 20:55 ` britt.snodgrass
2009-06-11  8:45   ` xorque [this message]
2009-06-11  8:52   ` Robin Messer
replies disabled

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