Skip to content

Conversation

josevalim
Copy link
Member

Closes #14829
Closes #14830

Effectively reverts 7be008c with another fix. :)

escape_map_key_value(K, V, Map, Q) ->
MaybeRef = if
is_reference(V) -> V;
is_tuple(V) -> find_tuple_ref(V, 1);
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I removed this for now, since we added it exclusively for regexes. We can perhaps add it back but given it could also be inside lists and other places, not sure if it makes sense to special case it.

@josevalim josevalim merged commit dea8456 into v1.19 Oct 14, 2025
25 of 26 checks passed
@josevalim josevalim deleted the jv-escape-other branch October 14, 2025 11:05
@josevalim
Copy link
Member Author

💚 💙 💜 💛 ❤️

josevalim added a commit that referenced this pull request Oct 14, 2025
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.

1 participant