Skip to content

Support for Overriding Primitive Type Conversion in Flee #114

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

Open
raphaelcr93 opened this issue Mar 15, 2025 · 0 comments
Open

Support for Overriding Primitive Type Conversion in Flee #114

raphaelcr93 opened this issue Mar 15, 2025 · 0 comments

Comments

@raphaelcr93
Copy link

I'm encountering the following error when trying to evaluate 1 > "4" using Flee:

CompareElement: Operation 'GreaterThan' is not defined for types 'Int32' and 'String'.

I don't want to modify the expression itself or wrap values with custom functions. Is there a way to override or control the primitive type conversion mechanism (e.g., int and string) in Flee, especially for operators like GreaterThan, without altering the expression syntax?

Would appreciate any suggestions or insights.

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