comp.lang.ada
 help / color / mirror / Atom feed
From: "Dmitry A. Kazakov" <mailbox@dmitry-kazakov.de>
Subject: Re: Ada 2005 puzzle
Date: Tue, 24 Jul 2012 09:54:17 +0200
Date: 2012-07-24T09:54:17+02:00	[thread overview]
Message-ID: <e3lpckmcck22$.eqnl4sn38ezy$.dlg@40tude.net> (raw)
In-Reply-To: 57ed1bca-b503-492c-a3b1-012369484e93@googlegroups.com

On Mon, 23 Jul 2012 21:23:50 -0700 (PDT), Adam Beneschan wrote:

> On Monday, July 23, 2012 7:38:30 PM UTC-7, Randy Brukardt wrote:
>>>
>>> I don't understand that, I am not a language lawyer. You are. Is my example
>>> legal and GNAT wrong? In case it is illegal, then how do I change the
>>> aggregate to make it legal.
>> 
>> The example you have is illegal. But the reason it is illegal is not because 
>> there are any semantic problems with the construct -- it's illegal purely 
>> because it is difficult to implement on some compilers.
> 
> Just to forestall any possible confusion: I think Dmitry's example *would*
> be illegal if it didn't involve a null extension.  But since his original
> post did involve a null extension, I think the example in his post was
> legal and GNAT was wrong.  I'm guessing, though, that Dmitry probably
> started with a non-null type extension and just understandably simplified
> it too far.

Exactly.

I repeat it again. It is not about any concrete example. It is about the
principle that constructing function would allow writing an aggregate for a
derived type.

[where the later is fully visible of course, when only abstract ancestors
extended by null record are in between. Put whatever *rational*
restrictions here].

If it does not, then I really fail to understand the purpose of.

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



  reply	other threads:[~2012-07-26 14:51 UTC|newest]

Thread overview: 46+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-07-12 12:54 Ada 2005 puzzle Dmitry A. Kazakov
2012-07-12 15:48 ` Adam Beneschan
2012-07-12 16:34   ` Dmitry A. Kazakov
2012-07-19  6:53     ` Randy Brukardt
2012-07-19  7:55       ` Dmitry A. Kazakov
2012-07-20  2:22         ` Randy Brukardt
2012-07-20  7:20           ` Dmitry A. Kazakov
2012-07-21  0:04             ` Randy Brukardt
2012-07-21  8:34               ` Dmitry A. Kazakov
2012-07-24  2:38                 ` Randy Brukardt
2012-07-24  4:23                   ` Adam Beneschan
2012-07-24  7:54                     ` Dmitry A. Kazakov [this message]
2012-07-25 23:39                       ` Randy Brukardt
2012-07-26  7:41                         ` Dmitry A. Kazakov
2012-07-26 13:08                           ` Simon Wright
2012-07-26 13:55                             ` Dmitry A. Kazakov
2012-07-27  9:42                               ` AdaMagica
2012-07-27 10:32                                 ` Dmitry A. Kazakov
2012-07-27 11:58                                   ` Georg Bauhaus
2012-07-27 13:04                                     ` Dmitry A. Kazakov
2012-07-28  9:48                                       ` AdaMagica
2012-07-28 10:37                                         ` Dmitry A. Kazakov
2012-07-28 16:59                                           ` AdaMagica
2012-07-28 18:21                                             ` Dmitry A. Kazakov
2012-07-19  8:04       ` Maciej Sobczak
     [not found]         ` <juaghb$fv9$1@munin.nbi.dk>
2012-07-20  7:30           ` Dmitry A. Kazakov
2012-07-21 17:21             ` Vasiliy Molostov
2012-07-21 19:03               ` Dmitry A. Kazakov
2012-07-21 19:37                 ` Vasiliy Molostov
2012-07-21 20:23                   ` Dmitry A. Kazakov
2012-07-21 20:53                     ` Vasiliy Molostov
2012-07-22  7:41                       ` Dmitry A. Kazakov
2012-07-22  8:00                         ` Vasiliy Molostov
2012-07-22  8:19                           ` Dmitry A. Kazakov
2012-07-22  9:06                             ` Vasiliy Molostov
2012-07-22  9:34                               ` Dmitry A. Kazakov
2012-07-20  8:09           ` Maciej Sobczak
2012-07-20  8:27             ` Dmitry A. Kazakov
2012-07-20 11:30               ` Maciej Sobczak
2012-07-20 12:49                 ` Dmitry A. Kazakov
2012-07-21 22:46                   ` Maciej Sobczak
2012-07-22  8:03                     ` Dmitry A. Kazakov
2012-07-22 10:08               ` Florian Weimer
2012-07-22 11:18                 ` Dmitry A. Kazakov
2012-07-21  0:12             ` Randy Brukardt
2012-07-22  9:52       ` Florian Weimer
replies disabled

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