mirror of
https://github.com/roc-lang/roc.git
synced 2025-09-27 05:49:08 +00:00
Wrap import params expr so we can constrain later
This commit is contained in:
parent
dcb2767b6e
commit
674adf1fad
8 changed files with 68 additions and 14 deletions
|
@ -209,6 +209,7 @@ fn expr<'a>(c: &Ctx, p: EPrec, f: &'a Arena<'a>, e: &'a Expr) -> DocBuilder<'a,
|
|||
Var(sym, _) | ParamsVar { symbol: sym, .. } | AbilityMember(sym, _, _) => {
|
||||
pp_sym(c, f, *sym)
|
||||
}
|
||||
ImportParams(loc_expr, _) => expr(c, p, f, &loc_expr.value),
|
||||
When {
|
||||
loc_cond, branches, ..
|
||||
} => maybe_paren!(
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue