From: fred@polymnia.tsd.arlut.utexas.edu (Fred Hosch)
Subject: Unusual "use" semantics
Date: 8 Aug 90 21:21:51 GMT [thread overview]
Message-ID: <20@polymnia.tsd.arlut.utexas.edu> (raw)
My Ada compiler complains about the relation on the fourth line of the
following
with TEXT_IO;
procedure TEST is
begin
if TEXT_IO.COL = 1 then
TEXT_IO.PUT_LINE ("COL is 1");
else
TEXT_IO.PUT_LINE ("COL is not 1");
end if;
end TEST;
reporting: no operator visible for positive_count "=" universal integer.
If I add a context clause "use TEXT_IO;" it compiles successfully.
Is this a compiler bug or am I missing something in the LRM?
Fred Hosch
Applied Research Labs
UT Austin
fred@cs.utexas.edu
fred@titan.tsd.arlut.utexas.edu
next reply other threads:[~1990-08-08 21:21 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
1990-08-08 21:21 Fred Hosch [this message]
1990-08-08 22:37 ` Unusual "use" semantics Jim Marks
1990-08-09 12:45 ` Mike Wever
1990-08-09 15:59 ` Richard Pattis
1990-08-09 7:54 ` Rik Palo
1990-08-09 14:51 ` Allan Doyle
1990-08-09 16:15 ` Kurt Olender
1990-08-10 17:44 ` Alan Kaplan
replies disabled
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox