Enable range checking for unsigned integers (#11313)

* Enable range checking for unsigned integers

* Make the tests green
This commit is contained in:
Oscar Nihlgård 2019-05-25 20:48:13 +02:00 • committed by Andreas Rumpf
commit 3a06022071
5 changed files with 24 additions and 7 deletions

View file

@ -45,6 +45,7 @@
- A bug allowed `macro foo(): int = 123` to compile even though a
macros has to return a `NimNode`. This has been fixed.
- With the exception of `uint` and `uint64`, conversion to unsigned types are now range checked during runtime.
#### Breaking changes in the standard library