adam-mcneilly
12/21/2016, 5:05 PMvar hash = if (address != null) address!!.hashCode() else 0
but I'm not entirely sure why smart cast won't work here. I just checked that address isn't null, why do I have to unwrap it? Am I doing this wrong, or is this just how I have to do it?