lune-org/lune

intropection library?

Closed this issue · 1 comments

I am wondering if it would be possible to add a "introspection" library eg: to inspect function argument and return types (or... are those compile-time only checks...)

I don't think this is currently possible, afaik Luau doesn't preserve type information after compilation, but I'll leave a link to the discussion you posted on mlua here and we can see what happens: mlua-rs/mlua#327