Skip to content

Conversation

@glopesdev
Copy link
Member

Following zzzprojects/System.Linq.Dynamic.Core#953, this is now a valid expression. There is still an unfortunate missing type inference step where the result will not be the original enum type, but at least for now we have a workaround.

Fixes #5

@glopesdev glopesdev added the fix Pull request that fixes an issue label Nov 29, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

fix Pull request that fixes an issue

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Adding integer literals to an enum is an invalid expression

1 participant