aboutsummaryrefslogtreecommitdiff
path: root/spec/outputs/plus.lua
diff options
context:
space:
mode:
Diffstat (limited to 'spec/outputs/plus.lua')
-rw-r--r--spec/outputs/plus.lua24
1 files changed, 13 insertions, 11 deletions
diff --git a/spec/outputs/plus.lua b/spec/outputs/plus.lua
index 749e830..bd89bfe 100644
--- a/spec/outputs/plus.lua
+++ b/spec/outputs/plus.lua
@@ -1,16 +1,18 @@
1x["do"](x, "work") 1local _call_0 = x
2_call_0["do"](_call_0, "work")
2func((function() 3func((function()
3 local _call_0 = a["do"](a) 4 local _call_1 = a
4 local _call_1 = _call_0["end"](_call_0, "OK") 5 local _call_2 = _call_1["do"](_call_1)
5 return _call_1["if"](_call_1, "abc", 123) 6 local _call_3 = _call_2["end"](_call_2, "OK")
7 return _call_3["if"](_call_3, "abc", 123)
6end)()) 8end)())
7local _call_0 = b["function"] 9local _call_1 = b["function"]
8local _call_1 = _call_0["do"](_call_0) 10local _call_2 = _call_1["do"](_call_1)
9local _call_2 = _call_1["while"](_call_1, "OK") 11local _call_3 = _call_2["while"](_call_2, "OK")
10local res = _call_2["if"](_call_2, "def", 998) 12local res = _call_3["if"](_call_3, "def", 998)
11local _call_3 = c["repeat"]["if"] 13local _call_4 = c["repeat"]["if"]
12local _call_4 = _call_3["then"](_call_3, "xyz") 14local _call_5 = _call_4["then"](_call_4, "xyz")
13_call_4["else"](_call_4, res) 15_call_5["else"](_call_5, res)
14print(self["for"], self.__class["function"](self.__class, 123)) 16print(self["for"], self.__class["function"](self.__class, 123))
15do 17do
16 local fcolor = message:match("<%w*>") 18 local fcolor = message:match("<%w*>")