Skip to content

Commit

Permalink
Update printer
Browse files Browse the repository at this point in the history
  • Loading branch information
kunli2 committed Nov 1, 2023
1 parent 0d34227 commit bb28ada
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ public class PsiTreePrinter {
private static KotlinIrTypeMapping irTypeMapping = new KotlinIrTypeMapping(new JavaTypeCache());

// Set to true to print types and verify, otherwise just verify the parse to print idempotent.
private final static boolean printTypes = true;
private final static boolean printTypes = false;

private final List<StringBuilder> outputLines;

Expand Down Expand Up @@ -360,7 +360,9 @@ private static String printTreeElement(Tree tree) {
|| tree instanceof J.If.Else
|| tree instanceof J.EnumValueSet
|| tree instanceof J.TypeParameter
|| tree instanceof K.ClassDeclaration
|| tree instanceof K.CompilationUnit
|| tree instanceof K.SpreadArgument
|| tree instanceof K.StatementExpression
|| tree instanceof K.KString
|| tree instanceof K.KString.Value
Expand Down

0 comments on commit bb28ada

Please sign in to comment.