Skip to content

MirroredMonoType for curried type lambda has wrong kind #14025

Closed
@bishabosha

Description

@bishabosha

Compiler version

3.1.0

Minimized code

summon[deriving.Mirror.Product { type MirroredType = [X] =>> [Y] =>> (X, Y) }]

Output

1 |summon[deriving.Mirror.Product { type MirroredType = [X] =>> [Y] =>> (X, Y) }]
  |                                                                              ^
  |error overriding type MirroredMonoType in trait Mirror with bounds;
  |  type MirroredMonoType, which equals [Y] =>> (?, Y) has incompatible type

Expectation

MirroredMonoType should be collapsed to (?, ?), rather than [Y] =>> (?, Y)

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions