We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent fa1d1cb commit 6546e6dCopy full SHA for 6546e6d
semanticdb-kotlinc/src/main/kotlin/com/sourcegraph/semanticdb_kotlinc/AnalyzerCheckers.kt
@@ -280,7 +280,7 @@ open class AnalyzerCheckers(session: FirSession) : FirAdditionalCheckersExtensio
280
281
val klass = declaration.returnTypeRef.toClassLikeSymbol(context.session)
282
val klassSource = declaration.returnTypeRef.source
283
- if (klass != null && klassSource != null) {
+ if (klass != null && klassSource != null && klassSource.kind !is KtFakeSourceElementKind) {
284
visitor?.visitClassReference(klass, getIdentifier(klassSource), context)
285
}
286
0 commit comments