diff --git a/compiler/ast/trees.nim b/compiler/ast/trees.nim index 187162bc138e8..24473ece70656 100644 --- a/compiler/ast/trees.nim +++ b/compiler/ast/trees.nim @@ -97,7 +97,6 @@ makeTreeEquivalenceProc(exprStructuralEquivalentStrictSymAndComm, relaxedKindCheck = false, symCheck = a.sym == b.sym, floatCheck = sameFloatIgnoreNan(a.floatVal, b.floatVal), - typeCheck = true, typeCheck = a.typ == b.typ, commentCheck = a.comment == b.comment )