Add `__iter` to destructed metatable (luau)
This commit is contained in:
parent
4a25eab257
commit
95adf8df8e
|
@ -942,6 +942,8 @@ pub unsafe fn init_error_registry(state: *mut ffi::lua_State) -> Result<()> {
|
||||||
"__pairs",
|
"__pairs",
|
||||||
#[cfg(any(feature = "lua53", feature = "lua52", feature = "luajit52"))]
|
#[cfg(any(feature = "lua53", feature = "lua52", feature = "luajit52"))]
|
||||||
"__ipairs",
|
"__ipairs",
|
||||||
|
#[cfg(feature = "luau")]
|
||||||
|
"__iter",
|
||||||
#[cfg(feature = "lua54")]
|
#[cfg(feature = "lua54")]
|
||||||
"__close",
|
"__close",
|
||||||
] {
|
] {
|
||||||
|
|
Loading…
Reference in New Issue