Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: store local context for 'don't know how to synthesize implicit argument' errors #5658

Merged
merged 1 commit into from
Oct 9, 2024

Commits on Oct 9, 2024

  1. fix: store local context for 'don't know how to synthesize implicit a…

    …rgument' errors
    
    When named arguments introduce eta arguments, the full application contains fvars for these eta arguments, so `MVarErrorKind.implicitArg` needs to keep a local context for its error messages. The local context of the mvar associated to the `MVarErrorKind` is not sufficient since when an eta argument come after an implicit argument, the implicit argument's mvar doesn't contain the eta argument's fvar in its local context.
    
    Closes leanprover#5475
    kmill committed Oct 9, 2024
    Configuration menu
    Copy the full SHA
    e8d358d View commit details
    Browse the repository at this point in the history