Skip to content

Conversation

@mhasel
Copy link
Member

@mhasel mhasel commented Nov 11, 2025

Change error E040 from an error to a warning when assigning non-standard values to enum types. This allows code that uses enum values outside the defined variants to work, while still alerting developers to potentially problematic usage.

@mhasel mhasel requested a review from volsa November 11, 2025 14:22
Change error E040 from an error to a warning when assigning non-standard
values to enum types. This allows code that uses enum values
outside the defined variants to work, while still alerting
developers to potentially problematic usage.
@mhasel mhasel force-pushed the mihr/relax-enum-default-value-validation branch from a9a60f1 to 3048132 Compare November 11, 2025 14:33
@volsa
Copy link
Member

volsa commented Nov 13, 2025

(i hate it)

@mhasel mhasel merged commit aca5a52 into master Nov 15, 2025
23 checks passed
@mhasel mhasel deleted the mihr/relax-enum-default-value-validation branch November 15, 2025 12:20
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.

3 participants