Skip to content

Bad UX when there is an implicit argument #39

@codyroux

Description

@codyroux

In, e.g.

inductive Total {α} : α → Prop where
| any a : Total a

derive_generator ∃ a, Total a

We get the following error:

?m.1 is expected to be a variable.

Ideally we'd create an implicit argument to the generator in this case, but a shorter term fix would be to make the error a bit more transparent, e.g.

(suggestion: use @Total instead of Total, and give all arguments)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions