From 5cd2f6d6e6e3d57783903911664d14f56bca3e5f Mon Sep 17 00:00:00 2001 From: Jan Lahoda Date: Mon, 5 Aug 2024 11:46:33 +0200 Subject: [PATCH] Fixing tests. --- test/langtools/tools/javac/lib/DPrinter.java | 7 +++++++ 1 file changed, 7 insertions(+) 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); }