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

Expression does not parse any more 1.2.25 (works in 1.2.24) #675

Closed
jogibear9988 opened this issue Feb 14, 2023 · 5 comments
Closed

Expression does not parse any more 1.2.25 (works in 1.2.24) #675

jogibear9988 opened this issue Feb 14, 2023 · 5 comments
Assignees
Labels

Comments

@jogibear9988
Copy link
Contributor

jogibear9988 commented Feb 14, 2023

Here is what to include in your request to make sure we implement a solution as quickly as possible.

1. Description

I've the following expression:

"DateTime.UtcNow.AddHours(2).ToString(\"o\")"

it parses correctly in 1.2.24, but fails in 1.2.25

2. Exception

Unhandled exception. Enum type 'UtcNow' not found (at index 24)
Command terminated by signal 6

3. Fiddle or Project

https://dotnetfiddle.net/0GEix9

@StefH StefH self-assigned this Feb 14, 2023
@StefH
Copy link
Collaborator

StefH commented Feb 14, 2023

This is related to #670

@jogibear9988
Copy link
Contributor Author

@StefH Du you think it is a good Idea to change the default behavior? I think the Library is widely used and it would break many projects.

@StefH
Copy link
Collaborator

StefH commented Feb 14, 2023

@jogibear9988
I'm currently busy with other issues on this library, and will probably need to create a new minor version (1.3.x) because some other behavior also changes.

For this issue : I don't know yet, maybe I'll indeed revert the behavior back to 1.2.24

@StefH
Copy link
Collaborator

StefH commented Feb 14, 2023

#676

@jogibear9988
Copy link
Contributor Author

thx

@StefH StefH closed this as completed Feb 22, 2023
@StefH StefH added the bug label Feb 22, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Development

No branches or pull requests

2 participants