Skip to content

Compare modes semantically instead of literally#29300

Merged
mohammadfawaz merged 2 commits intomasterfrom
IGI-111/29288
Apr 6, 2026
Merged

Compare modes semantically instead of literally#29300
mohammadfawaz merged 2 commits intomasterfrom
IGI-111/29288

Conversation

@IGI-111
Copy link
Copy Markdown
Collaborator

@IGI-111 IGI-111 commented Apr 6, 2026

Add logic to compare modes semantically to avoid erroring on comparing a lack of mode (which defaults to private) to an explicit private mode.

Fixes #29288

Add logic to compare modes semantically to avoid erroring on
comparing a lack of mode (which defaults to private) to an explicit
private mode.

Fixes #29288
@IGI-111 IGI-111 requested a review from a team April 6, 2026 13:23
@IGI-111 IGI-111 self-assigned this Apr 6, 2026
Copy link
Copy Markdown
Collaborator

@mohammadfawaz mohammadfawaz left a comment

Choose a reason for hiding this comment

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

LGTM!

@mohammadfawaz mohammadfawaz added bug Something isn't working 🧱 Core Compiler Anything related to the core compiler including parsing, analysis, transforms, codegen, etc. labels Apr 6, 2026
@mohammadfawaz mohammadfawaz merged commit c9109eb into master Apr 6, 2026
7 checks passed
@mohammadfawaz mohammadfawaz deleted the IGI-111/29288 branch April 6, 2026 17:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working 🧱 Core Compiler Anything related to the core compiler including parsing, analysis, transforms, codegen, etc.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Bug] Interfaces don't assume function inputs are private by default

2 participants