comp.lang.ada
 help / color / mirror / Atom feed
From: "Yannick Duchêne (Hibou57)" <yannick_duchene@yahoo.fr>
Subject: Re: Asis.Text.Character_Position : inconsistency ?
Date: Sun, 07 Nov 2010 21:44:04 +0100
Date: 2010-11-07T21:44:04+01:00	[thread overview]
Message-ID: <op.vltijqexule2fv@garhos> (raw)
In-Reply-To: m27hgpx7nb.fsf@pushface.org

Le Sun, 07 Nov 2010 20:20:40 +0100, Simon Wright <simon@pushface.org> a  
écrit:

> "Yannick Duchêne (Hibou57)" <yannick_duchene@yahoo.fr> 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_Number
>> 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 be  
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’est pas pour  
les chiens.

“I am fluent in ASCII” [Warren 2010]



  reply	other threads:[~2010-11-07 20:44 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-11-07  8:04 Asis.Text.Character_Position : inconsistency ? Yannick Duchêne (Hibou57)
2010-11-07 12:34 ` Simon Wright
2010-11-07 19:03   ` Yannick Duchêne (Hibou57)
2010-11-07 19:18     ` Simon Wright
2010-11-07 19:35       ` J-P. Rosen
2010-11-12 19:35         ` Randy Brukardt
2010-11-07 19:20     ` Simon Wright
2010-11-07 20:44       ` Yannick Duchêne (Hibou57) [this message]
2010-11-09 14:18 ` Vadim Godunko
replies disabled

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox