Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

shortdef adds redundant block #92

Open
ngphuoc opened this issue Aug 22, 2018 · 1 comment
Open

shortdef adds redundant block #92

ngphuoc opened this issue Aug 22, 2018 · 1 comment

Comments

@ngphuoc
Copy link

ngphuoc commented Aug 22, 2018

julia> ex = :(f(x,y) = x+y) |> striplines;

julia> for i=1:10
         global ex = @> ex longdef shortdef
         end

julia> ex
:(f(x, y) = begin
          begin
              begin
                  begin
                      begin
                          begin
                              begin
                                  begin
                                      begin
                                          begin
                                              begin
                                                  x + y
                                              end
                                          end
                                      end
                                  end
                              end
                          end
                      end
                  end
              end
          end
      end)
@cstjean
Copy link
Collaborator

cstjean commented Nov 2, 2018

This was fixed by #100, although we're still missing a test case.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants