switch x { case true: # implicit fallthrough case null: 0 # no fallthrough default: 1 }