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 a503611 commit 2e95791Copy full SHA for 2e95791
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