From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00 autolearn=unavailable autolearn_force=no version=3.4.4 Path: border1.nntp.dca3.giganews.com!backlog3.nntp.dca3.giganews.com!border3.nntp.dca.giganews.com!border1.nntp.dca.giganews.com!nntp.giganews.com!news.glorb.com!peer02.iad.highwinds-media.com!news.highwinds-media.com!feed-me.highwinds-media.com!post02.iad.highwinds-media.com!news.flashnewsgroups.com-b7.4zTQh5tI3A!not-for-mail From: Stephen Leake Newsgroups: comp.lang.ada Subject: Re: Making guarantees about record components References: <8561rnwh1p.fsf@stephe-leake.org> Date: Thu, 21 Nov 2013 00:53:51 -0600 Message-ID: <85pppuutxc.fsf@stephe-leake.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3 (windows-nt) Cancel-Lock: sha1:8DAq9MCbhstRznwDCyfPK+0Nf7I= MIME-Version: 1.0 Content-Type: text/plain X-Complaints-To: abuse@flashnewsgroups.com Organization: FlashNewsgroups.com X-Trace: d99db528dae00eef2f4a312294 X-Received-Bytes: 1287 X-Received-Body-CRC: 3738593023 X-Original-Bytes: 1528 Xref: number.nntp.dca.giganews.com comp.lang.ada:183949 Date: 2013-11-21T00:53:51-06:00 List-Id: Jeffrey Carter writes: > On 11/20/2013 02:36 AM, Stephen Leake wrote: >> >> The rules for when the Dynamic_Predicate is checked are in LRM 3.2.3 >> 31/3. To me, that says any changes to an object of type R are checked, >> but not changes to M. > > See also Note 6 of that section, which says, "the predicate of a > record subtype is not checked when a subcomponent is modified." Ah, right. So R := (1, 2); would be checked, but R.A1 := 3; would not be checked. -- -- Stephe