summaryrefslogtreecommitdiff
path: root/src/bindings/luajit/eo.lua
diff options
context:
space:
mode:
Diffstat (limited to 'src/bindings/luajit/eo.lua')
-rw-r--r--src/bindings/luajit/eo.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/bindings/luajit/eo.lua b/src/bindings/luajit/eo.lua
index 9067a057b0..8ebbb383e4 100644
--- a/src/bindings/luajit/eo.lua
+++ b/src/bindings/luajit/eo.lua
@@ -203,7 +203,7 @@ local mixin_tbl = function(cl, mixin, field)
203 local clt = rawget(cl, field) 203 local clt = rawget(cl, field)
204 if not clt then 204 if not clt then
205 -- will always succeed, even if it means deep lookups 205 -- will always succeed, even if it means deep lookups
206 clt = cl.__proto[field]:clone() 206 clt = cl.__protos[1][field]:clone()
207 rawset(cl, field, clt) 207 rawset(cl, field, clt)
208 end 208 end
209 for k, v in pairs(mxt) do clt[k] = v end 209 for k, v in pairs(mxt) do clt[k] = v end