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

Force variables to be different in @varnames_interface #1850

Closed
wants to merge 1 commit into from

Conversation

lgoettgens
Copy link
Collaborator

Resolves #1761.

Do we consider this a breaking change to AA?

cc @mgkurtz

Copy link

codecov bot commented Oct 8, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 88.15%. Comparing base (c8aec15) to head (3b8beb0).
Report is 4 commits behind head on master.

Additional details and impacted files
@@           Coverage Diff           @@
##           master    #1850   +/-   ##
=======================================
  Coverage   88.15%   88.15%           
=======================================
  Files         119      119           
  Lines       30017    30052   +35     
=======================================
+ Hits        26460    26493   +33     
- Misses       3557     3559    +2     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@fingolfin
Copy link
Member

Of course it may break some existing code. But OscarCI is green. So personally I'd be fine declaring the use of multiple variables with identical names a "bug" and so this a fix.

We can talk about it during triage...

@lgoettgens
Copy link
Collaborator Author

@fingolfin and @wdecker will look at some intersection theory examples

@lgoettgens lgoettgens closed this Oct 9, 2024
@lgoettgens lgoettgens reopened this Oct 9, 2024
@fingolfin
Copy link
Member

fingolfin commented Oct 9, 2024

(I deleted this comment here and instead reposted it on issue #1761 to keep the discussion there. But in a nutshell I don't think we should go with this as it is)

Copy link
Member

@fingolfin fingolfin left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

See discussion on issue #1761

@lgoettgens lgoettgens closed this Oct 9, 2024
@lgoettgens lgoettgens deleted the lg/varnames-allunique branch October 9, 2024 21:55
@lgoettgens lgoettgens removed the triage label Oct 10, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

@varnames_interface: warn or even reject duplicate variable names?
2 participants