disable dot borrow temporary
This commit is contained in:
parent
e5c352fde2
commit
7ce536423a
|
@ -37,19 +37,16 @@ type
|
|||
limbs*: array[bits.wordsRequired, Word]
|
||||
# Limbs-Endianess is little-endian
|
||||
|
||||
when (NimMajor, NimMinor) < (1,9):
|
||||
type
|
||||
StInt*[bits: static[int]] = object
|
||||
## Stack-based integer
|
||||
## Signed
|
||||
limbs*: array[bits.wordsRequired, Word]
|
||||
else:
|
||||
type
|
||||
StInt*[bits: static[int]] {.borrow: `.`.} = distinct StUint[bits]
|
||||
## Stack-based integer
|
||||
## Signed
|
||||
StInt*[bits: static[int]] = object
|
||||
## Stack-based integer
|
||||
## Signed
|
||||
limbs*: array[bits.wordsRequired, Word]
|
||||
|
||||
# {.borrow: `.`.} only works with nim-devel
|
||||
# StInt*[bits: static[int]] {.borrow: `.`.} = distinct StUint[bits]
|
||||
## Stack-based integer
|
||||
## Signed
|
||||
|
||||
type
|
||||
Carry* = uint8 # distinct range[0'u8 .. 1]
|
||||
Borrow* = uint8 # distinct range[0'u8 .. 1]
|
||||
|
||||
|
|
Loading…
Reference in New Issue