From: Thomas A Peterson <tap@htc.honeywell.com>
Subject: Ada 95 Modular Types Question 4.5.1(2)
Date: 1997/11/26
Date: 1997-11-26T00:00:00+00:00 [thread overview]
Message-ID: <vch4t4ztzb3.fsf@yertle.htc.honeywell.com> (raw)
If I define a modular type in a package and use the type in another
compilation unit are the logical operators visible by default?
The GNAT compiler and Rational Apex compiler differ with respect to the
visibility of the logical operators and I would like to send someone a bug
report.
Here is an example...
package Example is
type Unsigned_Byte is mod 256;
end Example;
with Example;
procedure Test_Example is
A : Example.Unsigned_Byte := 11;
B : Example.Unsigned_Byte := 37;
C : Example.Unsigned_Byte;
begin
C := A or B;
--C := Example."or"(A, B);
end Test_Example;
Thanks, Tom
next reply other threads:[~1997-11-26 0:00 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
1997-11-26 0:00 Thomas A Peterson [this message]
1997-11-26 0:00 ` Ada 95 Modular Types Question 4.5.1(2) Tucker Taft
1997-11-26 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