comp.lang.ada
 help / color / mirror / Atom feed
From: Scott Renfro <srenfro@sirinet.net>
Subject: Re: Discriminant as default initial value
Date: 1997/04/02
Date: 1997-04-02T00:00:00+00:00	[thread overview]
Message-ID: <33424865.3C1B@sirinet.net> (raw)
In-Reply-To: 199704020043_MC2-13A2-3DDB@compuserve.com


> Robert Dewar <dewar@MERV.CS.NYU.EDU> replied:
> 
> >No, it works fine in the windows version too. This was a very vague
> >report,
> >I paid little attention to it. If people think they have found a problem
> >in GNAT, it should be properly written up, formatted according to the
> >suggestions in gnatinfo.txt, and sent to report@gnat.com.

My newsfeed has not received Robert's message, so I do not know the
original context.  I am getting this from Kees de Lezenne Coulander's
reply.

The reason it is a very vague _report_ is that the original message was
_not_ a report.  It was a question by a new to Ada programmer trying to
learn the language, and clearly stated as such.

I did not believe at the time that I was suffering from a GNAT bug,
rather that I did not understand something about discriminants.  I did
not want to send a 'pilot error' question to gnat as a bug report.  I
had investigated the resources I have both online and in paper form and
could not find an answer, although Cohen's Ada as a Second Language pp.
381-382 came as close as I could find and seemed to indicate that it was
permissible.  Having exhausted my resources, I decided to ask the
knowledgeable people of c.l.a.

Unfortunately, everyone seems focused on GNAT bugs and not whether or
not the use of discriminants as default initial values is permissible
according to the RM.  This has lead me to conclude that it must be
permissible, or someone would have surely said something, so it must be
something worth reporting.  I will now reformat my question as a bug
report and send it to report@gnat.com.

I would have been happier, though, if someone had said yes what you are
trying to do is permissible, or no, that cannot be permissible according
to the RM or given another hint of a location in the RM to check.

Oh well, off to report@gnat.com I go.  

Scott




  parent reply	other threads:[~1997-04-02  0:00 UTC|newest]

Thread overview: 17+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1997-04-02  0:00 Discriminant as default initial value Kees de Lezenne Coulande
1997-04-02  0:00 ` Robert Dewar
1997-04-07  0:00   ` Keith Thompson
1997-04-02  0:00 ` Scott Renfro [this message]
1997-04-02  0:00   ` Robert Dewar
  -- strict thread matches above, loose matches on Subject: below --
1997-03-30  0:00 Kees de Lezenne Coulande
1997-03-30  0:00 ` Robert Dewar
1997-03-29  0:00 Scott Renfro
1997-03-29  0:00 ` Matthew Heaney
1997-03-30  0:00   ` Scott Renfro
1997-03-30  0:00 ` Bob Klungle
1997-03-30  0:00   ` Robert Dewar
1997-03-31  0:00     ` Bob Klungle
1997-03-31  0:00       ` Robert Dewar
1997-03-31  0:00 ` Jon S Anthony
1997-03-31  0:00   ` Robert Dewar
1997-04-02  0:00   ` Jon S Anthony
replies disabled

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