comp.lang.ada
 help / color / mirror / Atom feed
* Why formal_part is not a declarative region?
@ 2013-11-01  6:57 Maxim Reznik
  2013-11-01 16:06 ` Adam Beneschan
  0 siblings, 1 reply; 2+ messages in thread
From: Maxim Reznik @ 2013-11-01  6:57 UTC (permalink / raw)


Hi all,

I read ARM "8.1 Declarative Region" for good sleep.

I wounder why formal_part neither access_to_subprogram_definition isn't included in list of declarative regions?

Consider next example:

type T is
 access function (A : Integer) return
 access function (A : Float) return Boolean;

According to ARM there is declarative region for T. It contains two declaration of A, but this is illegal.

What is wrong?

-- 
Maxim Reznik

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

end of thread, other threads:[~2013-11-01 16:06 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-11-01  6:57 Why formal_part is not a declarative region? Maxim Reznik
2013-11-01 16:06 ` Adam Beneschan

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