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

duplicate definition names not detected in mutual block #6694

Open
3 tasks done
cppio opened this issue Jan 19, 2025 · 0 comments
Open
3 tasks done

duplicate definition names not detected in mutual block #6694

cppio opened this issue Jan 19, 2025 · 0 comments
Labels
bug Something isn't working

Comments

@cppio
Copy link
Contributor

cppio commented Jan 19, 2025

Prerequisites

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

Steps to Reproduce

mutual

def foo := ()

def foo := ()

end

Expected behavior: An error saying that foo is defined twice.

Actual behavior: No error.

Versions

Lean 4.16.0-nightly-2025-01-18
Lean 4.0.0-m1

Impact

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

@cppio cppio added the bug Something isn't working label Jan 19, 2025
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

No branches or pull requests

1 participant