Skip to content

Commit aa29cbf

Browse files
Alexander Shturmmeta-codesync[bot]
authored andcommitted
Reformat tooling, client, and service helper call sites
Summary: Reformats tooling, client, and service-helper call sites across `util`, `erlclient`, `wa_ctl_lib`, and related helper modules where the trailing list argument was already multiline. The one-argument-per-line layout makes the new code easier to scan and improves readability without changing behavior. Reviewed By: thepulkitagarwal Differential Revision: D98205537 fbshipit-source-id: 9b5f40cdb30c2803a8fb47a009a3d16c50900d77
1 parent 30311f2 commit aa29cbf

1 file changed

Lines changed: 7 additions & 4 deletions

File tree

‎src/wa_assert_parse_trans.erl‎

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -224,10 +224,13 @@ desugar_short_circuit(Expr, Line, StartN) ->
224224
'andalso' -> {erl_syntax:atom(true), erl_syntax:atom(false)};
225225
'orelse' -> {erl_syntax:atom(false), erl_syntax:atom(true)}
226226
end,
227-
CaseExpr = erl_syntax:case_expr(LhsResultVar, [
228-
erl_syntax:clause([EvalPat], none, RhsEvalBody),
229-
erl_syntax:clause([SkipVal], none, [erl_syntax:tuple([SkipVal, erl_syntax:list([])])])
230-
]),
227+
CaseExpr = erl_syntax:case_expr(
228+
LhsResultVar,
229+
[
230+
erl_syntax:clause([EvalPat], none, RhsEvalBody),
231+
erl_syntax:clause([SkipVal], none, [erl_syntax:tuple([SkipVal, erl_syntax:list([])])])
232+
]
233+
),
231234
CaseBinding = erl_syntax:match_expr(
232235
erl_syntax:tuple([BoolResultVar, RhsEntriesVar]),
233236
CaseExpr

0 commit comments

Comments
 (0)