diff options
| author | Bruce Hill <bitbucket@bruce-hill.com> | 2018-05-30 13:46:40 -0700 |
|---|---|---|
| committer | Bruce Hill <bitbucket@bruce-hill.com> | 2018-05-30 13:46:54 -0700 |
| commit | 624fcdcc7e8502cd8f0dc4c51669e5d1de7811b9 (patch) | |
| tree | a3391aac7d1b6e286464aecd24b0df6fddf3c63a /code_obj.moon | |
| parent | 0afcb416bcdb768c029e724ba08a900e7e95ee52 (diff) | |
Moved as_lua_id() onto 'string'
Diffstat (limited to 'code_obj.moon')
| -rw-r--r-- | code_obj.moon | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/code_obj.moon b/code_obj.moon index 17ec816..665d0f1 100644 --- a/code_obj.moon +++ b/code_obj.moon @@ -170,7 +170,7 @@ class Lua extends Code gather_from self if #to_declare > 0 @remove_free_vars to_declare - @prepend "local #{concat [v\as_lua_id! for v in *to_declare], ", "};\n" + @prepend "local #{concat [string.as_lua_id(v.value) for v in *to_declare], ", "};\n" return to_declare __tostring: => |
