Skip to content
This repository has been archived by the owner on Dec 11, 2020. It is now read-only.

Preserve parameter's metatables #31

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open

Conversation

bbblitz
Copy link

@bbblitz bbblitz commented Jul 14, 2020

If parameters with metatables are passed to :execute(), preserve the metatables in the parameters passed to the matched function. This may solve some cases of #29 .

Alexander Pickering added 2 commits July 14, 2020 18:01
Set the metatables when merging to allow objects with methods in
the routed functions.
Add a unit test to make sure metatables are preserved when called
the routed function.
@lalawue
Copy link

lalawue commented Jul 21, 2020

If parameters with metatables are passed to :execute(), preserve the metatables in the parameters passed to the matched function. This may solve some cases of #29 .

it works, thanks.

@bbblitz
Copy link
Author

bbblitz commented Aug 22, 2020

Great! So can I get merged?

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants