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,5f5a48f21d7f7525 X-Google-Attributes: gida07f3367d7,public,usenet X-Google-NewGroupId: yes X-Google-Language: ENGLISH,ASCII-7-bit Path: g2news1.google.com!news1.google.com!npeer01.iad.highwinds-media.com!news.highwinds-media.com!feed-me.highwinds-media.com!nx02.iad01.newshosting.com!newshosting.com!198.186.194.249.MISMATCH!transit3.readnews.com!news-out.readnews.com!news-xxxfer.readnews.com!panix!bloom-beacon.mit.edu!newsswitch.lcs.mit.edu!nntp.TheWorld.com!not-for-mail From: Robert A Duff Newsgroups: comp.lang.ada Subject: Re: Inferring array index type from array object Date: Wed, 23 Jun 2010 13:17:22 -0400 Organization: The World Public Access UNIX, Brookline, MA Message-ID: References: <6b20ed09-efc1-4df7-90f9-5e141482e8d0@d37g2000yqm.googlegroups.com> <1305oqccr1h2t$.x33x4oxwd84d$.dlg@40tude.net> NNTP-Posting-Host: shell01.theworld.com Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: pcls4.std.com 1277313437 19271 192.74.137.71 (23 Jun 2010 17:17:17 GMT) X-Complaints-To: abuse@TheWorld.com NNTP-Posting-Date: Wed, 23 Jun 2010 17:17:17 +0000 (UTC) User-Agent: Gnus/5.1008 (Gnus v5.10.8) Emacs/21.3 (irix) Cancel-Lock: sha1:5mgjBBeqZnWYEROaMEtqi1nW2ns= Xref: g2news1.google.com comp.lang.ada:11895 Date: 2010-06-23T13:17:22-04:00 List-Id: "J-P. Rosen" writes: > Not yet, although it would be a very simple addition. The hardest part > would be to find an acceptable name for the rule. The current one is: > > check declarations (anonymous_subtype_for); > > and I wouldn't like: > check declarations (anonymous_subtype_except_range_for); > ;-) I'd suggest something like "default_integer_range". It's not just for 'for' loops -- the same language malfeature occurs for array type decls, for example. - Bob