diff options
| author | Bruce Hill <bruce@bruce-hill.com> | 2019-01-25 15:49:29 -0800 |
|---|---|---|
| committer | Bruce Hill <bruce@bruce-hill.com> | 2019-01-25 15:50:51 -0800 |
| commit | a1b559a3a269bbee1ae9a33061b08a868ea52f5c (patch) | |
| tree | 51f2368c6542efe47dd2a4007ba92e22650236b9 /bootstrap.moon | |
| parent | 1713a0e38f12f8ed167575ac5a84a0eb8dd59a44 (diff) | |
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.
Diffstat (limited to 'bootstrap.moon')
| -rw-r--r-- | bootstrap.moon | 1 |
1 files changed, 0 insertions, 1 deletions
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') |
