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

[regression] ./koch tests: Error: overloaded 'readFile' leads to ambiguous calls (with ~/.config/nim/config.nims) #9120

Closed
timotheecour opened this issue Sep 29, 2018 · 6 comments

Comments

Projects
None yet
3 participants
@timotheecour
Copy link
Contributor

commented Sep 29, 2018

./koch tests r tests/stdlib/tbitops.nim
system/sysio.nim(388, 6) Error: overloaded 'readFile' leads to ambiguous calls

Note: ./koch tests r fails with every file I tried
I'm on OSX

EDIT this happens only when ~/.config/nim/config.nims exists (even if it's empty)

@jangko

This comment has been minimized.

Copy link
Contributor

commented Sep 29, 2018

cannot reproduce on windows, wsl, osx

@timotheecour

This comment has been minimized.

Copy link
Contributor Author

commented Sep 29, 2018

/cc @jangko
tested it on a fresh repo using latest devel:
git rev-parse HEAD
2dfd09b

what revision did you use?

@Araq

This comment has been minimized.

Copy link
Member

commented Sep 29, 2018

The CIs are green too and run koch tests.

@jangko

This comment has been minimized.

Copy link
Contributor

commented Sep 30, 2018

what revision did you use?

2dfd09b

@timotheecour timotheecour changed the title [regression] ./koch tests: Error: overloaded 'readFile' leads to ambiguous calls [regression] ./koch tests: Error: overloaded 'readFile' leads to ambiguous calls (with ~/.config/nim/config.nims) Sep 30, 2018

@timotheecour

This comment has been minimized.

Copy link
Contributor Author

commented Sep 30, 2018

@Araq @jangko after investigation this happens only when ~/.config/nim/config.nims exists (even if empty) ; I updated top-level msg

@Araq Araq added the Regression label Oct 1, 2018

@Araq

This comment has been minimized.

Copy link
Member

commented Oct 1, 2018

Told you I hate the config system. ;-)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.