mirror of
https://github.com/roc-lang/roc.git
synced 2025-08-03 03:42:17 +00:00
Pretty-print opaque refs
This commit is contained in:
parent
09bf599642
commit
5a1898b285
1 changed files with 9 additions and 1 deletions
|
@ -385,7 +385,15 @@ fn expr<'a>(c: &Ctx, p: EPrec, f: &'a Arena<'a>, e: &'a Expr) -> DocBuilder<'a,
|
|||
),
|
||||
Crash { .. } => todo!(),
|
||||
ZeroArgumentTag { .. } => todo!(),
|
||||
OpaqueRef { .. } => todo!(),
|
||||
OpaqueRef { name, argument, .. } => maybe_paren!(
|
||||
Free,
|
||||
p,
|
||||
|| true,
|
||||
pp_sym(c, f, *name)
|
||||
.append(f.space())
|
||||
.append(expr(c, AppArg, f, &argument.1.value))
|
||||
.group()
|
||||
),
|
||||
Dbg { .. } => todo!(),
|
||||
Expect { .. } => todo!(),
|
||||
ExpectFx { .. } => todo!(),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue