concepts: make codegen aware of 'tyInferred'

This commit is contained in:
Araq 2017-10-24 09:16:53 +02:00
commit 5258447e01
2 changed files with 2 additions and 2 deletions

View file

@ -119,7 +119,7 @@ proc scopeMangledParam(p: BProc; param: PSym) =
const
irrelevantForBackend = {tyGenericBody, tyGenericInst, tyGenericInvocation,
tyDistinct, tyRange, tyStatic, tyAlias}
tyDistinct, tyRange, tyStatic, tyAlias, tyInferred}
proc typeName(typ: PType): Rope =
let typ = typ.skipTypes(irrelevantForBackend)