chore: use dummy pretty printer for now

This commit is contained in:
Leonardo de Moura 2019-11-21 08:39:07 -08:00
parent e197021946
commit 06cf5bf3fe

View file

@ -48,8 +48,8 @@ partial def formatAux : Option (Environment × MetavarContext × LocalContext)
| _, ofSyntax s => s.formatStx
| _, ofLevel u => fmt u
| _, ofName n => fmt n
| none, ofExpr e => "<expr>"
| some (env, mctx, lctx), ofExpr e => "<expr>" -- TODO: invoke pretty printer
| none, ofExpr e => format (toString e)
| some (env, mctx, lctx), ofExpr e => format (toString e) -- TODO: invoke pretty printer
| _, context env mctx lctx d => formatAux (some (env, mctx, lctx)) d
| ctx, tagged cls d => Format.sbracket (format cls) ++ " " ++ formatAux ctx d
| ctx, nest n d => Format.nest n (formatAux ctx d)