comp.lang.ada
 help / color / mirror / Atom feed
From: "Jeffrey R. Carter" <jrcarter@acm.org>
Subject: Re: Rename Problem
Date: Wed, 07 Mar 2007 01:11:37 GMT
Date: 2007-03-07T01:11:37+00:00	[thread overview]
Message-ID: <djoHh.1618$y92.563@attbi_s22> (raw)
In-Reply-To: <1173217813.885292.192700@q40g2000cwq.googlegroups.com>

Ant wrote:
> 
> This test procedure should compile. Sorry for the laziness.

No, it won't.

>    GENERIC -- receive message --
> 
>       id : integer;
> 
>       TYPE message_type IS PRIVATE;
> 
>    PACKAGE transmit_message IS
> 
>       PROCEDURE write;
> 
>    END transmit_message;

>    PACKAGE m1 IS NEW transmit_message (id, signals_record);
> 
>    msg (1) : signals RENAMES m1.signals_record;

There's nothing in M1 named Signals_Record.

-- 
Jeff Carter
"When danger reared its ugly head, he bravely
turned his tail and fled."
Monty Python and the Holy Grail
60



  parent reply	other threads:[~2007-03-07  1:11 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-03-06 16:17 Rename Problem Ant
2007-03-06 16:53 ` Georg Bauhaus
2007-03-06 21:50   ` Ant
2007-03-06 23:21     ` Adam Beneschan
2007-03-07  1:11     ` Jeffrey R. Carter [this message]
2007-03-07  3:47 ` Steve
replies disabled

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