google / google/ksp

[KSP2] KSPropertyDeclaration.getter is empty for property that is duplicated in two parent interfaces

Open
#2,420 2 comments 0 reactions 1 assignee Claimed by @jaschdoc View on GitHub
analysis-api bug core P3
Dominant language
Kotlin
Stars
3.5k
Forks
415
Avg merge
1d 2h
Merged PRs (30d)
53

Description

```
class TestClass

interface Deps1 {
val testClass: TestClass
}

interface Deps2 {
val testClass: TestClass
}

interface Root: Deps1, Deps2
```

In that case `getter` of `testClass` property is null, while in KSP1 it returns actual getter.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.