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 when using eval(parse(ans)) #50

Closed
sbacelar opened this issue Jun 30, 2019 · 2 comments
Closed

Error when using eval(parse(ans)) #50

sbacelar opened this issue Jun 30, 2019 · 2 comments

Comments

@sbacelar
Copy link

When I use eval(parse(ans)) in JuliaBox or Juno I get:

MethodError: no method matching parse(::Int64)
Closest candidates are:
  parse(!Matched::Type{LibGit2.GitCredential}, !Matched::AbstractString) at /buildworker/worker/package_linux64/build/usr/share/julia/stdlib/v1.0/LibGit2/src/gitcredential.jl:73
  parse(!Matched::Type{LibGit2.GitCredentialHelper}, !Matched::AbstractString) at /buildworker/worker/package_linux64/build/usr/share/julia/stdlib/v1.0/LibGit2/src/gitcredential.jl:163
  parse(!Matched::Type{Sockets.IPv4}, !Matched::AbstractString) at /buildworker/worker/package_linux64/build/usr/share/julia/stdlib/v1.0/Sockets/src/IPAddr.jl:166
  ...

Stacktrace:
 [1] top-level scope at In[4]:1
@sbacelar
Copy link
Author

OK, I found that eval(Meta.parse(ans)) works.

@xorJane
Copy link
Contributor

xorJane commented Jul 1, 2019 via email

@NHDaly NHDaly closed this as completed in aaee3a9 Jan 3, 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