Update patch set 4
Patch Set 4:
The benefit to type-checking is that it's a lot easier to debug modules if the mw libraries generate sensible error messages. Remember that we're writing Scribunto for casual coders who may have little experience in Lua or programming in general; any help we can give them in tracking down bugs has to be a good thing.
Type-checking would also make this library consistent with the other mw libraries and with the standard Lua libraries. Providing inconsistent interfaces across different libraries is going to be confusing for module writers. If there's a way we can support things like metatables while still giving sensible error messages then we should do that, but otherwise I'd prefer that we keep things consistent.
Reviewer: Mr. Stradivarius <1590@e9e9afe9-4712-486d-8885-f54b72dd1951>