8000 [KSP2] Class literal annotation default values resolve to error types · Issue #1910 · google/ksp · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content
[KSP2] Class literal annotation default values resolve to error types #1910
Closed
@FooIbar

Description

@FooIbar

Similar to #1842

annotation class Destination<T: Annotation>(
    val route: String = COMPOSABLE_NAME,
    val start: Boolean = false,
    val navArgs: KClass<*> = Nothing::class,
    val deepLinks: Array<DeepLink> = [],
    val style: KClass<out DestinationStyle> = DestinationStyle.Default::class,
    val wrappers: Array<KClass<out DestinationWrapper>> = [],
    val visibility: CodeGenVisibility = CodeGenVisibility.PUBLIC
)

navArgs is correctly resolved in 1.0.21, but style still fails.

Repro: https://github.com/FooIbar/compose-destinations/tree/repro

./gradlew sample:kspDebugKotlin

Metadata

Metadata

Assignees

Labels

P1major features or blocking bugsbugSomething isn't working

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions

    0