-
-
Notifications
You must be signed in to change notification settings - Fork 1.5k
Closed
Labels
Description
I'm on the latest commit on devel.
Example
let n: csize = 1
echo n.clong
Current Output
C:\Users\sekao\Documents\nim_errors\src\nim_errors.nim(2) nim_errors
C:\Users\sekao\Documents\Nim\lib\system\fatal.nim(49) sysFatal
Error: unhandled exception: value out of range: 1 notin -2147483648 .. 2147483647 [RangeError]
Expected Output
1
Additional Information
- I'm on Windows 10 x64
- This only happens on devel; works fine on nim 1.0.6
$ nim -v
Nim Compiler Version 1.1.1 [Windows: amd64]
Compiled at 2020-03-19
Copyright (c) 2006-2019 by Andreas Rumpf
git hash: 034dad8e321edcf6cf88a2ad93fceafae267cc74
active boot switches: -d:release