Skip to content

Conversation

@jonatanklosko
Copy link
Member

Once we parse

%{:key1 => 1, :key2 => 2}

the entries become [{:key1, 1}, {:key2, 2}] in the AST and there is no information about =>. This adds a assoc: [line: ..., column: ...] to the key AST nodes.

cc @mhanberg

@josevalim josevalim merged commit 5b221a5 into elixir-lang:main Nov 7, 2024
11 checks passed
@josevalim
Copy link
Member

💚 💙 💜 💛 ❤️

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