so, smart casts might be a little too smart. The c...
# announcements
g
so, smart casts might be a little too smart. The code
Copy code
fun something(){
  
  x as SomeSpecificType

  //even though the result of the cast isnt assigned to a variable
  //smart casting means you can treat `x` as an instance of SomeSpecificType
}