Skip to content

Support qualifieres in multibinds map keys and set elements.  #409

@evant

Description

@evant

As part of #253 we expect to support placing a qualifier on a typealias as a replacement to using the typealias is a qualifier directly, ex: typealias MyString = @Named("name") String. Right now this causes and issue with multibinds as you can't use in the Map or Set type.

abstract val myStringMap: Map<MyString, String>

runs into

e: [ksp] Qualifier: @Named(value=MyString) can only be applied to the outer type

Since we treat these Map and Set here specially we can support the nested qualifier in these cases

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions