Skip to content

Instantly share code, notes, and snippets.

@DarkWiiPlayer
Created July 31, 2018 10:56
Show Gist options
  • Save DarkWiiPlayer/10a81d43478355cca845806f2e3446ca to your computer and use it in GitHub Desktop.
Save DarkWiiPlayer/10a81d43478355cca845806f2e3446ca to your computer and use it in GitHub Desktop.
Moonscript Bug
env = do
local env
env = _ENV
setmetatable {}, {
__index: (key) =>
env[key] or (...) ->
@.tag(key, ...)
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment