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

Mutual inductives with instance parameters #4310

Closed
3 tasks done
arthur-adjedj opened this issue May 30, 2024 · 0 comments · Fixed by #4342
Closed
3 tasks done

Mutual inductives with instance parameters #4310

arthur-adjedj opened this issue May 30, 2024 · 0 comments · Fixed by #4342
Labels
bug Something isn't working

Comments

@arthur-adjedj
Copy link
Contributor

Prerequisites

Please put an X between the brackets as you perform the following steps:

Description

Lean fails to elaborate mutual inductive type with instance parameters correctly.

Context

None

Steps to Reproduce

class Foo

mutual
  inductive Bar [Foo] where
  inductive Baz [Foo] where
end

Expected behavior: No error

Actual behavior: Error invalid mutually inductive types, parameter name mismatch 'inst._@._hyg.13', expected 'inst._@._hyg.11'

Versions

4.9.0-nightly-2024-05-30

Impact

Add 👍 to issues you consider important. If others are impacted by this issue, please ask them to add 👍 to it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant