FluxML / FluxML/MacroTools.jl

`shortdef` adds redundant block

Open
#92 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
Julia
Stars
320
Forks
84
PR merge metrics
No merged PRs in 30d

Description

```julia
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)

```

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.