Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Missing symbols from getSymbolsWithAnnotation #2095

Open
tokazio opened this issue Sep 9, 2024 · 0 comments
Open

Missing symbols from getSymbolsWithAnnotation #2095

tokazio opened this issue Sep 9, 2024 · 0 comments

Comments

@tokazio
Copy link

tokazio commented Sep 9, 2024

I have a test case that was ok in kotlin 1.9.24 and compatible ksp

When upgrading to 2.0.20 it's not ok anymore

Given a data class

data class TestData(
  @FilteredField(read = PermissionScope.PRIVATE)
  var name: String? = ""

  override var description: String? = "",

): TestInterface

and its interface

interface TestInterface {
    @FilteredField(read = PermissionScope.SECRET)
    var description: String?
}

The description property from the interface is not in the result list of resolver.getSymbolsWithAnnotation("...FilteredField",false)

it seems ok with a 'normaly' generated file but KO with a ResolverAAImpl

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant