From a1b559a3a269bbee1ae9a33061b08a868ea52f5c Mon Sep 17 00:00:00 2001 From: Bruce Hill Date: Fri, 25 Jan 2019 15:49:29 -0800 Subject: Added metatables for bool, number, function, coroutine. Added run-time check to make sure precompiled code used the same version of Lua. Methods can now be used in (* compiles to *), etc. --- bootstrap.moon | 1 - 1 file changed, 1 deletion(-) (limited to 'bootstrap.moon') diff --git a/bootstrap.moon b/bootstrap.moon index d30e56b..6413205 100644 --- a/bootstrap.moon +++ b/bootstrap.moon @@ -98,7 +98,6 @@ compile_actions = { return LuaCode "TESTS[#{tostring(body.source)\as_lua!}] = ", test_text ["is jit"]: (_t, code)=> LuaCode("jit") - ["Lua version"]: (_t, code)=> LuaCode("_VERSION") ["nomsu environment"]: (_t)=> LuaCode("_ENV") ["nomsu environment name"]: (_t)=> LuaCode('"_ENV"') ["this file was run directly"]: (_t)=> LuaCode('WAS_RUN_DIRECTLY') -- cgit v1.2.3