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

Symbols and expressions need quoting when evaluating #35

Open
KristofferC opened this issue Mar 21, 2019 · 0 comments
Open

Symbols and expressions need quoting when evaluating #35

KristofferC opened this issue Mar 21, 2019 · 0 comments

Comments

@KristofferC
Copy link
Contributor

Consider

Breakpoint Hit: gg(x) in Main at /mnt/c/Users/Kristoffer/Debugging/file.jl:2 function gg(x)
     z = :foo
➧    b = "fdsf"
     q = Expr(:call, sin, 1)
     print(x)

Vars: x, z
Commands: CC (Continue), SI (Step In), SN (Step Next), SO (Step Out), XX (Abort)
iron>z
ERROR: UndefVarError: foo not defined

The problem is that :foo gets evaluated but it needs to be QuoteNode wrapped. See https://github.com/JuliaDebug/Debugger.jl/blob/8a64fd8ef98edf8fdc486900466274a83f9e3b8a/src/Debugger.jl#L72.

oxinabox pushed a commit that referenced this issue Mar 21, 2019
#39)

Define a method to disambiguiate eigen(Hermitian)

Fixes #35
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

1 participant