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=ham autolearn_force=no version=3.4.4 X-Google-Thread: a07f3367d7,2e6723b897ab47fb X-Google-Attributes: gida07f3367d7,public,usenet X-Google-NewGroupId: yes X-Google-Language: ENGLISH,ASCII-7-bit Received: by 10.216.138.27 with SMTP id z27mr676276wei.13.1344849371612; Mon, 13 Aug 2012 02:16:11 -0700 (PDT) Path: q11ni107046285wiw.1!nntp.google.com!volia.net!news2.volia.net!feed-A.news.volia.net!npeer.de.kpn-eurorings.net!npeer-ng0.de.kpn-eurorings.net!news-feed.eu.lambdanet.net!texta.sil.at!news.swapon.de!eternal-september.org!feeder.eternal-september.org!mx04.eternal-september.org!.POSTED!not-for-mail From: Simon Wright Newsgroups: comp.lang.ada Subject: Re: Ada.Locales pseudo-string types Date: Mon, 06 Aug 2012 21:57:53 +0100 Organization: A noiseless patient Spider Message-ID: References: <78707b6e-88a3-453a-a37c-840f7a62e703@googlegroups.com> <7303f906-0f6a-4d97-ae15-36b4056ede6c@googlegroups.com> Mime-Version: 1.0 Injection-Info: mx04.eternal-september.org; posting-host="edf2659fbb8cb6d4b5f62db4b36ac1e6"; logging-data="28887"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1/XechHwMyYiWvzpna2h2k5lRjLizy787A=" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.1 (darwin) Cancel-Lock: sha1:OzRCI4MisI5IrHG8C8VPl/giITM= sha1:RC1wf3WvAUwHt4KL9YLPf8PZva0= Content-Type: text/plain Date: 2012-08-06T21:57:53+01:00 List-Id: Marius Amado-Alves writes: > On Monday, August 6, 2012 8:34:22 PM UTC+1, Simon Wright wrote: >> 5. Put_Line (String (Ada.Locales.Language_Code)); >> >>> component subtypes must statically match > > This code is wrong: Language_Code is the type, not the function. Oops. > But the right code gives the same error! It seems to be the "Character range 'a' .. 'z'" that's the problem; that'll be why the error message was "component subtypes must statically match".