comp.lang.ada
 help / color / mirror / Atom feed
From: "Dmitry A. Kazakov" <mailbox@dmitry-kazakov.de>
Subject: Re: Tasks, Entries, and Variables of a Class-wide type
Date: Mon, 1 Nov 2010 20:23:46 +0100
Date: 2010-11-01T20:23:46+01:00	[thread overview]
Message-ID: <vwll8mopf37z$.t3cpki2vjl05$.dlg@40tude.net> (raw)
In-Reply-To: ian2kg$js8$1@tornado.tornevall.net

On Mon, 01 Nov 2010 11:50:44 -0700, Jeffrey Carter wrote:

> On 11/01/2010 08:30 AM, Shark8 wrote:
>>
>> Crap; you're right!
>> While I certainly like the idea of having a task-construct within the
>> language itself, I'm still quite new to using them in-practice.
>> Thanks for pointing that out.
> 
> Interestingly, your original problem does not exist if you use composition 
> rather than type extension.

No, the original problem is that an object of unconstrained type cannot be
returned from an entry point. That is independent on whether the constraint
is the type tag, discriminant without a default, or array bounds.

-- 
Regards,
Dmitry A. Kazakov
http://www.dmitry-kazakov.de



  reply	other threads:[~2010-11-01 19:23 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-11-01  5:40 Tasks, Entries, and Variables of a Class-wide type Shark8
2010-11-01  9:21 ` Dmitry A. Kazakov
2010-11-01 15:30   ` Shark8
2010-11-01 18:50     ` Jeffrey Carter
2010-11-01 19:23       ` Dmitry A. Kazakov [this message]
2010-11-01 20:08         ` Georg Bauhaus
2010-11-01 20:56           ` Dmitry A. Kazakov
2010-11-01 19:28       ` Shark8
2010-11-01 20:49         ` Jeffrey Carter
2010-11-05 12:43         ` Robert A Duff
replies disabled

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