Open originalfoo opened 8 years ago
Could be something like:
proto[type].remove 'name' -- that means all proto.props need to be tables with _call metamethods -- but worth it for clean semantic code imo
Depending on the type, the scope of places to check for references to the thing being removing will be different.
Some forum topics:
As .remove will need to find stuff that references the thing, maybe that could be exposed too?
.remove
local refs = proto[type].references 'name'
Could be something like:
Depending on the type, the scope of places to check for references to the thing being removing will be different.
Some forum topics:
As
.remove
will need to find stuff that references the thing, maybe that could be exposed too?