Implement https://github.com/leafo/moonscript/issues/35#issuecomment-4365032