-
Notifications
You must be signed in to change notification settings - Fork 503
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
issues with functions? #28
Comments
Functions with empty parens were a bit tricky to implement. I had thought I had good enough tests to make sure that it worked, but evidently I missed a spot. Ought to be fixed as of 17f6df8, seems like I just returned the wrong thing from the codepath which handles empty parens. Sorry for the inconvenience! |
Woops, didn't mean to close. I'll let you verify that it works in your cases, first. |
Thank you for the quick fix! I confirmed that But there are other examples that still look funny:
|
This actually uncovered a bug with the parsing phase and minus sign that I'm surprised I hadn't found before now. This case ought to be fixed as of 89c296b, and for good measure I've added a battery of tests around how functions should work with various operators. Sorry for the churn on this one! Let me know if your cases work with that fix. |
My test cases all work now! Thank you! |
I wrote this function:
Executing
1+now()
works butnow()+1
yields "Unable to plan token kind: MODIFIER".More complex arithmetic expressions including now() trigger other errors.
The text was updated successfully, but these errors were encountered: