Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow tref to pass through encode/2 #184

Merged
merged 3 commits into from
Sep 27, 2024

Conversation

davydog187
Copy link
Collaborator

There are times when a tref may be passed to Erlang/Elixir, and then we want to return it as-is (or modified) to the emulator. Currently, this will fail when Luerl tries to re-encode the value.

Instead, we should just pass through these values as is

davydog187 added a commit to tv-labs/lua that referenced this pull request Sep 27, 2024
There are times when a `tref` may be passed to Erlang/Elixir, and then
we want to return it as-is (or modified) to the emulator. Currently,
this will fail when Luerl tries to re-encode the value.

Instead, we should just pass through these values as is
@rvirding rvirding merged commit 5b2687f into rvirding:develop Sep 27, 2024
9 checks passed
davydog187 added a commit to tv-labs/lua that referenced this pull request Oct 3, 2024
Before, a `deflua` function couldn't get a tref value and then return it
as is. This was fixed in rvirding/luerl#184
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants