ExprMap produces expressions that are equals
but have different hashCode
#15227
Labels
equals
but have different hashCode
#15227
Compiler version
3.1.2, 3.1.3-RC3, 3.2.0-RC1-bin-20220517-e5abec0-NIGHTLY
Minimized code
The gist of the code is, that it uses an
ExprMap
to collect all subexpressions. It does that twice, and the compares the found expressions.then call the macro in another file with any expression, say
mac(1)
Output
Expectation
the expressions of the two runs are are equal, so the hashcodes should also be equal
The text was updated successfully, but these errors were encountered: