comp.lang.ada
 help / color / mirror / Atom feed
* SPARK constants across packages
@ 2009-06-07 16:53 xorquewasp
  2009-06-07 17:21 ` Phil Thornley
  0 siblings, 1 reply; 3+ messages in thread
From: xorquewasp @ 2009-06-07 16:53 UTC (permalink / raw)


SPARK appears to forbid this:

  X : constant Integer := P.Y;

Where Y is a constant of the same type defined in package P;
The grammar for SPARK 95 specifies that only a
static_simple_expression can appear after the assignment
operator for constant declarations.

Is there a particular reason that SPARK doesn't allow this?



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

end of thread, other threads:[~2009-06-07 17:34 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-06-07 16:53 SPARK constants across packages xorquewasp
2009-06-07 17:21 ` Phil Thornley
2009-06-07 17:34   ` xorquewasp

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