Skip to content

Adding nil check for Rule Call Expression#1351

Merged
oreflow merged 1 commit intomainfrom
fixing-empty-build-expr
Apr 10, 2025
Merged

Adding nil check for Rule Call Expression#1351
oreflow merged 1 commit intomainfrom
fixing-empty-build-expr

Conversation

@oreflow
Copy link
Collaborator

@oreflow oreflow commented Apr 10, 2025

Rules can currently be created with Call.X(Expr) set to nil, which results in the code panicking. Checking for this error and using the type default for position if there is no other value defined.

Fixes bug introduced in #1342

Rules can currently be created with CallExpr set to nil, which results in the code panicking. Checking for this error and using the type default if there is no other value defined.
@oreflow oreflow merged commit f37c35d into main Apr 10, 2025
5 checks passed
@oreflow oreflow deleted the fixing-empty-build-expr branch April 10, 2025 14:48
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