Skip to content

Commit

Permalink
Fix null check in StringSharer
Browse files Browse the repository at this point in the history
  • Loading branch information
fergal-whyte authored and tvoc-gs committed Nov 28, 2024
1 parent 735ec44 commit 50c0dae
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -175,7 +175,7 @@ public void visitKotlinClassMetadata(
kotlinClassKindMetadata.className = kotlinClassKindMetadata.referencedClass.getName();
}

if (kotlinClassKindMetadata.referencedCompanionClass != null) {
if (kotlinClassKindMetadata.referencedCompanionField != null) {
kotlinClassKindMetadata.companionObjectName =
kotlinClassKindMetadata.referencedCompanionField.getName(clazz);
}
Expand Down

0 comments on commit 50c0dae

Please sign in to comment.