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

Default static math functions with more than one parameter bug #2

Closed
aangiel opened this issue Mar 27, 2020 · 1 comment
Closed

Default static math functions with more than one parameter bug #2

aangiel opened this issue Mar 27, 2020 · 1 comment
Assignees
Labels
bug Something isn't working

Comments

@aangiel
Copy link
Owner

aangiel commented Mar 27, 2020

There is a problem in https://github.com/aangiel/rpn-calculator/blob/master/src/main/java/io/github/aangiel/rpn/context/AbstractCalculatorContext.java#L91

It always takes one argument from stack, even if static math functions, taken with reflection, has more arguments.

@aangiel aangiel added the bug Something isn't working label Mar 27, 2020
@aangiel aangiel self-assigned this Mar 27, 2020
aangiel added a commit that referenced this issue Mar 27, 2020
@aangiel
Copy link
Owner Author

aangiel commented Mar 27, 2020

Resolved in commit 1d8cb9e

@aangiel aangiel closed this as completed Mar 27, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant