We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a4d08d9 commit 96e6275Copy full SHA for 96e6275
src/lib.zig
@@ -4696,7 +4696,7 @@ pub const Lua = opaque {
4696
const arr_len = switch (@typeInfo(T)) {
4697
inline else => |i| i.len,
4698
};
4699
- var result: T = undefined;
+ var result: [arr_len]child = undefined;
4700
lua.pushValue(index);
4701
defer lua.pop(1);
4702
0 commit comments