Parser doesn't allow newlines before do
in do blocks #458
Closed
Description
This function shows as having an error in the editor, though it runs fine:
def foo do
with a = 1
do
IO.puts a
end
end
It shows two errors: one at the "do" after the "with", and another at the final "end".
The Structure view in intellij can also get messed up by this error.
I am using plugin 4.4.0 in Intellij 2016.2.4