Skip to content

feat: improve inference for logic operators#302

Merged
withered-magic merged 2 commits intomainfrom
withered-magic/improve-logic-op-inference
Nov 8, 2024
Merged

feat: improve inference for logic operators#302
withered-magic merged 2 commits intomainfrom
withered-magic/improve-logic-op-inference

Conversation

@withered-magic
Copy link
Owner

@withered-magic withered-magic commented Nov 8, 2024

Fixes: #301

This PR partially improves type inference for and and or expressions by better handling cases where the operators are non-bool types.

@withered-magic withered-magic force-pushed the withered-magic/improve-logic-op-inference branch from 10ab2ab to 48b33d6 Compare November 8, 2024 19:11
@withered-magic withered-magic changed the title fix: improve inference for logic operators feat: improve inference for logic operators Nov 8, 2024
@withered-magic withered-magic merged commit 79f47e1 into main Nov 8, 2024
@withered-magic withered-magic deleted the withered-magic/improve-logic-op-inference branch November 8, 2024 19:50
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.

Argument of type "bool" cannot be assigned to parameter of type "string"

1 participant