Closed blasrodri closed 4 years ago
First off, thanks for the amazing library @mpeterv!
std = { globals = {"a", "b"} }
I'd like this to fail, since we know that b is undefined.
b
a = 1 value = a * b
Performing the operating would give us somethign like:
stdin:1: attempt to perform arithmetic on a nil value (global 'b') stack traceback: stdin:1: in main chunk [C]: in ?
please read https://github.com/mpeterv/luacheck/issues/198
@linuxmaniac Thanks. I'm sorry to read this.
First off, thanks for the amazing library @mpeterv!
I'd like this to fail, since we know that
b
is undefined.Performing the operating would give us somethign like: