julia-vscode / DocumentFormat.jl

Auto-formatter for Julia
Other
62 stars 18 forks source link

Parsing error with do block #125

Closed akosuas closed 3 years ago

akosuas commented 3 years ago
a = get!(d, k) do
   v
end

Putting the above in a file and trying to format it results in "Warning: Mismatch between AST of original and formatted text" and fails to format. I think it is a valid though.

I'm on 1.0.10 of the vscode extension.