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

Shortcut to print values of discarded symbols: fails on OSX, works on ubuntu #16

Closed
timotheecour opened this issue Jul 5, 2018 · 1 comment · Fixed by nim-lang/Nim#13489

Comments

@timotheecour
Copy link
Contributor

timotheecour commented Jul 5, 2018

ubuntu:

inim
INim 0.2.5
Nim Compiler Version 0.18.0 [Linux: amd64] at /home/ubuntu/.linuxbrew/bin/nim
>>> 1+1
2 : int literal(2)

OSX:

inim
INim 0.2.5
Nim Compiler Version 0.18.1 [MacOSX: amd64] at /Users/timothee/.nimble/bin/nim
>>> 1+1
Error: expression '2' is of type 'int literal(2)' and has to be discarded
  1+1
   ^
>>>
@timotheecour
Copy link
Contributor Author

found the root cause: nim-lang/Nim#8312 --hints:off doesn't work (doesn't override ~/.config/nim.cfg) #8312

timotheecour added a commit to timotheecour/INim that referenced this issue Jul 14, 2018
AndreiRegiani added a commit that referenced this issue Jul 14, 2018
fix issue #22 cmd line arg to set compiler and get help; fix issue #16
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

Successfully merging a pull request may close this issue.

1 participant