support for accessing the inferred concept type params with the dot operator

This commit is contained in:
Zahary Karadjov 2016-07-29 18:12:05 +03:00
commit eab1d0cc02
6 changed files with 24 additions and 7 deletions

View file

@ -447,7 +447,7 @@ proc replaceTypeVarsTAux(cl: var TReplTypeVars, t: PType): PType =
of tyUserTypeClass:
result = t
of tyGenericInst:
of tyGenericInst, tyUserTypeClassInst:
bailout()
result = instCopyType(cl, t)
idTablePut(cl.localCache, t, result)