Skip to content

Don't warn enum comparison without args - #13047

Open
RblSb wants to merge 1 commit into
HaxeFoundation:developmentfrom
RblSb:enum-eq-without-args
Open

RblSb wants to merge 1 commit into
HaxeFoundation:developmentfrom
RblSb:enum-eq-without-args

Conversation

@RblSb

@RblSb RblSb commented Sep 18, 2026

Copy link
Copy Markdown
Member

I guess the only bad cases are foo == foo2 and foo == Some(1), while foo == Flat doesn't need to be warned.

See #10757

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.

1 participant