diff options
Diffstat (limited to 'test/definition/arg.lua')
-rw-r--r-- | test/definition/arg.lua | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/test/definition/arg.lua b/test/definition/arg.lua index e1ce0891..623b70b7 100644 --- a/test/definition/arg.lua +++ b/test/definition/arg.lua @@ -9,3 +9,15 @@ local function x (x, <!...!>) x = <?...?> end ]] + +TEST [[ +function mt<!:!>x() + <?self?> = 1 +end +]] + +TEST [[ +function mt:x(<!self!>) + <?self?> = 1 +end +]] |