diff options
author | Araq <rumpf_a@web.de> | 2012-12-05 01:39:49 +0100 |
---|---|---|
committer | Araq <rumpf_a@web.de> | 2012-12-05 01:39:49 +0100 |
commit | 7171ae62cb94bf5e7ed426ec0679e4247c993121 (patch) | |
tree | 8ef7a60bbc6608d90e066fe3919947d18da3a410 /compiler/ast.nim | |
parent | 08342240709690f81286aea207a037348e46f635 (diff) | |
download | Nim-7171ae62cb94bf5e7ed426ec0679e4247c993121.tar.gz |
constraint now part of the parameter symbol and not of the type
Diffstat (limited to 'compiler/ast.nim')
-rwxr-xr-x | compiler/ast.nim | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/ast.nim b/compiler/ast.nim index f4ba1ef70..82a20c312 100755 --- a/compiler/ast.nim +++ b/compiler/ast.nim @@ -624,6 +624,7 @@ type loc*: TLoc annex*: PLib # additional fields (seldom used, so we use a # reference to another object to safe space) + constraint*: PNode # additional constraints like 'lit|result' TTypeSeq* = seq[PType] TType* = object of TIdObj # types are identical iff they have the @@ -650,7 +651,6 @@ type align*: int # the type's alignment requirements containerID*: int # used for type checking of generics loc*: TLoc - constraint*: PNode # additional constraints like 'lit|result' TPair*{.final.} = object key*, val*: PObject |