Skip to content

Do not reset quote level on calls in has_unquotes/2#15281

Closed
lukaszsamson wants to merge 1 commit into
elixir-lang:mainfrom
lukaszsamson:ls-fix-has-unquotes-nesting
Closed

Do not reset quote level on calls in has_unquotes/2#15281
lukaszsamson wants to merge 1 commit into
elixir-lang:mainfrom
lukaszsamson:ls-fix-has-unquotes-nesting

Conversation

@lukaszsamson
Copy link
Copy Markdown
Contributor

The bug was introduced in 146fb4e and missed in #12836
I'm not sure if it affects any valid code

@josevalim
Copy link
Copy Markdown
Member

You can add a test using this AST: unquote(x)()!

@josevalim
Copy link
Copy Markdown
Member

Merged with a test manually, thanks!

@josevalim josevalim closed this Apr 16, 2026
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