diff options
author | cooldome <ariabushenko@gmail.com> | 2020-11-09 18:24:32 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-11-09 19:24:32 +0100 |
commit | 338602a4021771c8a1cbcedfe30738c67b957646 (patch) | |
tree | b8adade922b9477b8b62ae2ac3acb3ba679cb037 /compiler | |
parent | c1664f93b0024b558ff359f13ab6cd2e6c1b5cc7 (diff) | |
download | Nim-338602a4021771c8a1cbcedfe30738c67b957646.tar.gz |
fix #15825 (#15894)
* fix #15825 * better fix
Diffstat (limited to 'compiler')
-rw-r--r-- | compiler/semtypes.nim | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/semtypes.nim b/compiler/semtypes.nim index f111f6308..5feb25a59 100644 --- a/compiler/semtypes.nim +++ b/compiler/semtypes.nim @@ -1056,7 +1056,7 @@ proc liftParamType(c: PContext, procKind: TSymKind, genericParams: PNode, # disable the bindOnce behavior for the type class result = recurse(paramType.base, true) - of tyAlias, tyOwned: + of tyAlias, tyOwned, tySink: result = recurse(paramType.base) of tySequence, tySet, tyArray, tyOpenArray, |