Skip to content

fix: Pattern match Option value in alias variable #1266

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Jul 26, 2024
Merged

Conversation

volsa
Copy link
Member

@volsa volsa commented Jul 26, 2024

Fixes an issue where omitting a data-type in an alias variable would cause a panic in the parser. For example

FUNCTION main
    VAR
        s AT str; // omitted data-type
    END_VAR
END_FUNCTION

Fixes the parser where omitting a data-type in an alias would
cause a panic. For example

```
FUNCTION main
    VAR
        s AT str; // omitted data-type
    END_VAR
END_FUNCTION
```
@volsa volsa requested a review from mhasel July 26, 2024 07:26
@volsa volsa merged commit 1406d38 into master Jul 26, 2024
19 checks passed
@volsa volsa deleted the volsa/unwrap-fix branch July 26, 2024 07:38
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