almost forgot

This commit is contained in:
Irmen de Jong 2023-12-28 20:39:27 +01:00
parent a0594cbce3
commit bcc4bf5c2b

View File

@ -37,7 +37,8 @@ sealed class Expression: Node {
is BinaryExpression ->
(other is BinaryExpression && other.operator==operator
&& other.left isSameAs left
&& other.right isSameAs right)
&& other.right isSameAs right
&& other.isChainedComparison() == isChainedComparison())
is ArrayIndexedExpression -> {
(other is ArrayIndexedExpression && other.arrayvar.nameInSource == arrayvar.nameInSource
&& other.indexer isSameAs indexer)