diff options
author | Araq <rumpf_a@web.de> | 2016-12-29 19:32:43 +0100 |
---|---|---|
committer | Araq <rumpf_a@web.de> | 2016-12-29 19:32:43 +0100 |
commit | 700c024e1366b3478934237e27ead75009ac0c41 (patch) | |
tree | e878d5d4cf30c26e4be2601c0ccc14ec5aa1a352 /compiler/semexprs.nim | |
parent | 4134240b42ff8fe91d898c3748f3bb6f22ea866a (diff) | |
download | Nim-700c024e1366b3478934237e27ead75009ac0c41.tar.gz |
fixes #5148
Diffstat (limited to 'compiler/semexprs.nim')
-rw-r--r-- | compiler/semexprs.nim | 2 |
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 = |