Instantly share code, notes, and snippets.

Embed
What would you like to do?
too_much_upvalue
local a_1
local a_2
local a_3
local a_4
local a_5
local a_6
local a_7
local a_8
local a_9
local a_10
local a_11
local a_12
local a_13
local a_14
local a_15
local a_16
local a_17
local a_18
local a_19
local a_20
local a_21
local a_22
local a_23
local a_24
local a_25
local a_26
local a_27
local a_28
local a_29
local a_30
local a_31
local a_32
local a_33
local a_34
local a_35
local a_36
local a_37
local a_38
local a_39
local a_40
local a_41
local a_42
local a_43
local a_44
local a_45
local a_46
local a_47
local a_48
local a_49
local a_50
local a_51
local a_52
local a_53
local a_54
local a_55
local a_56
local a_57
local a_58
local a_59
local a_60
local a_61
local a_62
local a_63
local a_64
local a_65
local a_66
local a_67
local a_68
local a_69
local a_70
local a_71
local a_72
local a_73
local a_74
local a_75
local a_76
local a_77
local a_78
local a_79
local a_80
local a_81
local a_82
local a_83
local a_84
local a_85
local a_86
local a_87
local a_88
local a_89
local a_90
local a_91
local a_92
local a_93
local a_94
local a_95
local a_96
local a_97
local a_98
local a_99
local a_100
local a_101
local a_102
local a_103
local a_104
local a_105
local a_106
local a_107
local a_108
local a_109
local a_110
local a_111
local a_112
local a_113
local a_114
local a_115
local a_116
local a_117
local a_118
local a_119
local a_120
local a_121
local a_122
local a_123
local a_124
local a_125
local a_126
local a_127
local a_128
local a_129
local a_130
local a_131
local a_132
local a_133
local a_134
local a_135
local a_136
local a_137
local a_138
local a_139
local a_140
local a_141
local a_142
local a_143
local a_144
local a_145
local a_146
local a_147
local a_148
local a_149
local a_150
local a_151
local a_152
local a_153
local a_154
local a_155
local a_156
local a_157
local a_158
local a_159
local a_160
local a_161
local a_162
local a_163
local a_164
local a_165
local a_166
local a_167
local a_168
local a_169
local a_170
local a_171
local a_172
local a_173
local a_174
local a_175
local a_176
local a_177
local a_178
local a_179
local a_180
local a_181
local a_182
local a_183
local a_184
local a_185
local a_186
local a_187
local a_188
local a_189
local a_190
local a_191
local a_192
local a_193
local a_194
local a_195
local a_196
local a_197
local a_198
local a_199
local a_200
function closure()
a_1 = 0
a_2 = 0
a_3 = 0
a_4 = 0
a_5 = 0
a_6 = 0
a_7 = 0
a_8 = 0
a_9 = 0
a_10 = 0
a_11 = 0
a_12 = 0
a_13 = 0
a_14 = 0
a_15 = 0
a_16 = 0
a_17 = 0
a_18 = 0
a_19 = 0
a_20 = 0
a_21 = 0
a_22 = 0
a_23 = 0
a_24 = 0
a_25 = 0
a_26 = 0
a_27 = 0
a_28 = 0
a_29 = 0
a_30 = 0
a_31 = 0
a_32 = 0
a_33 = 0
a_34 = 0
a_35 = 0
a_36 = 0
a_37 = 0
a_38 = 0
a_39 = 0
a_40 = 0
a_41 = 0
a_42 = 0
a_43 = 0
a_44 = 0
a_45 = 0
a_46 = 0
a_47 = 0
a_48 = 0
a_49 = 0
a_50 = 0
a_51 = 0
a_52 = 0
a_53 = 0
a_54 = 0
a_55 = 0
a_56 = 0
a_57 = 0
a_58 = 0
a_59 = 0
a_60 = 0
a_61 = 0
end
[% FOREACH i IN [1..200] -%]
local a_[% i %]
[% END %]
function closure()
[% FOREACH i IN [1..61] -%]
a_[% i %] = 0
[% END %]
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment