comp.lang.ada
 help / color / mirror / Atom feed
From: Ken Garlington <garlingtonke@lmtas.lmco.com>
Subject: Re: Fun with WebAda/GNAT
Date: 1996/08/16
Date: 1996-08-16T00:00:00+00:00	[thread overview]
Message-ID: <3214572A.1632@lmtas.lmco.com> (raw)
In-Reply-To: 4uv6bs$ffd@dfw.dfw.net


David Weller wrote:
> 
> In article <32120233.484C@lmtas.lmco.com>,
> Ken Garlington  <garlingtonke@lmtas.lmco.com> wrote:
> >I created a driver procedure for a package I wanted to test, and
> >accidentally called the procedure's file "person_test.ads". I
> >got a warning about the file name, so I copied the file to
> >"person_test.adb" -- without deleting the .ads file. Here's the fun
> >error I got:
> >     1. with Person;
> >     2. procedure Person_Test is
> >                  |
> >        >>> file "person_test.ads" does not contain expected unit
> >        >>> expected unit "Person_Test"
> >        >>> found unit "Person_Test"
> >
> 
> But wait!  There's more!
> 
> We noticed a similar problem in the project we were doing.  It was
> clear there was a lurking .ads file around, but it wasn't in the
> directory.  We were a little confused until we realized that it was
> finding it in one of the directories in the ADA_INCLUDE_PATH !

Of course, with WebAda this sort of problem is really annoying, since
as far as I can tell there's no way to delete files!

-- 
LMTAS - "Our Brand Means Quality"




  reply	other threads:[~1996-08-16  0:00 UTC|newest]

Thread overview: 21+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1996-08-14  0:00 Fun with WebAda/GNAT Ken Garlington
1996-08-14  0:00 ` Robert Dewar
1996-08-15  0:00 ` David Weller
1996-08-16  0:00   ` Ken Garlington [this message]
1996-08-16  0:00   ` Robert Dewar
1996-08-17  0:00     ` Ken Garlington
1996-08-17  0:00       ` Robert Dewar
1996-08-18  0:00         ` Doug Smith
1996-08-18  0:00           ` Robert Dewar
1996-08-19  0:00             ` Ken Garlington
1996-08-19  0:00               ` Robert Dewar
1996-08-20  0:00               ` Doug Smith
1996-08-21  0:00                 ` Ken Garlington
1996-08-18  0:00   ` Ronald Cole
1996-08-18  0:00     ` Robert Dewar
1996-08-19  0:00       ` Doug Smith
1996-08-24  0:00         ` Robert Dewar
1996-08-20  0:00   ` Ronald Cole
1996-08-22  0:00     ` Robert Dewar
1996-08-23  0:00     ` Richard A. O'Keefe
1996-08-24  0:00       ` Robert Dewar
replies disabled

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