Closed CoffeeFlux closed 7 years ago
you are extremely ugly and bad
Commits are updated, not using call, and including pairs and ipairs. If you could reopen this that'd be lovely. Happy Valentine's Day! edit: Apparently that's not possible, so a new pull request was opened.
I'm just going to bump this to say that you never gave me a test case where my suggested implementation didn't work.
Also, I can't remember if we talked about this, but it would reduce the amount of nasty implementation to use the
__call
method instead. The only downside of this is that access and assignment would become asymmetrical, but that's not really my problem.In the interest of convenience, it may also be worth it to implement
__pairs
. I think luajit in 5.2 compatibility mode supports this.