is __index cached during luau_load? #204
Answered
by
zeux
morgoth990
asked this question in
Q&A
-
I have added a metatable to a table like this:
the goal is to call the lua_device_index every time the code is accessing the field but it seem that the c++ function is called once during luau_load. |
Beta Was this translation helpful? Give feedback.
Answered by
zeux
Nov 15, 2021
Replies: 1 comment 3 replies
-
You'll want to add |
Beta Was this translation helpful? Give feedback.
3 replies
Answer selected by
morgoth990
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
You'll want to add
dev
to the list of mutable globals by specifying it via CompilerOptions::mutableGlobals