From 0a73c23d5be681bbfffca3117e00274fb4bae459 Mon Sep 17 00:00:00 2001 From: Arseny Kapoulkine Date: Wed, 21 Apr 2021 09:39:34 -0700 Subject: [PATCH] Update compatibility.md --- docs/_pages/compatibility.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/_pages/compatibility.md b/docs/_pages/compatibility.md index d65d0d71..498444e1 100644 --- a/docs/_pages/compatibility.md +++ b/docs/_pages/compatibility.md @@ -122,6 +122,6 @@ If we do end up introducing const variables, it would be through a `const var = We have a few behavior deviations from Lua 5.x that come from either a different implementation, or our desire to clean up small inconsistencies in the language/libraries: +* Tail calls are not supported to simplify implementation, make debugging/stack traces more predictable and allow deep validation of caller identity for security * Order of table assignment in table literals follows program order in mixed tables (Lua 5.x assigns array elements first in some cases) * Equality comparisons call `__eq` metamethod even when objects are rawequal (which matches other metamethods like `<=` and facilitates NaN checking) -* Tail calls are not supported to simplify implementation, make debugging/stack traces more predictable and allow deep validation of caller identity for security