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

Resolved issue with unary minus! #23

Merged
merged 1 commit into from
Feb 5, 2021
Merged

Resolved issue with unary minus! #23

merged 1 commit into from
Feb 5, 2021

Conversation

Vlek
Copy link
Owner

@Vlek Vlek commented Feb 5, 2021

Resolved the issue where the unary minus was not working. Was due
to it not being implemented in the correct order of operations and
also some special logic needing to be added to the evaluator. The
problem is that the operator at the point that we're checking is no
longer a string but a function and I was checking against the string.

resolves #22

Resolved the issue where the unary minus was not working. Was due
to it not being implemented in the correct order of operations and
also some special logic needing to be added to the evaluator. The
problem is that the operator at the point that we're checking is no
longer a string but a function and I was checking against the string.
@Vlek Vlek added the bug Something isn't working label Feb 5, 2021
@Vlek Vlek added this to the 2.0 milestone Feb 5, 2021
@Vlek Vlek self-assigned this Feb 5, 2021
@Vlek Vlek merged commit d7b2126 into master Feb 5, 2021
@Vlek Vlek deleted the unary_minus branch February 5, 2021 05:28
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

Successfully merging this pull request may close these issues.

Unary minus operator does not work
1 participant