<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Recent changes to 7: Indexing lists with Long</title><link>https://sourceforge.net/p/millscript/bugs/7/</link><description>Recent changes to 7: Indexing lists with Long</description><atom:link href="https://sourceforge.net/p/millscript/bugs/7/feed.rss" rel="self"/><language>en</language><lastBuildDate>Wed, 08 Sep 2004 10:03:38 -0000</lastBuildDate><atom:link href="https://sourceforge.net/p/millscript/bugs/7/feed.rss" rel="self" type="application/rss+xml"/><item><title>Indexing lists with Long</title><link>https://sourceforge.net/p/millscript/bugs/7/</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;We hacked MillScript (in MapAwareTools.java) to &lt;br /&gt;
support Number when indexing a List. Strictly speaking &lt;br /&gt;
this is wrong.  We should only support indexing by &lt;br /&gt;
integral types i.e. Integer, Long, BigInteger, BigDecimal &lt;br /&gt;
(with no fractional part), and the other wrapper types &lt;br /&gt;
such as Short etc. &lt;/p&gt;
&lt;p&gt;We should have a convertToInt function that is &lt;br /&gt;
responsible for enforing the check. &lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Kevin Rogers</dc:creator><pubDate>Wed, 08 Sep 2004 10:03:38 -0000</pubDate><guid>https://sourceforge.net5424a6fcca8ca0aeef902c0177f8cdb5bd34a588</guid></item></channel></rss>