diff options
Diffstat (limited to 'Data/Libraries/LDoc/tests/bad.lua')
-rw-r--r-- | Data/Libraries/LDoc/tests/bad.lua | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/Data/Libraries/LDoc/tests/bad.lua b/Data/Libraries/LDoc/tests/bad.lua new file mode 100644 index 0000000..70df107 --- /dev/null +++ b/Data/Libraries/LDoc/tests/bad.lua @@ -0,0 +1,13 @@ +------- +-- @module bad + +local bad = {} + +-------- +-- inference fails! Have to explicitly +-- declare the function and its arguments +bad['entry'] = function(one) +end + +return bad + |