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

Error: type mismatch: got <int64> but expected 'uint8' #18

Open
cabhishek opened this issue Mar 16, 2018 · 1 comment
Open

Error: type mismatch: got <int64> but expected 'uint8' #18

cabhishek opened this issue Mar 16, 2018 · 1 comment

Comments

@cabhishek
Copy link

Trying to run example_http.nim but getting

.nimble/pkgs/reactor-0.4.4/reactor/ipaddress.nim(292, 17) Error: type mismatch: got <int64> but expected 'uint8'

Using

Nim Compiler Version 0.18.0 [MacOSX: amd64]
Copyright (c) 2006-2018 by Andreas Rumpf

git hash: 855956bf617f68ac0be3717329e9e1181e5dc0c6
active boot switches: -d:release
@zielmicha
Copy link
Owner

This was already fixed in HEAD (the problem was caused by changed integer promotion rules in Nim 0.18).
I've just made a new release contaning the fix.

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