diff options
| author | Bruce Hill <bruce@bruce-hill.com> | 2019-03-27 14:37:38 -0700 |
|---|---|---|
| committer | Bruce Hill <bruce@bruce-hill.com> | 2019-03-27 14:37:52 -0700 |
| commit | dfda34254c44f9f8aa16ad556a88ec275ec50a16 (patch) | |
| tree | 7445b97cf215214c5b33608268d6b64981c5d1c7 /error_handling.moon | |
| parent | 091ca13e8fabbc64aa7015c4eb44a9091e4c399f (diff) | |
More robust scanning
Diffstat (limited to 'error_handling.moon')
| -rw-r--r-- | error_handling.moon | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/error_handling.moon b/error_handling.moon index d6a0881..ea126e8 100644 --- a/error_handling.moon +++ b/error_handling.moon @@ -106,6 +106,7 @@ enhance_error = (error_message)-> -- Globals and global compile rules: scan = (t, is_lua_id)-> + return unless t for k,v in pairs(t) if type(k) == 'string' and type(v) == 'function' k = k\from_lua_id! unless is_lua_id |
