comp.lang.ada
 help / color / mirror / Atom feed
From: "G.B." <bauhaus@futureapps.invalid>
Subject: Re: Question about reference types
Date: Mon, 27 Oct 2014 13:31:53 +0100
Date: 2014-10-27T13:31:53+01:00	[thread overview]
Message-ID: <m2ldvg$lu6$1@dont-email.me> (raw)
In-Reply-To: <aa04bd67-d170-48e3-a659-239fb8acd0a9@googlegroups.com>

On 27.10.14 13:09, rkodinets@gmail.com wrote:
> Hello,
> I'm Ada novice and I have some trouble with understanding the Implicit_Dereference aspect feature.
>
> I tried to use the feature with a read-only-access accessor object.
>     Get_Int(X).Data.all := 33; -- Error: left hand side of assignment must be a variable
>     Get_Int(X) := 33;          -- No error.


> Why is it so?

To me it looks like an effect of trying new features not
yet widely supported, or tested. But certainly worth a report
if confirmed.

  reply	other threads:[~2014-10-27 12:31 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-10-27 12:09 Question about reference types rkodinets
2014-10-27 12:31 ` G.B. [this message]
2014-10-27 12:37   ` rkodinets
2014-10-27 22:39     ` Randy Brukardt
2014-10-28 12:33       ` Martyn Pike
2014-10-28 13:05         ` Roman Kodinets
2014-10-28 19:50           ` Martyn Pike
2014-10-28 22:53             ` Roman Kodinets
2014-10-27 18:09 ` Martyn Pike
2014-10-28 13:41 ` Roman Kodinets
2014-10-28 17:45   ` Roman Kodinets
replies disabled

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