# Union type widening

**URL:** <https://contributors.scala-lang.org/t/union-type-widening/1069>\
**Category:** Language Design\
**Created:** [August 28, 2017, 5:18am UTC](https://contributors.scala-lang.org/t/union-type-widening/1069 "2017-08-28T05:18:38Z")\
**Posts on this page:** 1\
**Showing post:** 13

<div class="post-metadata">

**Author:** ![NthPortal](https://contributors.scala-lang.org/user_avatar/contributors.scala-lang.org/nthportal/32/1845_2.png) [@NthPortal](https://contributors.scala-lang.org/u/NthPortal)\
**Post date:** [August 28, 2017, 7:04pm UTC](https://contributors.scala-lang.org/t/union-type-widening/1069/13 "2017-08-28T19:04:09Z")

</div>

The following comment (as well as the rest of his reply) might be helpful.

> [@What's the status of union/intersection types + singleton types in Dotty?](https://contributors.scala-lang.org/t/whats-the-status-of-union-intersection-types-singleton-types-in-dotty/289/6):
>
> For nested if-then-elses or multiple branch match expressions the size of the type would grow linearly.

---

_[View the full topic](https://contributors.scala-lang.org/t/union-type-widening/1069)._
