Skip to content

Uppercase type arguments don't work in inlined records #6759

Closed
@DZakh

Description

@DZakh
type_id_6<'T, 'E> = | Ok('T) | Err({payload: 'E})

It works for 'T, but not for 'E

Errors:

Did you mean `e` instead of `E`?
The type variable name '_ is not allowed in programs

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions