Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
#2990: Do not check anything but the specified extra import types.
  • Loading branch information
Ben Zegveld authored and Ben Zegveld committed Aug 26, 2022
commit afea57de98464d2cc52505ce435e1a0d436aea5c
Original file line number Diff line number Diff line change
Expand Up @@ -225,7 +225,9 @@ public SortedSet<Type> getImportTypes() {
}

for ( Type extraImport : extraImportedTypes ) {
addIfImportRequired( importedTypes, extraImport );
if ( needsImportDeclaration( extraImport ) ) {
importedTypes.add( extraImport );
}
}

if ( constructor != null ) {
Expand Down