Revert "legacy: Temporary workaround for #2897. (#2898)"

This reverts commit e888d983ef.
This commit is contained in:
Emmanuel Lepage Vallee 2019-10-12 20:07:57 -04:00
parent 025262fd95
commit 50eb7d5599
1 changed files with 0 additions and 6 deletions

View File

@ -161,16 +161,10 @@ function object._legacy_accessors(obj, name, capi_name, is_object, join_if, set_
magic_obj["get_"..name] = function(self)
self = is_object and self or obj
--FIXME v5 all objects should use _private instead of getproperty.
if not self._private then
self._private = {}
end
self._private[name] = self._private[name] or copy_object(
obj, {}, name, capi_name, is_object, join_if, set_empty
)
assert(self._private[name])
return self._private[name]
end