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=ham autolearn_force=no version=3.4.4 X-Google-Thread: 103376,50dfc152dc561349 X-Google-NewGroupId: yes X-Google-Attributes: gida07f3367d7,domainid0,public,usenet X-Google-Language: ENGLISH,UTF8 Path: g2news2.google.com!news4.google.com!proxad.net!feeder1-2.proxad.net!usenet-fr.net!gegeweb.org!aioe.org!not-for-mail From: =?utf-8?Q?Yannick_Duch=C3=AAne_=28Hibou57?= =?utf-8?Q?=29?= Newsgroups: comp.lang.ada Subject: Re: Asis.Text.Character_Position : inconsistency ? Date: Sun, 07 Nov 2010 21:44:04 +0100 Organization: Ada @ Home Message-ID: References: NNTP-Posting-Host: DiGLPd43lnw8JsA8Yc5Vdg.user.speranza.aioe.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed; delsp=yes Content-Transfer-Encoding: Quoted-Printable X-Complaints-To: abuse@aioe.org X-Notice: Filtered by postfilter v. 0.8.2 User-Agent: Opera Mail/10.63 (Win32) Xref: g2news2.google.com comp.lang.ada:16352 Date: 2010-11-07T21:44:04+01:00 List-Id: Le Sun, 07 Nov 2010 20:20:40 +0100, Simon Wright a = = =C3=A9crit: > "Yannick Duch=C3=AAne (Hibou57)" writes: > >> the source I am dealing do the assumption Character_Position is a >> subtype of Natural, and that is why I was wondering about this type >> definition. This leads into trouble when I try to build it with >> Gela-ASIS, because with Gela-ASIS, Character_Position and Line_Numbe= r >> are not subtypes (direct or indirect) of Natural. > > I think the source must be making unwarranted assumptions. But the compiler did not reject anything ;) So the responsibility must b= e = shared with the underlying ASIS library too (remember, Ada is strongly = typed, if there was no issue with ASIS-for-GNAT too, this could not even= = compile with this one) -- = Si les chats miaulent et font autant de vocalises bizarres, c=E2=80=99es= t pas pour = les chiens. =E2=80=9CI am fluent in ASCII=E2=80=9D [Warren 2010]