constraint now part of the parameter symbol and not of the type
This commit is contained in:
parent
0834224070
commit
7171ae62cb
7 changed files with 25 additions and 21 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue