[ZeroBrane Studio] Re: Enable live coding

  • From: Andre Riesberg <andre@xxxxxxxxxxxxxxx>
  • To: zerobrane@xxxxxxxxxxxxx
  • Date: Wed, 14 May 2014 21:15:57 +0200

Am 14.05.2014 20:32, schrieb Paul K:
> Andre,
>
>> I checked the luaB_tonumber function. This looks like a bug in Lua and
>> we have to report it. Should I do this?
> This seems to be a documented behavior for Lua 5.2
> (http://www.lua.org/manual/5.2/manual.html#pdf-tonumber): "When called
> with base, then e should be a string to be interpreted as an integer
> numeral in that base."
>
> Lua 5.1 behaved differently and returned "nil" for "tonumber(nil, 10)".
>
> Paul.
>
> .
>
When this is a (documented) feature, it can't be a bug ;-)

Greetings
André

Other related posts: