diff options
Diffstat (limited to '')
| -rw-r--r-- | spec/outputs/export_default.lua | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/spec/outputs/export_default.lua b/spec/outputs/export_default.lua new file mode 100644 index 0000000..a9c787f --- /dev/null +++ b/spec/outputs/export_default.lua | |||
| @@ -0,0 +1,19 @@ | |||
| 1 | local _module_0 = nil | ||
| 2 | print("OK") | ||
| 3 | _module_0 = function() | ||
| 4 | print("hello") | ||
| 5 | return 123 | ||
| 6 | end | ||
| 7 | if not isOff then | ||
| 8 | f(123, "abc", function(x, fy) | ||
| 9 | print(x) | ||
| 10 | return fy(function(y, res) | ||
| 11 | if res then | ||
| 12 | return abc + y | ||
| 13 | else | ||
| 14 | return abc | ||
| 15 | end | ||
| 16 | end) | ||
| 17 | end) | ||
| 18 | end | ||
| 19 | return _module_0 | ||
