Skip to content

No Enum flag in the enum value type when mixing with some trait #16008

Closed
@plokhotnyuk

Description

@plokhotnyuk

Having definition:

trait MyMarker

enum MyEnum(val value: String):
  case Marked extends MyEnum("marked") with MyMarker

I got Flags.EmptyFlags instead of Flags.Enum in the following call for:

TypeRepr.of[Marked].typeSymbol.flags

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions