Skip to content

Commit

Permalink
ok
Browse files Browse the repository at this point in the history
  • Loading branch information
domluna committed Sep 25, 2024
1 parent 9e20b13 commit fbca9bd
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 7 deletions.
7 changes: 1 addition & 6 deletions src/styles/default/pretty.jl
Original file line number Diff line number Diff line change
Expand Up @@ -857,12 +857,7 @@ function p_functiondef(
s.indent -= s.opts.indent
elseif kind(c) === K"call"
n = pretty(style, c, s, newctx(ctx; can_separate_kwargs = false), lineage)
add_node!(
t,
n,
s,
join_lines = true,
)
add_node!(t, n, s, join_lines = true)
else
add_node!(t, pretty(style, c, s, ctx, lineage), s, join_lines = true)
end
Expand Down
3 changes: 2 additions & 1 deletion test/default_style.jl
Original file line number Diff line number Diff line change
Expand Up @@ -2638,7 +2638,8 @@
str = "Val(x) = (@_pure_meta; Val{x}())"
@test fmt("Val(x) = (@_pure_meta ; Val{x}())", 4, 80) == str

# TODO: fix this
# TODO: if this ends up being a issue fix it but it doesn't seem
# like it actually occurs in the wild.
# str = "(a; b; c)"
# @test fmt("(a;b;c)", 4, 100) == str
# str = """
Expand Down

0 comments on commit fbca9bd

Please sign in to comment.