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

eval function callable #759

Open
PlayfulMathematician opened this issue Oct 29, 2022 · 1 comment
Open

eval function callable #759

PlayfulMathematician opened this issue Oct 29, 2022 · 1 comment

Comments

@PlayfulMathematician
Copy link

PlayfulMathematician commented Oct 29, 2022

If I type

println(eval("2 + 2"))

Oh Noes say Eval can be Harmful.
But if type

a = eval
println(a("2 + 2"))

Then I get out 4. So clearly I can use eval without an error which is a BIG PROBLEM.

@bhavjitChauhan
Copy link

See #679.

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