lua-users home
lua-l archive

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]


It's all very subjective. I see two bugs :) 1. Wrong error, and 2. Wrong number

-----Original Message----- From: Roberto Ierusalimschy
Sent: Sunday, November 23, 2014 9:31 PM
To: Lua mailing list
Subject: Re: ## operator (error)

It is funny (and a little sad) that, with all this disussion about the
length of numbers, nobody noticed that 5.3-beta has a bug there:

Lua 5.3.beta  Copyright (C) 1994-2014 Lua.org, PUC-Rio
x = 3
#x
stdin:1: attempt to get length of a number value (global 'x')
 [...]
#3
0

-- Roberto