comp.lang.ada
 help / color / mirror / Atom feed
From: eachus@spectre.mitre.org (Robert I. Eachus)
Subject: Re: discriminants and tagged types
Date: 1998/09/02
Date: 1998-09-02T00:00:00+00:00	[thread overview]
Message-ID: <EACHUS.98Sep2154423@spectre.mitre.org> (raw)
In-Reply-To: 01bdd676$82f6cfa0$f330ea9e@ukp03332

In article <01bdd676$82f6cfa0$f330ea9e@ukp03332> "Bob Fletcher" <bob@radge.globalnet.co.uk> writes:

 > Is there a restriction on using descriminants in tagged types in Ada 95?

   Yes, you cannot provide defaults for discriminants of a tagged
type. (RM 3.7(11))

 > I know it can't be done in the GNAT compiler, it spits out an error...

   What can't be done?  It could be you are violating 3.7(11) or some
other rule, but I'd have to see the code.
--

					Robert I. Eachus

with Standard_Disclaimer;
use  Standard_Disclaimer;
function Message (Text: in Clever_Ideas) return Better_Ideas is...




       reply	other threads:[~1998-09-02  0:00 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <01bdd676$82f6cfa0$f330ea9e@ukp03332>
1998-09-02  0:00 ` Robert I. Eachus [this message]
1998-09-02  0:00 ` discriminants and tagged types Tucker Taft
replies disabled

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