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

Not AOT safe #1

Open
uurha opened this issue Oct 1, 2020 · 3 comments
Open

Not AOT safe #1

uurha opened this issue Oct 1, 2020 · 3 comments

Comments

@uurha
Copy link

uurha commented Oct 1, 2020

Code in NumericFuncExpression class is not AOT safe for Unity 2019.4.1f.

@uurha
Copy link
Author

uurha commented Oct 1, 2020

This example https://github.com/dahomey-technologies/Dahomey.ExpressionEvaluator#parse-a-numeric-expression-with-function-access , not working with IL2CPP baking in case if you want to use standard Math functions you need to specify them in "UnaryExpression()" and "TryScanName()" methods, "Operator" and "TokenType" enums, and in "NumericArithmeticExpression" class.

@uurha
Copy link
Author

uurha commented Oct 1, 2020

I can create pull request if needed.

@mcatanzariti
Copy link
Member

@uurha yes please

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