lampepfl/dotty — pull request #238 by odersky (2014-11-21 15:06:02+00:00)
Title: Fix/bounds propagation v2

Adds full bounds propagation and fixes quite a few other problems that were detected in the progress. Review by @retronym please.

Note: The encoding of parameterized types as refinement types requires bounds propagation for dotty. It's not optional, nor can it be restricted to pattern matching. In fact, there's nothing to propagate. Instead, when comparing refined types, we always need to take all bindings into account, which gives us bounds propagation for free.