Skip to content
Snippets Groups Projects
Commit d4967adb authored by Manos Koukoutos's avatar Manos Koukoutos
Browse files

When debugging trees, print all units

parent a6223ef4
No related branches found
No related tags found
No related merge requests found
...@@ -402,7 +402,7 @@ class PrettyPrinter(opts: PrinterOptions, ...@@ -402,7 +402,7 @@ class PrettyPrinter(opts: PrinterOptions,
// Definitions // Definitions
case Program(units) => case Program(units) =>
p"""${nary(units filter { _.isMainUnit }, "\n\n")}""" p"""${nary(units filter { opts.printUniqueIds || _.isMainUnit }, "\n\n")}"""
case UnitDef(id,pack, imports, defs,_) => case UnitDef(id,pack, imports, defs,_) =>
if (pack.nonEmpty){ if (pack.nonEmpty){
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment