Skip to content

Commit

Permalink
Avoid calling printer when multi-file part class names contains it's …
Browse files Browse the repository at this point in the history
…own name
  • Loading branch information
James Hamilton committed Feb 2, 2024
1 parent 41c8a82 commit 17d4689
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -436,6 +436,8 @@ public void visitKotlinMultiFileFacadeMetadata(Clazz
indent();
for (String partClassName : kotlinMultiFileFacadeKindMetadata.partClassNames)
{
if (clazz.getName().equals(partClassName)) continue;

Clazz partClass = programClassPool.getClass(partClassName);
if (partClass != null)
{
Expand Down

0 comments on commit 17d4689

Please sign in to comment.