aboutsummaryrefslogtreecommitdiff
path: root/symbols/src/main/kotlin/process
diff options
context:
space:
mode:
authorLinnea Gräf <nea@nea.moe>2024-07-10 01:34:37 +0200
committerLinnea Gräf <nea@nea.moe>2024-07-10 03:14:55 +0200
commit986ce538f123cdec7e0da12ed89ba7225539df0a (patch)
treedd4a3448878c2af26be3bca81bbc8aa710bdc112 /symbols/src/main/kotlin/process
parent4e1cda1d64ce60719f6ff6e60c6af4881d81fdd2 (diff)
downloadFirmament-986ce538f123cdec7e0da12ed89ba7225539df0a.tar.gz
Firmament-986ce538f123cdec7e0da12ed89ba7225539df0a.tar.bz2
Firmament-986ce538f123cdec7e0da12ed89ba7225539df0a.zip
Add interactive storage overlay
Diffstat (limited to 'symbols/src/main/kotlin/process')
-rw-r--r--symbols/src/main/kotlin/process/SubscribeAnnotationProcessor.kt2
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
}