https://bugzilla.wikimedia.org/show_bug.cgi?id=47104
--- Comment #7 from Brad Jorsch <bjor...@wikimedia.org> --- (In reply to comment #6) > I like the idea of having a table that can be set and is preserved > across invoke calls, but that wasn't what was asked for in this > bug request. And that's not going to happen, as one of the design goals for Scribunto was to specifically not pass information between invoke calls. > pairs and ipairs can work by using custom __pairs and __ipairs > functions which iterates over the immutable table and uses > the key/value from the mutable table when present. After that > iterates over the mutable table only using keys which aren't > present in the immutable table. Yes. But that's quite complex and error-prone: note the procedure you've outlined won't work correctly if someone tries to assign nil to an existing value for the immutable table, for example. -- You are receiving this mail because: You are the assignee for the bug. You are on the CC list for the bug. _______________________________________________ Wikibugs-l mailing list Wikibugs-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikibugs-l