Closed
Description
I know it's a bit contrived but it can be an indicator of a bigger underlying issue.
When two strings with empty interpolations are together in one expression, they are being parsed with errors, but are perfectly fine from the Elixir's parser standpoint:
["#{}", "#{}"]
"#{}" <> "#{}"
[one: ~s"#{}", two: ~s"#{}"]
iex:
iex(21)> ["#{}", "#{}"]
["", ""]
iex(22)> "#{}" <> "#{}"
""
iex(23)> [one: ~s"#{}", two: ~s"#{}"]
[one: "", two: ""]
Metadata
Metadata
Assignees
Labels
No labels