From: eachus@spectre.mitre.org (Robert I. Eachus)
Subject: Re: Why a PROGRAM ERROR?
Date: 1998/12/14
Date: 1998-12-14T00:00:00+00:00 [thread overview]
Message-ID: <EACHUS.98Dec14120834@spectre.mitre.org> (raw)
In-Reply-To: 3671433E.79C04602@nowhere.com
In article <3671433E.79C04602@nowhere.com> Rusnak <bogus@nowhere.com> writes:
> Any time I try to cast the anonymous access type to
> My_Instance'Class to the type My_Class_Object_Type,
> a program error is raised. Why is this the case, why is the
> error not caught at compile time, and how can I resolve
> the error? It seems to only occur when a cast like this one is
> made inside an instantiation of a generic package.
Could it be a violation of accessability levels? The kluge
example changes the accessability level of the value assigned. (But I
would really have to see more of the code to see if this is the
problem, in particular, the declaration of Command_Object.)
--
Robert I. Eachus
with Standard_Disclaimer;
use Standard_Disclaimer;
function Message (Text: in Clever_Ideas) return Better_Ideas is...
prev parent reply other threads:[~1998-12-14 0:00 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
1998-12-10 0:00 Why a PROGRAM ERROR? Rusnak
1998-12-11 0:00 ` Matthew Heaney
1998-12-11 0:00 ` dennison
1998-12-11 0:00 ` Why a PROGRAM ERROR? A GNAT bug? Rusnak
1998-12-11 0:00 ` dewar
1998-12-14 0:00 ` Robert I. Eachus [this message]
replies disabled
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox