But in that case, shouldn't it be that xxx is nil rather than boolean?
c:\temp>lua -l xxx -e "xxx()
lua: (command line):1: attempt to call a boolean value (global 'xxx')
c:\temp>lua -e "xxx()
lua: (command line):1: attempt to call a nil value (global 'xxx')
From: Vadim A. Misbakh-Soloviov
Sent: Saturday, February 25, 2017 11:17 PM
To: Lua mailing list
Subject: Re: command-line -l option issue
It is not a bug. Just `-l` executes after `-e`. That's all. It is same for
Lua versions including LuaJIT.