You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

6 lines
150 B

local x = nil
local x_ = (x and x.k or "fallback")
assert(x_ == "fallback")
local y = "ok"
local y_ = (y or error("should not raise"))
assert(y == y_)