summary refs log tree commit diff stats
path: root/compiler/semexprs.nim
diff options
context:
space:
mode:
authorAraq <rumpf_a@web.de>2016-12-29 19:32:43 +0100
committerAraq <rumpf_a@web.de>2016-12-29 19:32:43 +0100
commit700c024e1366b3478934237e27ead75009ac0c41 (patch)
treee878d5d4cf30c26e4be2601c0ccc14ec5aa1a352 /compiler/semexprs.nim
parent4134240b42ff8fe91d898c3748f3bb6f22ea866a (diff)
downloadNim-700c024e1366b3478934237e27ead75009ac0c41.tar.gz
fixes #5148
Diffstat (limited to 'compiler/semexprs.nim')
-rw-r--r--compiler/semexprs.nim2
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/semexprs.nim b/compiler/semexprs.nim
index 45d973d86..54a301322 100644
--- a/compiler/semexprs.nim
+++ b/compiler/semexprs.nim
@@ -903,7 +903,7 @@ proc makeDeref(n: PNode): PNode =
 
 const
   tyTypeParamsHolders = {tyGenericInst, tyCompositeTypeClass}
-  tyDotOpTransparent = {tyVar, tyPtr, tyRef}
+  tyDotOpTransparent = {tyVar, tyPtr, tyRef, tyAlias}
 
 proc readTypeParameter(c: PContext, typ: PType,
                        paramName: PIdent, info: TLineInfo): PNode =