Skip to content

Parser doesn't allow newlines before do in do blocks #458

Closed
@mdhirsch

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

Metadata

Assignees

Labels

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions