oskaritimperi / nimpb

Protocol Buffers for Nim
MIT License
37 stars 6 forks source link

Error: overloaded 'parseInt' leads to ambiguous calls #4

Closed timotheecour closed 5 years ago

timotheecour commented 6 years ago
git clone https://github.com/oswjk/nimpb
cd nimpb
nimble install
/Users/timothee/git_clone/nim/nimpb/nimpb/json.nim(100, 6) Error: overloaded 'parseInt' leads to ambiguous calls

WORKAROUND: commented out parseInt in nimpb/nimpb/json.nim EDIT: that doesn't work with nimble run_conformance_tests

oskaritimperi commented 6 years ago

Which version of nim is this with? I'm using latest stable release and haven't noticed. But yeah, some procs could be renamed a bit.

MikeEmery commented 5 years ago

I get this error on nim 0.19

oskaritimperi commented 5 years ago

Yeah, I'll look into testing nimpb with 0.19 some day now. Have been on vacation so haven't had the time. :-)

oskaritimperi commented 5 years ago

Okay. Had some time to check this out. Could you check if the code in the PR works for you?

timotheecour commented 5 years ago

it does, thanks! please merge :)

MikeEmery commented 5 years ago

Works for me too 👍