Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Windows - pressing a character throws exception #1

Closed
matkuki opened this issue Mar 19, 2020 · 5 comments
Closed

Windows - pressing a character throws exception #1

matkuki opened this issue Mar 19, 2020 · 5 comments

Comments

@matkuki
Copy link

matkuki commented Mar 19, 2020

Pressing any character other than ':' on the startup screen, throws this:

fatal.nim(49)            sysFatal
Error: unhandled exception: value out of range: 1 notin -2147483648 .. 2147483647 [RangeError]

Specs:

  • Windows 10 x64
  • Nim Devel
@oakes
Copy link
Member

oakes commented Mar 19, 2020

Is it only happening on devel for you? i'm on 1.0.6 with windows 10 and haven't seen that error.

@matkuki
Copy link
Author

matkuki commented Mar 19, 2020

I only use devel, yes. To be sure I rebuilt Nim again, but the exception persists.

@oakes
Copy link
Member

oakes commented Mar 19, 2020

Ok i reproduced it. I'm guessing this is a bug in devel, since 1 is most definitely between -2147483648 .. 2147483647. I'll try to see if i can track down a minimal example that throws the error.

@oakes
Copy link
Member

oakes commented Mar 19, 2020

I think i narrowed it down: nim-lang/Nim#13698

@oakes
Copy link
Member

oakes commented Mar 20, 2020

This is fixed on the latest devel.

@oakes oakes closed this as completed Mar 20, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants