Skip to content

Conversation

sabiwara
Copy link
Contributor

Small improvement following #14720.

Applying the same shallow-validation we use for unquote to fail early and provide better feedback if Macro.escape returns obviously broken AST (e.g. forgot to use quote).

Will backport.

@sabiwara sabiwara merged commit 032d566 into elixir-lang:main Aug 31, 2025
13 checks passed
@sabiwara sabiwara deleted the shallow-validate-escape branch August 31, 2025 06:50
@sabiwara
Copy link
Contributor Author

Backported ✅

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

2 participants