diff options
author | Linnea Gräf <nea@nea.moe> | 2024-07-10 01:34:37 +0200 |
---|---|---|
committer | Linnea Gräf <nea@nea.moe> | 2024-07-10 03:14:55 +0200 |
commit | 986ce538f123cdec7e0da12ed89ba7225539df0a (patch) | |
tree | dd4a3448878c2af26be3bca81bbc8aa710bdc112 /symbols/src/main/kotlin | |
parent | 4e1cda1d64ce60719f6ff6e60c6af4881d81fdd2 (diff) | |
download | firmament-986ce538f123cdec7e0da12ed89ba7225539df0a.tar.gz firmament-986ce538f123cdec7e0da12ed89ba7225539df0a.tar.bz2 firmament-986ce538f123cdec7e0da12ed89ba7225539df0a.zip |
Add interactive storage overlay
Diffstat (limited to 'symbols/src/main/kotlin')
-rw-r--r-- | symbols/src/main/kotlin/process/SubscribeAnnotationProcessor.kt | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/symbols/src/main/kotlin/process/SubscribeAnnotationProcessor.kt b/symbols/src/main/kotlin/process/SubscribeAnnotationProcessor.kt index be817ce..70491ab 100644 --- a/symbols/src/main/kotlin/process/SubscribeAnnotationProcessor.kt +++ b/symbols/src/main/kotlin/process/SubscribeAnnotationProcessor.kt @@ -81,7 +81,7 @@ class SubscribeAnnotationProcessor( continue } val parent = element.parentDeclaration - if (parent !is KSClassDeclaration || parent.isCompanionObject || parent.classKind != ClassKind.OBJECT) { + if (parent !is KSClassDeclaration || parent.classKind != ClassKind.OBJECT) { logger.error("@Subscribe on a non-object", element) continue } |