Commit 56cb7ea
committed
fix autoconversion bug
attention with autoconversions around `Option[Int]` and similar:
```
scala> Option(null: Integer)
val res0: Option[Integer] = None
scala> val o: Option[Int] = Option(null: Integer)
val o: Option[Int] = Some(0)
scala> val o: Option[Int] = Option(null: Integer).asInstanceOf[Option[Int]]
val o: Option[Int] = None
```1 parent 1b07d78 commit 56cb7ea
1 file changed
+1
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1826 | 1826 | | |
1827 | 1827 | | |
1828 | 1828 | | |
1829 | | - | |
| 1829 | + | |
1830 | 1830 | | |
1831 | 1831 | | |
1832 | 1832 | | |
| |||
0 commit comments