comp.lang.ada
 help / color / mirror / Atom feed
From: "Yannick Duchêne (Hibou57)" <yannick_duchene@yahoo.fr>
Subject: Re: Type vs subtype about visibility of parent's private full definition
Date: Wed, 15 May 2013 22:45:24 +0200
Date: 2013-05-15T22:45:24+02:00	[thread overview]
Message-ID: <op.ww47xywzule2fv@cardamome> (raw)
In-Reply-To: 309db8ab-239d-4b06-9450-3a0b098f3953@googlegroups.com

Le Wed, 15 May 2013 16:44:05 +0200, Adam Beneschan <adam@irvine.com> a  
écrit:

> 7.3.1(4) says that the Value component should be visible at that point.   
> This is a compiler bug.
>
>                              -- Adam

Indeed this looks to say it. I would have not thought to look in “7.3.1  
Private Operations” as this was not about operation, and “8.3 Visibility”  
does not refers to it neither. Sometime it's not that easy to seek in the  
RM :p (even using the Index).

So I will go with subtype anyway (have no choice), and will mark this with  
a comment like “-- GNAT bug” to remind me (and may be others, who know)  
it's not an Ada issue.

Thanks Adam :)

-- 
“Syntactic sugar causes cancer of the semi-colons.” [1]
“Structured Programming supports the law of the excluded muddle.” [1]
[1]: Epigrams on Programming — Alan J. — P. Yale University



  reply	other threads:[~2013-05-15 20:45 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-05-15  8:13 Type vs subtype about visibility of parent's private full definition Yannick Duchêne (Hibou57)
2013-05-15 14:44 ` Adam Beneschan
2013-05-15 20:45   ` Yannick Duchêne (Hibou57) [this message]
2013-05-16 13:54     ` Marc C
2013-05-17  0:01   ` Randy Brukardt
2013-05-17 15:48     ` Adam Beneschan
2013-05-16 15:29 ` Simon Wright
2013-05-16 20:25   ` Yannick Duchêne (Hibou57)
2013-05-16 20:28     ` Yannick Duchêne (Hibou57)
replies disabled

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