Skip to content

Rectified to is not a member of Boolean error #69

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

Merged
merged 1 commit into from
Nov 5, 2019
Merged

Rectified to is not a member of Boolean error #69

merged 1 commit into from
Nov 5, 2019

Conversation

amitsingh-10
Copy link
Contributor

Due to the order of evaluation,
1.to(10) == 1 gets evaluated to False
and the expression becomes
False to 10

Instead evaluation should be
1.to(10) == (1 to 10)

Due to the order of evaluation, 
1.to(10) == 1 gets evaluated to False
and the expression becomes
False to 10
@julienrf julienrf merged commit 0712ed3 into scala-exercises:master Nov 5, 2019
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

Successfully merging this pull request may close these issues.

2 participants