diff options
author | Araq <rumpf_a@web.de> | 2016-11-14 23:18:30 +0100 |
---|---|---|
committer | Araq <rumpf_a@web.de> | 2016-11-14 23:18:30 +0100 |
commit | e6c5622aa74c1014b022071d9d525a0e13805246 (patch) | |
tree | fe50571aaf2f34ec7f36fb1068b5f3ffbd97250d /compiler/semtypinst.nim | |
parent | b234b082b60e57ec07a380599b6b7a311026d0ed (diff) | |
download | Nim-e6c5622aa74c1014b022071d9d525a0e13805246.tar.gz |
removed tyArrayConstr completely from the compiler; introduced tyAlias instead in preparation for further bugfixes
Diffstat (limited to 'compiler/semtypinst.nim')
-rw-r--r-- | compiler/semtypinst.nim | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/semtypinst.nim b/compiler/semtypinst.nim index b42d58474..a2626ffe4 100644 --- a/compiler/semtypinst.nim +++ b/compiler/semtypinst.nim @@ -459,7 +459,7 @@ proc replaceTypeVarsTAux(cl: var TReplTypeVars, t: PType): PType = var r = replaceTypeVarsT(cl, result.sons[i]) if result.kind == tyObject: # carefully coded to not skip the precious tyGenericInst: - let r2 = r.skipTypes({tyGenericInst}) + let r2 = r.skipTypes({tyGenericInst, tyAlias}) if r2.kind in {tyPtr, tyRef}: r = skipTypes(r2, {tyPtr, tyRef}) result.sons[i] = r |