[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: Probably bug in implementation of numerical constant parsing
- From: joao lobato <btnfdp.lobato@...>
- Date: Mon, 17 Sep 2012 17:54:00 +0100
On 9/17/12, Egor Skriptunoff <egor.skriptunoff@gmail.com> wrote:
> On 9/17/12, Miles Bader <miles@gnu.org> wrote:
>> Luiz Henrique de Figueiredo <lhf@tecgraf.puc-rio.br> writes:
>>> The same problem occurs with
>>> print(64..s)
>>
>> But, why would anybody write that instead of print("64"..s) ?
>> -miles
>
> I stumbled upon it when I was trying to write something like this:
> print(n+1..' rabbits')
>
>
So, another wart that would not exist without automatic number-string coercion?
Well I suppose someone would eventually define concat for numbers and
stumble on this error again.