On Wednesday, May 15, 2013 1:13:00 AM UTC-7, Hibou57 (Yannick Duchêne) wrote:
> Hi all,
>
> I already encountered something similar in the past, and it's back again.
> I can only solve it using a subtype instead of a type-new where I
> initially want a type-new, so I'm not happy with using subtype.
>
> The case: a child package don't see the full definition of a type from the
> private part of its parent package when it derives from that type as a
> type-new.
>
> Below is an example, using a discriminant, which is not required to expose
> the visibility issue, but which is the reason why I'm not happy to not be
> able to derive a type-new instead of a subtype: I can't force static-check
> What are your opinions about this issue?
7.3.1(4) says that the Value component should be visible at that point. This is a compiler bug.
-- Adam