fellshard
var x: String? = ... if(x != null) { // x is smart-cast inside this block to be of type String, not String? }