Merge branch 'devel' into uint-range-checks
This commit is contained in:
commit
ac6fcab7a4
18 changed files with 123 additions and 51 deletions
|
|
@ -1309,7 +1309,7 @@ proc typeAllowedAux(marker: var IntSet, typ: PType, kind: TSymKind,
|
|||
tyNone, tyForward, tyFromExpr:
|
||||
result = t
|
||||
of tyNil:
|
||||
if kind != skConst and kind != skParam and kind != skResult: result = t
|
||||
if kind != skConst and kind != skParam: result = t
|
||||
of tyString, tyBool, tyChar, tyEnum, tyInt..tyUInt64, tyCString, tyPointer:
|
||||
result = nil
|
||||
of tyOrdinal:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue