fix: use table.pack instead of table.maxn #40

Merged
aleclarson merged 1 commit from print-1 into master 2018-04-20 06:07:45 +02:00
aleclarson commented 2018-04-20 06:06:32 +02:00 (Migrated from github.com)

Now, the print command works with:

-- ordinary tuples
p 1, 2, 3

-- sparse tuples
p 1, nil, 2

-- trailing nils
p 1, 2, nil

-- just nil
p nil

-- nothing
p (function() end)()

Fixes ee4da2ed66

Now, the print command works with: ```lua -- ordinary tuples p 1, 2, 3 -- sparse tuples p 1, nil, 2 -- trailing nils p 1, 2, nil -- just nil p nil -- nothing p (function() end)() ``` Fixes ee4da2ed66b3eeb63809e98cd0991759f2190c5e
Sign in to join this conversation.
No reviewers
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
slembcke/debugger.lua!40
No description provided.