summary |
shortlog |
log |
commit | commitdiff |
tree
raw |
patch |
inline | side by side (from parent 1:
d04d6d0)
Signed-off-by: Jim Pryor <profjim@jimpryor.net>
if (x == 1) then
value = 10
else
if (x == 1) then
value = 10
else
- return 20 -- return early
+ return 20 -- abort early
end
return value + 100 -- in Lua, a function's normal value
-- must always also be explicitly returned
end
return value + 100 -- in Lua, a function's normal value
-- must always also be explicitly returned