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,FREEMAIL_FROM autolearn=unavailable autolearn_force=no version=3.4.4 X-Received: by 10.99.121.141 with SMTP id u135mr11520043pgc.90.1505327685753; Wed, 13 Sep 2017 11:34:45 -0700 (PDT) X-Received: by 10.36.17.11 with SMTP id 11mr176986itf.3.1505327685713; Wed, 13 Sep 2017 11:34:45 -0700 (PDT) Path: eternal-september.org!reader01.eternal-september.org!reader02.eternal-september.org!news.eternal-september.org!feeder.eternal-september.org!border1.nntp.ams1.giganews.com!nntp.giganews.com!peer03.ams1!peer.ams1.xlned.com!news.xlned.com!peer03.am4!peer.am4.highwinds-media.com!peer03.iad!feed-me.highwinds-media.com!news.highwinds-media.com!o200no964263itg.0!news-out.google.com!p6ni1001itp.0!nntp.google.com!127no965575itw.0!postnews.google.com!glegroupsg2000goo.googlegroups.com!not-for-mail Newsgroups: comp.lang.ada Date: Wed, 13 Sep 2017 11:34:45 -0700 (PDT) In-Reply-To: Complaints-To: groups-abuse@google.com Injection-Info: glegroupsg2000goo.googlegroups.com; posting-host=51.174.245.155; posting-account=uulyKwoAAAA86DO0ODu--rZtbje8Sytn NNTP-Posting-Host: 51.174.245.155 References: <915874b5-52c0-4aa8-9023-82fddedb816f@googlegroups.com> <67345f73-530c-400b-9eb4-63eeb440154c@googlegroups.com> <9a6338d9-83be-4e45-b8b7-edc56e33537f@googlegroups.com> <2deb28e2-f7e8-4461-b8b8-c2c6cf2784aa@googlegroups.com> <5de470d2-aa3d-4c02-ae2b-266c33a289fe@googlegroups.com> <5126ef7a-3324-4e44-b110-5e4838189f5f@googlegroups.com> <3c76c2ed-319f-410c-8dec-6a80a0948c7a@googlegroups.com> User-Agent: G2/1.0 MIME-Version: 1.0 Message-ID: Subject: Re: Community Input for the Maintenance and Revision of the Ada Programming Language From: Egil H H Injection-Date: Wed, 13 Sep 2017 18:34:45 +0000 Content-Type: text/plain; charset="UTF-8" X-Received-Bytes: 2523 X-Received-Body-CRC: 3526946700 Xref: news.eternal-september.org comp.lang.ada:48107 Date: 2017-09-13T11:34:45-07:00 List-Id: On Wednesday, September 13, 2017 at 6:34:43 PM UTC+2, Jeffrey R. Carter wrote: > > No. If you supply a discriminant, the object is constrained to that subtype. > Only is you do not supply a discriminant is the object unconstrained. > That's wrong. "If a discriminated type has default_expressions for its discriminants, then unconstrained variables of the type are permitted, and the values of the discriminants can be changed by an assignment to such a variable." See RM 3.7 (28) http://www.ada-auth.org/standards/rm12_w_tc1/html/RM-3-7.html