diff options
author | Andreas Rumpf <rumpf_a@web.de> | 2017-11-02 15:39:44 +0100 |
---|---|---|
committer | Andreas Rumpf <rumpf_a@web.de> | 2017-11-02 15:39:44 +0100 |
commit | 30b098fcafbcf6d6f228a51decc533f38458d232 (patch) | |
tree | 08c1859c54dec081b5c6d60fe94c597867932983 /compiler/semstmts.nim | |
parent | 1ae5ba253628b7bfa570283b844cd01d993c0089 (diff) | |
download | Nim-30b098fcafbcf6d6f228a51decc533f38458d232.tar.gz |
wip
Diffstat (limited to 'compiler/semstmts.nim')
-rw-r--r-- | compiler/semstmts.nim | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/semstmts.nim b/compiler/semstmts.nim index 540ef4c07..f747b9b41 100644 --- a/compiler/semstmts.nim +++ b/compiler/semstmts.nim @@ -1004,7 +1004,7 @@ proc checkForMetaFields(n: PNode) = case t.kind of tySequence, tySet, tyArray, tyOpenArray, tyVar, tyPtr, tyRef, tyProc, tyGenericInvocation, tyGenericInst, tyAlias: - let start = ord(t.kind in {tyGenericInvocation, tyGenericInst}) + let start = int ord(t.kind in {tyGenericInvocation, tyGenericInst}) for i in start ..< t.sons.len: checkMeta(t.sons[i]) else: |