Closed FroMage closed 9 years ago
Originally reported by @jvasileff at https://github.com/ceylon/ceylon-compiler/issues/2277
OK, so my guess is that this is a new bug that has arisen because there is now a principal instantiation of Summable
for Integer|Float
. Before, the typechecker could not form the type Summable<out Integer|Float>
, but now it can and does.
Fixed!
I guess this is valid code:
Similar with:
and: