diff --git a/test/langtools/tools/javac/lib/DPrinter.java b/test/langtools/tools/javac/lib/DPrinter.java index 6fa2f17dc67a5..1e05e71f27b6d 100644 --- a/test/langtools/tools/javac/lib/DPrinter.java +++ b/test/langtools/tools/javac/lib/DPrinter.java @@ -1343,6 +1343,13 @@ public Void visitMethodType(MethodType type, Void ignore) { return visitType(type, null); } + @Override + public Void visitPatternType(PatternType type, Void ignore) { + printList("bindingtypes", type.bindingtypes); + printType("restype", type.restype, Details.FULL); + return visitType(type, null); + } + public Void visitModuleType(ModuleType type, Void ignore) { return visitType(type, null); }