uint and uint64 is Ordinal type since nim 1.0.0 (#15873)
This commit is contained in:
parent
3c85aa9e53
commit
5828620d47
1 changed files with 1 additions and 3 deletions
|
|
@ -883,9 +883,7 @@ Ordinal types have the following characteristics:
|
||||||
than the largest value produces a panic or a static error.
|
than the largest value produces a panic or a static error.
|
||||||
|
|
||||||
Integers, bool, characters, and enumeration types (and subranges of these
|
Integers, bool, characters, and enumeration types (and subranges of these
|
||||||
types) belong to ordinal types. For reasons of simplicity of implementation
|
types) belong to ordinal types.
|
||||||
the types ``uint`` and ``uint64`` are not ordinal types. (This will be changed
|
|
||||||
in later versions of the language.)
|
|
||||||
|
|
||||||
A distinct type is an ordinal type if its base type is an ordinal type.
|
A distinct type is an ordinal type if its base type is an ordinal type.
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue