From: David SAUVAGE <david.sauvage@adalabs.com>
Subject: Re: Adjust primitive not called on defaulted nonlimited controlled parameter, bug or feature ?
Date: Wed, 17 Aug 2022 21:04:29 -0700 (PDT) [thread overview]
Message-ID: <7d1abe5c-4d52-4966-9c1b-a3ecc5837b41n@googlegroups.com> (raw)
In-Reply-To: <tdk4a8$lkve$1@dont-email.me>
> Adjust is called on assignment. Your code does no assignments.
> Right. A default parameter that is an object (as in this case) is simply
> passed to the subprogram, so there is no assignment when that happens, and
> thus no Adjust.
Thanks Jere, Jeffrey and Randy.
reproducer updated accordingly
https://gitlab.com/adalabs/reproducers/-/raw/main/adjust-not-called-on-defaulted-nonlimited-controlled-parameter/sources/reproducer-main.adb
prev parent reply other threads:[~2022-08-18 4:04 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-08-17 20:11 Adjust primitive not called on defaulted nonlimited controlled parameter, bug or feature ? David SAUVAGE
2022-08-17 22:49 ` Jere
2022-08-18 0:11 ` Jeffrey R.Carter
2022-08-18 1:23 ` Randy Brukardt
2022-08-18 4:04 ` David SAUVAGE [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