implemented 'guard' annotation
This commit is contained in:
parent
4800acf6ab
commit
7916b1f9aa
21 changed files with 267 additions and 123 deletions
|
|
@ -1271,7 +1271,7 @@ proc computeSizeAux(typ: PType, a: var BiggestInt): BiggestInt =
|
|||
#internalError("computeSizeAux()")
|
||||
result = szUnknownSize
|
||||
typ.size = result
|
||||
typ.align = int(a)
|
||||
typ.align = int16(a)
|
||||
|
||||
proc computeSize(typ: PType): BiggestInt =
|
||||
var a: BiggestInt = 1
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue