Skip to content

Fix enum : flag starting from 2#217

Open
k9ur wants to merge 1 commit intographitemaster:mainfrom
k9ur:enum-flag-fix
Open

Fix enum : flag starting from 2#217
k9ur wants to merge 1 commit intographitemaster:mainfrom
k9ur:enum-flag-fix

Conversation

@k9ur
Copy link
Copy Markdown

@k9ur k9ur commented Jan 8, 2026

enum : flag was multiplying the first value (1) by 2 before setting, rather than after.
Hence enum : flag values started from 2 instead of 1.
Fixed this by incrementing afterwards.

enum : flag was multiplying the first value (1) before setting, rather than after.
Hence enum : flag values started from 2 instead of 1.
Fixed this by incrementing afterwards.
@Blub
Copy link
Copy Markdown
Collaborator

Blub commented Jan 15, 2026

@graphitemaster the commit introducing this and the test case specifically start at 2...
Is this syntax used in anything or was it just an idea of yours, because this change has regression potential...

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.

2 participants