From f70d967d2c313fc92ca864cbe856c55c40947aae Mon Sep 17 00:00:00 2001 From: Andreas Rumpf Date: Fri, 8 Dec 2017 23:31:06 +0100 Subject: [PATCH] fixes #6889 --- compiler/sighashes.nim | 3 +++ tests/ccgbugs/tuple_canon.nim | 15 +++++++++++++++ 2 files changed, 18 insertions(+) diff --git a/compiler/sighashes.nim b/compiler/sighashes.nim index e2032294af..5d6b5978d8 100644 --- a/compiler/sighashes.nim +++ b/compiler/sighashes.nim @@ -247,6 +247,9 @@ proc hashType(c: var MD5Context, t: PType; flags: set[ConsiderFlag]) = if tfNoSideEffect in t.flags: c &= ".noSideEffect" if tfThread in t.flags: c &= ".thread" if tfVarargs in t.flags: c &= ".varargs" + of tyArray: + c &= char(t.kind) + for i in 0..