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

Compilation error with eval #563

Closed
slozier opened this issue Dec 7, 2018 · 0 comments
Closed

Compilation error with eval #563

slozier opened this issue Dec 7, 2018 · 0 comments

Comments

@slozier
Copy link
Contributor

slozier commented Dec 7, 2018

ipy -X:CompilationThreshold 0 -c "eval('3.14')" raises an exception

ValueError: Expression of type 'System.Double' cannot be used for label of type 'System.Object'

Not sure if it's a DLR issue, for example:

LightExceptions.Rewrite(Expression.Constant(3.14, typeof(double))).Reduce();

or an issue with eval which is not properly boxing its output?

slozier added a commit to slozier/dlr that referenced this issue Apr 4, 2019
slozier added a commit to slozier/dlr that referenced this issue Apr 4, 2019
slozier added a commit to slozier/ironpython2 that referenced this issue Apr 5, 2019
slozier added a commit that referenced this issue Apr 8, 2019
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