Commit 74909d7
authored
Make the equality executable in the scala shell
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.1 parent d481bef commit 74909d7
1 file changed
+1
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
143 | 143 | | |
144 | 144 | | |
145 | 145 | | |
146 | | - | |
| 146 | + | |
147 | 147 | | |
148 | 148 | | |
149 | 149 | | |
| |||
0 commit comments