comp.lang.ada
 help / color / mirror / Atom feed
From: BRYAN@SU-SIERRA.ARPA (Doug Bryan)
Subject: "=" importation
Date: Mon, 14-Oct-85 17:30:04 EDT	[thread overview]
Date: Mon Oct 14 17:30:04 1985
Message-ID: <8510150612.AA06862@UCB-VAX> (raw)


The Rolm/Data General ADE rev 2.3 had the following to say about
Steve's example:

Ada 2.30.0.0 10/14/85 at 14:22:25    :DK1:UDD:BRYAN:ADA:DEV:MAIN.ADA    page 1
------+-------------------------------------------------------------------------
    1 | package Import_Access_Type is
    2 |     type Pointer is access Integer;
    3 | end Import_Access_Type;
    4 | 
======+=========================================================================
------+-------------------------------------------------------------------------
    5 | with Import_Access_Type;
    6 | procedure Main is
    7 |     X, Y : Import_Access_Type.Pointer;
    8 | begin
    9 |     if (X = null) then
------+-------------------------------------------------------------------------
==>      if (X = null) then
***      Expression X = null matches no specification of operator =.
------+-------------------------------------------------------------------------
   10 | 	Y := X;
   11 |     end if;
   12 |     if (Import_Access_Type."=" (X, null)) then
   13 | 	Y := X;
   14 |     end if;
   15 | end Main;
   16 | 
======+=========================================================================


doug
-------

                 reply	other threads:[~1985-10-14 21:30 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed
replies disabled

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