Skip to content

Conversation

WyoTwT
Copy link
Contributor

@WyoTwT WyoTwT commented Dec 13, 2023

The total removal of parenthesis removes casting parenthesis and breaks potential watch expressions so this cleanup should be removed.
Instead of calling getFullPathExpression() multiple times, built the fullPath from the topLevelExpression variable.
In the case of Expressions, add encapsulating parenthesis to handle type casting properly.
Update casting tests accordingly.

Add test to catch error when casting a variable to another type
The total removal of parenthesis removes casting
parenthesis and breaks potential watch expressions so
this cleanup should be removed.
Instead of calling getFullPathExpression() multiple times,
build the fullPath from the topLevelExpression variable.
In the case of Expressions, add encapsulating parenthesis
to handle type casting properly.
Update variable casting tests accordingly.
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.

1 participant