Skip to content

Conversation

iselind
Copy link
Contributor

@iselind iselind commented Jun 21, 2019

When I run the following I get an error.

scala> 1.to(10) == 1 to 10
<console>:12: error: value to is not a member of Boolean
       1.to(10) == 1 to 10

The expected result should be

scala> 1.to(10) == (1 to 10)
res5: Boolean = true

in my opinion.

When I run the following I get an error.
```
scala> 1.to(10) == 1 to 10
<console>:12: error: value to is not a member of Boolean
       1.to(10) == 1 to 10
```
The expected result should be
```
scala> 1.to(10) == (1 to 10)
res5: Boolean = true
```
in my opinion.
@julienrf julienrf merged commit 904ab9e 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