Ceylon compiler rejects String-only operations in else branch after `is String` check
Narrowing not applied in the else branch I have a Ceylon function whose parameter has the union type String|Integer . My understanding of the language specification is that flow-sensitive typing should narrow the value inside an if (is String val) branch to String , and in the else branch to the complement type (here, Integer ). I am trying to rely on that c