diff --git a/compiler/sigmatch.nim b/compiler/sigmatch.nim index 96dd44d766..5b0a5a339a 100644 --- a/compiler/sigmatch.nim +++ b/compiler/sigmatch.nim @@ -2455,7 +2455,7 @@ proc arrayConstr(c: PContext, n: PNode): PType = result = newTypeS(tyArray, c) rawAddSon(result, makeRangeType(c, 0, 0, n.info)) addSonSkipIntLit(result, skipTypes(n.typ, - {tyGenericInst, tyVar, tyLent, tyOrdinal}), c.idgen) + {tyVar, tyLent, tyOrdinal}), c.idgen) proc arrayConstr(c: PContext, info: TLineInfo): PType = result = newTypeS(tyArray, c)