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

Lean: union_variant_names test fails #1144

Open
protoben opened this issue Mar 11, 2025 · 1 comment
Open

Lean: union_variant_names test fails #1144

protoben opened this issue Mar 11, 2025 · 1 comment
Labels
Lean Issues with Sail to Lean translation

Comments

@protoben
Copy link
Collaborator

protoben commented Mar 11, 2025

The union_variant_names Lean test fails with the following message:

error: ././././Out.lean:111:12: ambiguous, possible interpretations
  _root_.n4 : Type

  n4.n4 : _root_.n4
error: Lean exited with code 1
@protoben protoben added the Lean Issues with Sail to Lean translation label Mar 11, 2025
@Alasdair
Copy link
Collaborator

I think this is because the constructor shares the same name as the type.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Lean Issues with Sail to Lean translation
Projects
None yet
Development

No branches or pull requests

2 participants