Skip to content

Commit

Permalink
test/expression: Add a testcase for an another crash
Browse files Browse the repository at this point in the history
  • Loading branch information
Andrian Nord authored and Andrian Nord committed Jan 25, 2014
1 parent 2eb79ac commit c1c7d4e
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions test/expression.lua
Original file line number Diff line number Diff line change
Expand Up @@ -255,5 +255,18 @@ end

menu.logbook = foo(x or y) or {}

local x, y, bar, do_not_collapse_this_if_please, a

if x then
if y then
a = {
x or y,
bar(x or y) .. x or ""
}
end

do_not_collapse_this_if_please()
end

--[[
--]]

0 comments on commit c1c7d4e

Please sign in to comment.