From: adambeneschan@gmail.com
Subject: Re: character literals
Date: Tue, 11 Feb 2014 15:58:56 -0800 (PST)
Date: 2014-02-11T15:58:56-08:00 [thread overview]
Message-ID: <ae33c381-f565-4250-8ddd-bf639f60d593@googlegroups.com> (raw)
In-Reply-To: <87k3d1qkgd.fsf@ludovic-brenta.org>
On Tuesday, February 11, 2014 3:49:06 PM UTC-8, Ludovic Brenta wrote:
> >> if Ch in Character range '0' .. '9' then
> > Why is the literal type not inferred from the type of Ch in this case?
> Because it's the other way around :) the type of Ch is inferred from the
> type of the range.
No, the type of Ch is inferred from the declaration of Ch, wherever that happens. You didn't read "if" as "for", did you??
-- Adam
next prev parent reply other threads:[~2014-02-11 23:58 UTC|newest]
Thread overview: 17+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-02-11 22:27 character literals agent
2014-02-11 22:49 ` J-P. Rosen
2014-02-11 23:45 ` Bill Findlay
2014-02-11 23:49 ` Ludovic Brenta
2014-02-11 23:58 ` adambeneschan [this message]
2014-02-11 23:56 ` adambeneschan
2014-02-12 0:18 ` adambeneschan
2014-02-12 1:34 ` agent
2014-02-12 2:03 ` adambeneschan
2014-02-12 12:50 ` agent
2014-02-12 1:30 ` Jeffrey Carter
2014-02-12 1:50 ` adambeneschan
2014-02-12 15:53 ` Robert A Duff
2014-02-12 17:55 ` J-P. Rosen
2014-02-14 12:39 ` agent
2014-02-14 18:36 ` AdaControl was: " Simon Clubley
2014-02-15 6:26 ` J-P. Rosen
replies disabled
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox