From: "Brian R. Hanson" <brh@cray.com>
Subject: Re: Membership test problem
Date: 1996/10/04
Date: 1996-10-04T00:00:00+00:00 [thread overview]
Message-ID: <3255365E.2781@cray.com> (raw)
In-Reply-To: 1996Oct3.181107.34729@ocsystems.com
Joel VanLaven wrote:
> package body test1 is
> function is_tag1 (object : in tag1) return boolean is
> begin
> return object in tag1;
> end is_tag1;
> end test1;
You should have written
return tag1'class(object) in tag1;
otherwise object is treated as its declaration in the function header.
-- Brian Hanson
-- brh@cray.com
next prev parent reply other threads:[~1996-10-04 0:00 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
1996-10-03 0:00 Membership test problem Joel VanLaven
1996-10-04 0:00 ` Brian R. Hanson [this message]
1996-10-04 0:00 ` Robert A Duff
-- strict thread matches above, loose matches on Subject: below --
1996-10-04 0:00 Chris Sparks
1996-10-05 0:00 ` Robert A Duff
1996-10-06 0:00 ` Joel VanLaven
1996-10-07 0:00 ` Tucker Taft
1996-10-09 0:00 ` Joel VanLaven
replies disabled
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox