Skip to content

Conversation

@vlemann
Copy link
Contributor

@vlemann vlemann commented Feb 20, 2025

The solution that seems to fix the exceeded guard stack is to use plain old good defmacro/2 instead of defguard/2. This should hopefully fix #7

This PR obsoletes #8

@kipcole9 kipcole9 merged commit 545ad9a into elixir-unicode:master Feb 20, 2025
@kipcole9
Copy link
Contributor

Truly appreciated, thank you very much. Will publish a new hex version in the next hour or so.

🥳🥳🥳🥳🥳

kipcole9 added a commit that referenced this pull request Feb 20, 2025
@kipcole9
Copy link
Contributor

I've published ex_uncode_guards version 1.0.1 with the following changelog entry:

Bug Fixes

  • Use defmacro instead of defguard for some guards to avoid implementation limits on OTP 27. Issue to be explored further upstream with Elixir and OTP. THanks to @vlemann for the PR, greatly appreciated. Closes Use defmacro/2 to define a guard #9.

Thanks very much again for the PR.

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.

Compilation error - An implementation limit was reached

2 participants