From: Rod Chapman <roderick.chapman@googlemail.com>
Subject: Re: Clarification for SPARK postconditions on hidden subprograms.
Date: Fri, 26 Jun 2009 03:28:11 -0700 (PDT)
Date: 2009-06-26T03:28:11-07:00 [thread overview]
Message-ID: <189c5cbe-10ce-46c7-89df-dcafcc78cfad@s6g2000vbp.googlegroups.com> (raw)
In-Reply-To: b5695e1d-8385-4820-a710-94d269f0ddb3@r25g2000vbn.googlegroups.com
On Jun 26, 10:29 am, xorque <xorquew...@googlemail.com> wrote:
> 82 --# post ((Descriptor = -1) -> (Error.Get_Error /=
> Error.Error_None)) or
> ^
> *** Semantic Error : 3: Incorrect number of actual
> parameters for call
> of subprogram Get_Error.
> Does SPARK take issue with parameterless functions? Not unreasonable
> at all if this is the case, as SPARK should probably see them as
> constants.
Does this function have a global variable by any chance? If so, then
in annotations, you have to give additional actual parameters.
See section 3.3 of the Examiner_GenVCs manual.
> I hadn't made the connection until just now that you were the
> author of those. Thanks for writing those - there's a distinct lack
> of SPARK related info online.
We have very deliberately made the _entire_ set of manuals
available with the GPL release. We hope in future to make
more tutorial-style information available on-line.
Yours,
Rod Chapman, SPARK Team
next prev parent reply other threads:[~2009-06-26 10:28 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-06-26 1:43 Clarification for SPARK postconditions on hidden subprograms xorque
2009-06-26 7:55 ` Phil Thornley
2009-06-26 9:29 ` xorque
2009-06-26 10:28 ` Rod Chapman [this message]
2009-06-26 10:41 ` xorque
2009-06-26 10:32 ` Phil Thornley
replies disabled
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox