From: Jeffrey Carter <spam@spam.com>
Subject: Re: generic parameter to generic package
Date: Tue, 20 Jan 2004 17:55:08 GMT
Date: 2004-01-20T17:55:08+00:00 [thread overview]
Message-ID: <0YdPb.19032$1e.14750@newsread2.news.pas.earthlink.net> (raw)
In-Reply-To: <fc116fae.0401200827.31ac838f@posting.google.com>
Mr. J. wrote:
> What M I doing wrong ?
>
> Compiler error:
>
> apply_string.ads:6:33: subtype mark required in this context
>
> apply_string.ads:6:33: found "My_Automat" declared at line 4
The compiler messages seem pretty clear: a subtype mark is required, and
you're supplying "My_Automat", which is not a subtype mark (it's a
package name). Packages are not (sub)types, and subprogram parameters
can only be (sub)types.
--
Jeff Carter
"It's symbolic of his struggle against reality."
Monty Python's Life of Brian
78
prev parent reply other threads:[~2004-01-20 17:55 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-01-20 16:27 generic parameter to generic package Mr. J.
2004-01-20 16:47 ` Robert I. Eachus
2004-01-20 17:55 ` Jeffrey Carter [this message]
replies disabled
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox