Skip to content

Conversation

@mhasel
Copy link
Member

@mhasel mhasel commented Dec 4, 2025

Previously, the following example would panic during compilation:

        TYPE State : (Idle := 0, Running = 1);
        END_TYPE

Changes how enum elements are being parsed. We are now no longer just parsing any expression as an expression list, but look for specific enum syntax.

Co-authored-by: BipulLamsai

@mhasel mhasel changed the title fix: panbic when using equality rather than assignment operator in enum defnition fix: panic when using equality rather than assignment operator in enum defnition Dec 4, 2025
@mhasel mhasel marked this pull request as ready for review December 4, 2025 14:07
@mhasel mhasel requested a review from volsa December 4, 2025 14:07
@mhasel mhasel closed this Dec 5, 2025
@mhasel mhasel reopened this Dec 5, 2025
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