Closed
Description
Current Behaviour
The grammar currently parses these expressions incorrectly as function calls:
map.member
map.another_map.member
Note that calling a function like this is deprecated in the newest Elixir versions.
Parsed correctly but not highlighted as a function call:
function.()
Expected Behaviour
I think the grammar should parse/highlight as follows:
# Parse as member access or at least don't highlight as function calls:
map.member
map.another_map.member
# Always parse and highlight as function calls:
function.()
map.function()
Module.function
# Always highlight as a function call:
something |> function
Metadata
Metadata
Assignees
Labels
No labels