Hi, > Actually, you're not indexing an incomplete struct. You can't > create an instance of an incomplete struct, so this won't happen. Yes — my wording was incorrect. > You're indexing a pointer to a struct. Which is a pre-defined > operation, so this is always tried first before deferring to a > ctype metamethod. Indeed. > The inconsistency was that it mistakenly deferred to the > metamethod in the interpreter, I was not sure it was a feature or not :) > but not in the JIT compiler. I've > fixed the code in the git repository to follow the documentation. > Now it always raises an error when indexing an incomplete struct. Great, thanks a lot for the feedback! Best, Ronan.