Skip to content

Commit

Permalink
Fixing tests.
Browse files Browse the repository at this point in the history
  • Loading branch information
lahodaj committed Aug 5, 2024
1 parent f1620d5 commit 5cd2f6d
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions test/langtools/tools/javac/lib/DPrinter.java
Original file line number Diff line number Diff line change
Expand Up @@ -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);
}
Expand Down

0 comments on commit 5cd2f6d

Please sign in to comment.