comp.lang.ada
 help / color / mirror / Atom feed
From: "Martin Dowie" <martin.dowie@nospam.baesystems.com>
Subject: Re: casecrash: language lawyers: C'mon!
Date: Wed, 18 Jul 2001 08:18:01 +0100
Date: 2001-07-18T08:18:01+01:00	[thread overview]
Message-ID: <3b553588$1@pull.gecm.com> (raw)
In-Reply-To: AF90BB90E03E608D.447DE4CBCE9D9148.37FD9A43DA8A1090@lp.airnews.net

I think what the original poster is getting at is that it
would seem perfectly obvious that the case statement is
referring to the data object called 'H' rather than the
enumerate 'H', so why can't the language be defined to
spot this case?


John R. Strohm <strohm@airmail.net> wrote in message
news:AF90BB90E03E608D.447DE4CBCE9D9148.37FD9A43DA8A1090@lp.airnews.net...
> Without digging out my long-buried LRM, I seem to recall that Ada is NOT,
I
> say again NOT, case-sensitive.
>
> That being the case,
>
>     H : Header;
>
> hides the enumeration literal H where you defined record_type, and your
> "when H =>" clause tried to resolve against the instance of Header, which
is
> obviously bogus.
[snip]






  reply	other threads:[~2001-07-18  7:18 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-07-17 12:58 casecrash: language lawyers: C'mon! Peter Hermann
2001-07-18  3:43 ` John R. Strohm
2001-07-18  7:18   ` Martin Dowie [this message]
2001-07-18  9:36     ` Philip Anderson
2001-07-19 21:39   ` Robert Dewar
2001-07-19 21:37 ` Robert Dewar
  -- strict thread matches above, loose matches on Subject: below --
2001-07-18  9:09 Peter Hermann
2001-07-18 20:57 ` Tucker Taft
2001-07-19  8:57   ` Peter Hermann
replies disabled

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