LuaD icon indicating copy to clipboard operation
LuaD copied to clipboard

full variant support

Open belm0 opened this issue 13 years ago • 1 comments

Without this it isn't possible for a Lua function to return variable number of arguments of differing type (see issue #42).

(This may not be high priority but I want to document it.)

belm0 avatar May 27 '12 00:05 belm0

Yes, it is still possible in various different ways, as explained in #42.

I am waiting for the std.variant rewrite before implementing Variant; it is possible with the current state of std.variant too, but it's not practically useful because pushing one to Lua would have awful algorithmic complexity.

JakobOvrum avatar May 27 '12 10:05 JakobOvrum